help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to debug "Debugger entered--Lisp error: (void-function nil)"


From: Tim X
Subject: Re: How to debug "Debugger entered--Lisp error: (void-function nil)"
Date: Sun, 01 Apr 2007 12:04:35 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

address@hidden writes:

> Tim X <address@hidden> writes:
> [...]
>> To give you confidence it will work, I'm running VM under emacs 22.
>
> Just to be sure it is broken only here, could you please run:
>
>   emacs -eval '(setq debug-on-error t)' -f vm
>
> and tell me the exact version/revision of GNU Emacs and VM you
> are using?
>

As I do a fair amount of elisp and have a number of my own packages I'm
developing, I always have debug on error enabled. I find it handy, despite
minor irritations such as jumping into the debugger in VM if I try to move past
the last message in the folder. However, I do not get any backtrace or error
when I start Vm under either emacs 21 or emacs 22.

I'm running VM 7.19-12 (Debian package) and GNU Emacs 22.0.95.1
(i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-03-03 on pacem,
modified by Debian


> The latest backtrace I get ... HTF can this happen in redisplay
> ... the latest GNU Emacs from CVS is just compiling ... 
>
> Debugger entered--Lisp error: (void-function nil)
>   (nil)
>   redisplay()
>   sit-for(5)
>   vm-display-startup-message()
>   byte-code("BYTE CODE REMOVED BY ME" [access-method folder vm-primary-inbox 
> f vm-recognize-imap-maildrops vm-recognize-pop-maildrops string-match imap 
> pop bufferp nil vm-pop-find-spec-for-name error "No such POP folder: %s" 
> vm-pop-make-filename-for-spec t file-exists-p (rename-file f-pass f-nospec) 
> ((error)) (rename-file f-nopass f-nospec) ((error)) 3 
> vm-imap-parse-spec-to-list vm-imap-make-filename-for-spec expand-file-name 
> file-directory-p "%s is a directory" vm-get-file-buffer no-conversion 
> raw-text message "Reading %s..." find-file-noselect "Reading %s... done" (pop 
> imap) buffer-name rename-buffer set-buffer-multibyte get-coding-system 
> no-conversion-unix no-conversion-dos no-conversion-mac binary 
> buffer-modified-p ((set-buffer-modified-p omodified)) encode-coding-region 
> set-buffer-file-coding-system decode-coding-region coding-system-base 
> raw-text-unix ...] 9)
>   vm(nil nil)
>   call-interactively(vm)
>   command-execute(vm)
>   command-line-1(("-eval" "(setq debug-on-error t)" "-f" "vm"))
>   command-line()
>   normal-top-level()

What does that "BYTE-CODE REMOVED BY ME" mean? I've not seen that before and
that line doesn't look right. Maybe try something like M-x
list-load-path-shadows just to be sure your loading what you think your
loading. 

tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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