all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug when fontifying cc-mode
@ 2005-08-26  3:39 Karl Chen
  2005-08-26  7:18 ` Alan Mackenzie
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Chen @ 2005-08-26  3:39 UTC (permalink / raw)



Applies to emacs CVS HEAD; does not apply to emacs 21.3.

Steps to reproduce:

emacs -q /tmp/a.c

insert the following string (without quotes):

"
//
//

//
//

"

(There must be at least one blank line at the beginning, between
the double-comment lines, and at the end.)

M-x font-lock-fontify-buffer


Lisp error: (error "Point after end of properties")
  forward-comment(5)
  c-find-decl-spots( ... )
  c-font-lock-declarations(24)
  font-lock-fontify-keywords-region(1 24 t)
  font-lock-default-fontify-region(1 24 t)
  font-lock-fontify-region(1 24 t)
  byte-code( ... )
  font-lock-default-fontify-buffer()
  font-lock-fontify-buffer()

Fforward_comment hasn't changed in 5 years.

-- 
Karl 2005-08-25 20:38

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

end of thread, other threads:[~2005-08-26 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26  3:39 bug when fontifying cc-mode Karl Chen
2005-08-26  7:18 ` Alan Mackenzie
2005-08-26 10:38   ` Karl Chen
2005-08-26 15:43   ` Stefan Monnier
2005-08-26 21:33     ` Nick Roberts

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.