[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Excessive highlighting of overlay with display property

From: Ralf Angeli
Subject: Excessive highlighting of overlay with display property
Date: Sat, 19 Feb 2005 20:54:24 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)


(let (ov)
  (insert "\n\nxxx")
  (setq ov (make-overlay (line-beginning-position) (point)))
  (overlay-put ov 'mouse-face 'highlight)
  (overlay-put ov 'display "yyy"))

into the *scratch* buffer and typing `C-x C-e' with point at the last
parenthesis, you will see the string "yyy" further below.  If you
hover with the mouse pointer over it, not only the string will be
highlighted (which is what I expected) but also the line above the

(I don't know if this is related, but some time ago I reported a bug
concerning partial highlighting of a wrapped overlay (see
According to src/ChangeLog I think it was fixed on 2005-01-18.  Maybe
the fix has something to do with it?)

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.6.2)
 of 2005-02-19 on neutrino
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  iswitchb-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
i o n ) <right> <right> <right> <right> <C-backspace> 
( p o i n t ) <down> <down> C-x C-e q C-_ <down> <down> 
<down> <up> <left> <left> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> " " <left> y y 
y <right> <right> <right> C-x C-e C-: C-_ <up> <up> 
<up> <left> <left> <left> <left> <left> \ n <down> 
<down> <down> <down> <down> <down> <left> C-x C-e C-_ 
<right> <up> <return> <return> <return> <up> <up> <up> 
<left> ) C-x C-e C-_ C-_ C-_ C-_ C-_ <down> <left> 
<right> <down> M-x r e p o r t - e m <tab> <return

Recent messages:
Entering debugger...
Back to top level.
Undo! [5 times]
Loading emacsbug...done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]