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

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

[debbugs-tracker] bug#9443: closed (24.0.50; M-x occur on the Java sourc


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#9443: closed (24.0.50; M-x occur on the Java source file causes Lisp error)
Date: Wed, 07 Sep 2011 07:22:02 +0000

Your message dated Wed, 07 Sep 2011 03:18:01 -0400
with message-id <address@hidden>
and subject line Re: bug#9443: 24.0.50; M-x occur on the Java source file 
causes Lisp error
has caused the GNU bug report #9443,
regarding 24.0.50; M-x occur on the Java source file causes Lisp error
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9443: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9443
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.50; M-x occur on the Java source file causes Lisp error Date: Mon, 05 Sep 2011 21:15:39 +0900 User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)
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)


Attachment: lisp-progmodes-cc-fonts.el.patch
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#9443: 24.0.50; M-x occur on the Java source file causes Lisp error Date: Wed, 07 Sep 2011 03:18:01 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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.


--- End Message ---

reply via email to

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