emacs-devel
[Top][All Lists]
Advanced

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

Re: Strange loading of vc-bzr with additional file-handler


From: Lennart Borgman (gmail)
Subject: Re: Strange loading of vc-bzr with additional file-handler
Date: Sat, 19 Jul 2008 16:14:49 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Lennart Borgman (gmail) wrote:
Lennart Borgman (gmail) wrote:
Here is more info. When trying to exit Emacs after the above error I got another error

 Debugger entered--Lisp error: (invalid-read-syntax "#")
load("c:/emacs/p/080718/emacs/lisp/emacs-lisp/warnings.elc" nil t t nil) apply(load ("c:/emacs/p/080718/emacs/lisp/emacs-lisp/warnings.elc" nil t t)) (let ((inhibit-file-name-handlers ...) (inhibit-file-name-operation operation)) (apply operation args))
  (if done nil (let (... ...) (apply operation args)))
  (unless done (let (... ...) (apply operation args)))
(let ((done nil) ftype) (when (eq operation ...) (when ... ...) (unless ... ... ...)) (unless done (let ... ...))) sex-file-handler(load "c:/emacs/p/080718/emacs/lisp/emacs-lisp/warnings.elc" nil t t) warn("recentf mode: %s" "Symbol's function definition is void: vc-bzr-state-heuristic") byte-code(" !\" " [error warn "recentf mode: %s" error-message-string] 4)
  recentf-save-list()
  run-hooks(kill-emacs-hook)
  kill-emacs()
  save-buffers-kill-emacs()
  save-buffers-kill-terminal(nil)
  call-interactively(save-buffers-kill-terminal nil nil)

This comes when executing code similar to that in

  (info "(elisp) Magic File Names")

Some more errors, now after restarting

apply: End of file during parsing: c:/emacs/p/080718/emacs/lisp/url/url-handlers.elc completion--some: End of file during parsing: c:/emacs/p/080718/emacs/lisp/net/trampver.elc apply: End of file during parsing: c:/emacs/p/080718/emacs/lisp/dired.elc

Sorry for sending this in small pieces, but here is where I believe the error is. Just before the code mentioned above I have put a call to

  (message "operation=%s, args=%s" operation args)

Before the error I get

  operation=expand-file-name,
     args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil)
  apply: End of file during parsing:
     c:/emacs/p/080718/emacs/lisp/image-mode.elc

So I guess there is an error in expand-file-name. Could tramp be involved (since there are special problems with the w32 file names)?

Since this looks very strang I give some more output here. After it have gone through load-path and found image-mode.elc and calls load it goes back to the first entry in load path (which is the directory where I have predictive) and tries to expand the file name again against that entry. Why?

And then there are several expand-file-name against nil with the found file. Only the last one fails. Why?



operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil)
operation=file-readable-p,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc
  c:/EmacsW32/nxml/nxhtml/doc/img/)
operation=file-directory-p,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc
  c:/EmacsW32/nxml/nxhtml/doc/img/)

operation=load, args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil t
  t)
operation=substitute-in-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc
  c:/dl/emacs/predictive/html/)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil)
operation=file-readable-p,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc
  c:/EmacsW32/nxml/nxhtml/doc/img/)
operation=file-directory-p,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc
  c:/EmacsW32/nxml/nxhtml/doc/img/)
operation=file-truename,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc)
operation=expand-file-name,
  args=(c:/emacs/p/080718/emacs/lisp/image-mode.elc nil)
apply: End of file during parsing:
  c:/emacs/p/080718/emacs/lisp/image-mode.elc




reply via email to

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