GNU bug report logs -
#11238
24.0.95; eval-buffer and load hangup problem
Previous Next
Reported by: Atsuo Ohki <ohki <at> gssm.otsuka.tsukuba.ac.jp>
Date: Fri, 13 Apr 2012 16:20:02 UTC
Severity: normal
Found in version 24.0.95
Fixed in version 24.1
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11238 in the body.
You can then email your comments to 11238 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11238
; Package
emacs
.
(Fri, 13 Apr 2012 16:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Atsuo Ohki <ohki <at> gssm.otsuka.tsukuba.ac.jp>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 13 Apr 2012 16:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
A file, which has illformed file local variable specification
like "; -*-", makes eval-buffer and load functions hangup.
an exit condition of lisp_file_lexically_bound_p(src/lread.c) is
not enough.
--- src/lread.c-ORIG Tue Mar 6 19:59:20 2012
+++ src/lread.c Fri Apr 13 16:54:03 2012
@@ -839,7 +839,7 @@
}
/* Stop scanning if no colon was found before end marker. */
- if (!in_file_vars)
+ if (!in_file_vars || ch == '\n' || ch == EOF) /* XXXX */
break;
while (i > 0 && (var[i - 1] == ' ' || var[i - 1] == '\t'))
In GNU Emacs 24.0.95.1 (i486-ibm-freebsd6.2, X toolkit, Xaw3d scroll bars)
of 2012-04-13 on sma
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
Configured using:
`configure 'i486-ibm-freebsd6.2'
'--srcdir=/usr/src/local/GNU/emacs/emacs-24.0.95' '--with-x'
'--x-includes=/usr/local/X11R6/include'
'--x-libraries=/usr/local/X11R6/lib' '--with-x-toolkit=lucid'
'--without-xim' '--without-xpm' '--without-jpeg' '--without-tiff'
'--without-gif' '--without-png' 'build_alias=i486-ibm-freebsd6.2'
'host_alias=i486-ibm-freebsd6.2' 'target_alias=i486-ibm-freebsd6.2'
'CC=gcc' 'LDFLAGS=-L/usr/local/lib''
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: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
transient-mark-mode: t
Recent input:
M-x r e p o r t - e m a <tab> <return>
Recent messages:
Loading /usr/local/share/emacs/site-lisp/site-start-24.x.el (source)...
Loading /usr/local/share/emacs/24.0.95/site-lisp/canna-leim.el (source)...done
Loading /usr/local/share/emacs/site-lisp/site-start-24.x.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils canna-leim canna japan-util
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dynamic-setting x-toolkit x multi-tty emacs)
Reply sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
(Fri, 13 Apr 2012 18:11:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Atsuo Ohki <ohki <at> gssm.otsuka.tsukuba.ac.jp>
:
bug acknowledged by developer.
(Fri, 13 Apr 2012 18:11:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 11238-done <at> debbugs.gnu.org (full text, mbox):
Version:24.1
> A file, which has illformed file local variable specification
> like "; -*-", makes eval-buffer and load functions hangup.
Very good catch. And thanks for the patch.
Installed,
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 12 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.