JDEE and tramp: "forbidden reentrant call of Tramp"

David Reitter <[email protected]> Tue, 6 Feb 2007 11:57:30 +0000
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
There seems to be be some issue with buffers in tramp mode - I'm  
getting an "Error in menu-bar-update-hook: (file-error . Forbidden  
reentrant call of Tramp)". Sometimes it's the same error, but in  
`post-command-hook'.
Emacs is rendered unusable afterwards, I can't even kill the buffer  
or quit Emacs.

To reproduce:

C-x C-f /me@localhost:temp/test.java RET   (file is empty)
M-x jde-mode

--> error

The stack trace is below.
When I tried to save the buffer, I get a similar error (below).

Also, any typing  produces a "File error" (no further spec available).


This is on Aquamacs Emacs (CVS) version, which is based on GNU Emacs  
22 (CVS) and JDE 2.3.5.1. JDE works fine with local (non-tramp) files.

If this is an error in either the JDE installation (comes with  
Aquamacs) or in GNU Emacs, please let me know and I'll do my best to  
fix it.

Please cc me directly in replies, since I don't read this mailing list.


Debugger entered--Lisp error: (file-error . "Forbidden reentrant call  
of Tramp")
   signal(file-error "Forbidden reentrant call of Tramp")
   tramp-sh-file-name-handler(expand-file-name "/Users/dr/Library/ 
Preferences/Aquamacs Emacs/auto-save-list/.saves-2278- 
lucy.inf.ed.ac.uk~" "/ssh:[email protected]:/home/dreitter/ 
PhD/")
   apply(tramp-sh-file-name-handler expand-file-name ("/Users/dr/ 
Library/Preferences/Aquamacs Emacs/auto-save-list/.saves-2278- 
lucy.inf.ed.ac.uk~" "/ssh:[email protected]:/home/dreitter/ 
PhD/"))
   tramp-file-name-handler(expand-file-name "/Users/dr/Library/ 
Preferences/Aquamacs Emacs/auto-save-list/.saves-2278- 
lucy.inf.ed.ac.uk~" "/ssh:[email protected]:/home/dreitter/ 
PhD/")

Debugger entered--Lisp error: (file-error . "Forbidden reentrant call  
of Tramp")
   signal(file-error "Forbidden reentrant call of Tramp")
   tramp-sh-file-name-handler(verify-visited-file-modtime #<buffer  
test.java>)
   apply(tramp-sh-file-name-handler verify-visited-file-modtime  
#<buffer test.java>)
   tramp-file-name-handler(verify-visited-file-modtime #<buffer  
test.java>)
   verify-visited-file-modtime(#<buffer test.java>)
   basic-save-buffer()
   save-buffer()
   (if buffer-file-name (save-buffer) (call-interactively (function  
mac-key-save-file-as)))
   mac-key-save-file()
   call-interactively(mac-key-save-file)


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X