unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* CC mode bug in branch
@ 2008-02-29 18:19 Chong Yidong
  2008-03-01  8:39 ` Eli Zaretskii
  2008-03-01  9:31 ` Alan Mackenzie
  0 siblings, 2 replies; 4+ messages in thread
From: Chong Yidong @ 2008-02-29 18:19 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: emacs-devel

Alan,

2008-02-25  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
	typing "#" at EOB.

This introduced a serious bug into CC mode on the branch.  To
reproduce,

1. emacs -Q emacs/src/xdisp.c
2. /*

This triggers an error: "Invalid search bound (wrong side of point)"

With debug-on-error on:

Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")
  search-forward-regexp("^\\s *#\\s *" 3 t)
  c-neutralize-syntax-in-CPP(2 3 0)
  c-after-change(2 3 0)
  self-insert-command(1)
  c-electric-star(nil)
  call-interactively(c-electric-star)

Please fix this ASAP, thanks.




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

end of thread, other threads:[~2008-03-01  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 18:19 CC mode bug in branch Chong Yidong
2008-03-01  8:39 ` Eli Zaretskii
2008-03-01  9:31 ` Alan Mackenzie
2008-03-01  9:53   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).