all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange font-lock/invisible/intangible bug
@ 2003-01-22 18:01 Damien Elmes
  2003-01-22 19:20 ` Stefan Monnier
  2003-01-23 11:38 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Damien Elmes @ 2003-01-22 18:01 UTC (permalink / raw)


Hello,

I've been trying to debug some weird behavior with emacs-wiki.el on
the nearly-latest CVS (as of about a week ago). emacs-wiki.el uses font-lock
mode to convert a string of the form "*foo*" to bold, in the process
propertizing the "*"s as invisible and intangible.

Now, there is a difficult to reproduce bug in the latest CVS which wasn't
around in previous emacs releases. Sometimes (maybe 1 in 20 times?), when
typing "*foo* ", point is suddenly moved to the line below. Infact, not just
space, but any command - Even C-x =, which you'd expect to show no character
(as I'm at the end of the buffer), instead says "C-j" in the minibuffer and
point is suddenly moved to the start of the next line. Repeating C-x = now
indicates that there's no character on point.

The other strange thing is that pressing backspace a few times and repeating
the same key combination results in it working. But if you undo the previous
line instead, and type it again, the strange behavior results.

Does anyone have a 'hunch' on where this bug might be, or any tips on how I
might debug where this is going on? My C knowledge is somewhat rusty.

Regards,
-- 
Damien Elmes

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

end of thread, other threads:[~2003-01-23 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-22 18:01 Strange font-lock/invisible/intangible bug Damien Elmes
2003-01-22 19:20 ` Stefan Monnier
     [not found]   ` <200301231301.WAA08276@etlken.m17n.org>
2003-01-23 14:58     ` Damien Elmes
2003-01-23 16:54   ` Stefan Monnier
2003-01-23 11:38 ` Richard Stallman

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.