|
From: | Lennart Borgman (gmail) |
Subject: | Re: Strange loading of vc-bzr with additional file-handler |
Date: | Sat, 19 Jul 2008 18:42:12 +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:
Jason Rumney wrote:Lennart Borgman (gmail) wrote: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)?Given that you said at the start of this thread that you were testing your own file-handler when you first came across this, I would first suspect a bug in your code rather than in the Emacs that everyone else is using without such problems.Please try the handler in the attached file. It should just fall back to the default handlers, but at least for me it gets in the way for example during file completion. (Tested with CVS Emacs 23 from 2008-07-16.)
I think a more exact recipe to reproduce the problem is needed. emacs -Q then load and eval the file I sent. Do M-x mytemp-enable-handler C-x C-f Tab gives me (on w32) Making completion list... apply: End of file during parsing: c:/emacs/u/080716/emacs/lisp/view.elcThe same type of problem showsd up for all elisp libraries that Emacs tries to load. It seems like Emacs tries to eval the files (as if they had extension .el).
[Prev in Thread] | Current Thread | [Next in Thread] |