From: "Drew Adams" <drew.adams@oracle.com>
Subject: two-pixel trace left when move overlay
Date: Sat, 1 Apr 2006 11:24:31 -0800 [thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBIEEGDAAA.drew.adams@oracle.com> (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
next reply other threads:[~2006-04-01 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-01 19:24 Drew Adams [this message]
2006-04-23 22:49 ` two-pixel trace left when move overlay 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MEEKKIABFKKDFJMPIOEBIEEGDAAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.