Hi !

  I got an  error with some C indentation in  macro definitions in GNU
 Emacs 22.0.50.34 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
 2006-03-02.

  Error is triggered by:

  With emacs -Q :
  In scratch, insert the following:

#foo :\
bar

  Toggle to c-mode, and try to indent the last line.

  I get: Invalid search bound (wrong side of point).

  Backtrace is:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of 
point)")
  re-search-forward("[[:?;{=*/%&|,<>[EMAIL PROTECTED]" 6647 t)
  (progn (setq search-pos (point)) (re-search-forward regexp bound noerror))
  (and (progn (setq search-pos ...) (re-search-forward regexp bound noerror)) 
(progn (setq state ... state-pos ...) (if ... ... ...) (cond ... ... ... ... 
... ... ... ...)) (or (/= search-pos ...) (if ... ... ... t)))
  (while (and (progn ... ...) (progn ... ... ...) (or ... ...)))
  (let ((start ...) tmp search-pos state (state-pos ...) check-pos check-state 
(last-token-end-pos ...) found) (while (and ... ... ...)) (if found (progn ... 
...) (if ... ... ...) nil))
  c-syntactic-re-search-forward("[[:?;{=*/%&|,<>[EMAIL PROTECTED]" 6647 t t)
  c-forward-label(nil 6592 6647)
  c-forward-label()
  c-guess-basic-syntax()
  c-indent-line()
  ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  Bye.

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |   )\._.,--....,'``.
123 av. de Fontainebleau | 08.70.65.13.14 |  /.  _.. \   _\  (` ._,.
94270 Le Kremlin Bicetre | 06.23.20.31.30 | '._.-(,_..'--(,_...`-..'

Attachment: pgp4Uo4tzskR6.pgp
Description: PGP signature

_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to