GNU bug report logs -
#9443
24.0.50; M-x occur on the Java source file causes Lisp error
Previous Next
Reported by: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
Date: Mon, 5 Sep 2011 18:21:02 UTC
Severity: normal
Tags: patch
Found in version 24.0.50
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
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 9443 in the body.
You can then email your comments to 9443 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#9443
; Package
emacs
.
(Mon, 05 Sep 2011 18:21:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 05 Sep 2011 18:21:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. If you can, give a recipe
starting from `emacs -Q':
Get a Java source file to test:
wget 'http://jdee.svn.sf.net/viewvc/jdee/trunk/jdee/java/src/jde/util/MultiValueMap.java?revision=200' -O MultiValueMap.java
Invoke emacs:
emacs -Q --eval '(setq debug-on-error t)' MultiValueMap.java
Use `occur' for listing lines containing a match for "return".
M-x occur
List lines matching regexp: return
Lisp backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
looking-at(nil)
c-font-lock-enclosing-decls(2270)
font-lock-fontify-keywords-region(2250 2270 nil)
font-lock-default-fontify-region(2250 2270 nil)
font-lock-fontify-region(2250 2270)
run-hook-with-args(font-lock-fontify-region 2250 2270)
byte-code("..." [start next run-hook-with-args jit-lock-functions] 4)
jit-lock-fontify-now(2250 2269)
occur-engine-line(2250 2269 t)
occur-engine("return" (#<buffer MultiValueMap.java>) #<buffer *Occur*> 0 t underline nil match t)
occur-1("return" nil (#<buffer MultiValueMap.java>))
occur("return" nil)
call-interactively(occur nil nil)
Fix:
See the tiny patch attached.
In GNU Emacs 24.0.50.3 (i686-pc-cygwin)
of 2011-09-03 on zeroset
configured using `configure '--without-dbus' '--with-gconf' '--without-x''
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: ja_JP.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Debugger
Minor modes in effect:
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC s o r e t u r n RET ESC x r e p o r t - e m a c
s - b u TAB RET
Recent messages:
("./src/emacs" "--eval" "(setq debug-on-error t)" "MultiValueMap.java")
For information about GNU Emacs and the GNU system, type C-h C-a.
MultiValueMap.java has auto save data; consider M-x recover-this-file
Loading vc-bzr...done
Error during redisplay: (wrong-type-argument stringp nil)
Entering debugger...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug help-mode view debug vc-bzr cc-mode cc-fonts easymenu cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt
time-date japan-util ediff-hook vc-hooks lisp-float-type lisp-mode
register page menu-bar rfn-eshadow timer 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 multi-tty emacs)
[lisp-progmodes-cc-fonts.el.patch (application/octet-stream, attachment)]
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 07 Sep 2011 07:22:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 07 Sep 2011 07:22:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 9443-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.1
Thank you; applied.
BTW, you have a few "tiny changes" in Emacs now, so you might want to
consider completing a copyright assignment if you expect to contribute
more.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 05 Oct 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.