all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* two-pixel trace left when move overlay
@ 2006-04-01 19:24 Drew Adams
  2006-04-23 22:49 ` Kim F. Storm
  0 siblings, 1 reply; 6+ messages in thread
From: Drew Adams @ 2006-04-01 19:24 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

I have an overlay in buffer *Completions* to highlight the current candidate
during cycling of candidates in the minibuffer. I use this code to
reposition the overlay:

(if (symbol-value overlay)
      (move-overlay (symbol-value overlay) start end buffer)
    (set overlay (make-overlay start end buffer))
    (overlay-put (symbol-value overlay) 'face face))

In Emacs 20, 21, and a CVS snapshot of June 26, 2005, this works OK. In a
CVS snapshot of 2006-03-20, when I move the overlay, a two-pixel (I believe)
trace is left behind. See attached screenshots.

[-- Attachment #2: bug-emacs-22-Completions-pixel.jpg --]
[-- Type: image/jpeg, Size: 198824 bytes --]

[-- Attachment #3: bug-emacs-22-Completions-pixel-closeup.jpg --]
[-- Type: image/jpeg, Size: 67082 bytes --]

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-04-24 16:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 19:24 two-pixel trace left when move overlay Drew Adams
2006-04-23 22:49 ` Kim F. Storm
2006-04-23 22:58   ` Drew Adams
2006-04-24  3:26   ` Eli Zaretskii
2006-04-24 10:45   ` Jason Rumney
2006-04-24 16:37     ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.