all messages for Emacs-related lists mirrored at yhetil.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 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.