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 15:46:30 +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:
I am testing a file handler for sending files to the shell when opening them. I do not understand all the bits and pieces there. Though I have only defined operation 'insert-file-contents it works well most of the time, but suddenly I got the strange traceback below.

Debugger entered--Lisp error: (void-function vc-bzr-state-heuristic)
  vc-bzr-state-heuristic("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  vc-bzr-registered("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  apply(vc-bzr-registered "c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
vc-call-backend(Bzr registered "c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  #[(b) "      # ... (some byte code here)
  vc-registered("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  apply(vc-registered "c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
(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(vc-registered "c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  vc-registered("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  vc-backend("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf")
  #[nil " ! " [buffer-file-name vc-backend] 2]()
  vc-find-file-hook()
  run-hooks(find-file-hook)
  after-find-file(nil t)
find-file-noselect-1(#<buffer gimpmode.pdf<2>> "c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf" nil nil "c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf" (0 203134463)) find-file-noselect("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf" nil nil t)
  ad-Orig-find-file("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf" t)
  (setq ad-return-value (ad-Orig-find-file filename wildcards))
(let (ad-return-value) (setq ad-return-value (ad-Orig-find-file filename wildcards)) ad-return-value)
  find-file("c:/emacs-lisp/gimp-mode-v1.40/gimpmode.pdf" t)
  call-interactively(find-file nil nil)

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




reply via email to

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