emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[make-mode.el] Infinite loop


From: Ralf Angeli
Subject: [make-mode.el] Infinite loop
Date: Mon, 30 May 2005 19:22:04 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Suppose you have a Makefile with the following contents:

FOO = bar \
        xxx/xxx.xx xxx/xxx.xx

If you put the cursor at the start of the second line and type
`M-: (looking-at makefile-dependency-regex) RET' Emacs will enter an
infinite loop.

I noticed this while trying to generate a change log entry for such a
Makefile by doing `C-x v =' and typing `C-x 4 a' with the point on the
changed line in the diff buffer.  Then `makefile-add-log-defun' will
be called which includes the `looking-at' statement mentioned above.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-05-30 on neutrino
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Makefile

Minor modes in effect:
  semantic-idle-scheduler-mode: t
  desktop-save-mode: t
  display-time-mode: t
  iswitchb-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
x x <right> <up> M-: <up> <return> <down> <left> SPC 
x x x / x x x . x x <right> <up> M-: <up> <return> 
C-g q <down> <down> <down> <down> <up> <up> C-k C-n 
C-k <up> M-: <up> <return> q <up> <return> <up> F O 
O SPC = SPC b a r SPC \ <right> <tab> C-d <backspace> 
<tab> <delete> <delete> <delete> x x x <right> <delete> 
<delete> <delete> x x x <up> <right> M-: <up> <return> 
q <down> <down> <down> <down> C-x C-s <up> <up> C-SPC 
<down> <down> <down> M-w M-x r e p o r <tab> <retu
rn>

Recent messages:
Deleted tags: (FOO)
Auto-saving...done
Semantic parse changes failed: "Unhandled change group"
Force full reparse (Makefile) [2 times]
Entering debugger...
Back to top level.
Update Tag Table: FOO
Wrote /home/angeli/Makefile
Mark set
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]