all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mouse-face hightlighting fails with inserted unicode
@ 2008-02-11 15:15 Stephen Berman
  2008-02-11 17:40 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Berman @ 2008-02-11 15:15 UTC (permalink / raw)
  To: emacs-devel

With Emacs 22.1, 23.0.50 and 23.0.60:

1. emacs -Q
2. Type some characters, e.g. "aa".
3. M-: (put-text-property (point-min) (point-max) 'mouse-face 'highlight)
4. Run the mouse over "aa" and see the highlighting over each character.
5. Type another character; now the buffer displays e.g. "aba", and still
all characters show mouse-face highlighting.
6. Delete the "b" and type M-: (insert (format "%s" "\x62"))
   => Now the buffer again displays "aba", but "b" does not show
   mouse-face highlighting.
7. Delete the "b" and type M-x ucs-insert RET 62 RET
   => Again the buffer again displays "aba" and "b" does not show
   mouse-face highlighting.





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

end of thread, other threads:[~2008-02-11 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11 15:15 mouse-face hightlighting fails with inserted unicode Stephen Berman
2008-02-11 17:40 ` Stefan Monnier
2008-02-11 19:11   ` Stephen Berman

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.