tramp-devel
[Top][All Lists]
Advanced

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

Exiting debugger/recursive edit mode?


From: yary
Subject: Exiting debugger/recursive edit mode?
Date: Fri, 10 Apr 2009 09:45:35 -0700

Hello all,

Sometimes my tramp sessions will get in a state where I have to use
"M-x tramp-cleanup-all-connections" to resume editing my buffers
(usually after a network disconnect/reconnect, using plink to a
machine that requires password auth). When this happens, tramp throws
an error that puts Emacs into recursive edit mode. When I hit C-M-c,
emacs complains that it can't exit recursive edit mode- error
reproduced below. Not sure if this is a tramp problem, or just
something I need to learn about the emacs debugger, but if anyone can
help me get my emacs out of recursive edit easily let me know...

Debugger entered--Lisp error: (error "Cannot return from the debugger
in an error")
  signal(file-error ("Process died"))
  tramp-error(["plink" "myname" "host53" "/home/dir/file.txt"]
file-error "Process died")
  apply(tramp-error ["plink" "myname" "host53" "/home/dir/file.txt"]
file-error "Process died" nil)
  byte-code(".....\n.%)." [vec-or-proc signal fmt-string args
((byte-code ".-.!.-.!.&.!.#.!.&.!!.!.)." [vec-or-proc tramp-verbose
enable-recursive-minibuffers buffer zerop t pop-to-buffer bufferp
processp process-buffer tramp-get-buffer sit-for 30] 3)) apply
tramp-error] 6)
  tramp-process-actions(#<process *tramp/plink address@hidden>
["plink" "myname" "host53" "/home/dir/file.txt"]
((tramp-login-prompt-regexp tramp-action-login)
(tramp-password-prompt-regexp tramp-action-password)
(tramp-wrong-passwd-regexp tramp-action-permission-denied)
(shell-prompt-pattern tramp-action-succeed)
(tramp-shell-prompt-pattern tramp-action-succeed)
(tramp-yesno-prompt-regexp tramp-action-yesno) (tramp-yn-prompt-regexp
tramp-action-yn) (tramp-terminal-prompt-regexp tramp-action-terminal)
(tramp-process-alive-regexp tramp-action-process-alive)) 60)
  
byte-code(".!.!.\n.\n!.\n!.>address@hidden,address@hidden,\n.k.\n!.k.\n!.A\".\".!.\".!.B.C.D.E.F.!.J.!.K
.!.G.G!).!!.!.G.G!).!!.!.G.G!).!!.!.!.!.!.H.#.!.!.I#)address@hidden,.\n.\"address@hidden,.\n.`.I$.B.;address@hidden".P.a.L.c.\".Q.a.L.d.\".R.e.K.f.g.$.S.S!.T.S.S!.U.S.S!.V.P.W.h.\n.i.j.k.X.!.J.G.!.K
.G.!.G.G!).!!.G.!.G.G!).!!.G.!.G.(.G!)address@hidden"!#.Y.Z.S.c.R.c.l.Q.R\".Q.m.[.N\".n.o.N\".O.n.p.N\"address@hidden,address@hidden|.\n.\"..*."
[vec process-environment p args fmt-string level
tramp-get-connection-process copy-sequence nil (byte-code ".
.#\".V.d.d.!.d.!.>.d.$.!.>.6.\".d.\f.N.\n#E!C. .,.\f.\n#C\".,." [p vec
args fmt-string signal vec-or-proc tramp-time-diff current-time
tramp-get-connection-property "last-cmd-time" ... 60 processp
process-status ... tramp-send-command "echo are you awake" t ...
tramp-wait-for-output 10 file-error "Awake did fail" nil 1 "%s"
error-message-string error-message apply format ... ... level] 11)
((file-error ...)) processp process-status (run open) tramp-get-buffer
zerop tramp-file-name-user 3 "Opening connection for %s using %s..."
tramp-file-name-host tramp-file-name-method (byte-code ".X.q.
.X.7.U.2.U.'.2.U.1.2.P\f#.Y.p.[.!.[.!!.[.r.!q.!.).p.!.p.\".P\f$*."
[level tramp-verbose save-match-data-internal fmt-string args
vec-or-proc match-data ... 3 apply message 0 "" 1 2 "Warning: "
"Tramp: " 4 processp buffer-name process-buffer
tramp-dissect-file-name vectorp tramp-debug-message format "(%d) # "
default-directory] 6) ((error)) "Opening connection for address@hidden using
%s..." delete-process setenv "TERM" "LC_ALL" "C" "PROMPT_COMMAND"
"PS1" "$ " tramp-compute-multi-hops boundp temporary-file-directory
fboundp temp-directory getenv "TEMP" file-directory-p
file-name-as-directory "TMP" "TMPDIR" file-exists-p "c:/temp" message
"Neither `temporary-file-directory' nor `temp-directory' is defined --
using /tmp." "/tmp" start-process tramp-get-connection-property ...]
11)
  tramp-maybe-open-connection(["plink" "myname" "host53" "/home/dir/file.txt"])
  tramp-send-command(["plink" "myname" "host53" "/home/dir/file.txt"]
"test -e /home/dir/file.txt 2>/dev/null; echo tramp_exit_status $? ")
  tramp-send-command-and-check(["plink" "myname" "host53"
"/home/dir/file.txt"] "test -e /home/dir/file.txt")
  tramp-handle-file-exists-p("/plink:address@hidden:/home/dir/file.txt")
  apply(tramp-handle-file-exists-p "/plink:address@hidden:/home/dir/file.txt")
  tramp-sh-file-name-handler(file-exists-p
"/plink:address@hidden:/home/dir/file.txt")
  apply(tramp-sh-file-name-handler file-exists-p
"/plink:address@hidden:/home/dir/file.txt")
  tramp-file-name-handler(file-exists-p
"/plink:address@hidden:/home/dir/file.txt")
  file-exists-p("/plink:address@hidden:/home/dir/file.txt")
  tramp-handle-file-attributes("/plink:address@hidden:/home/dir/file.txt")
  apply(tramp-handle-file-attributes "/plink:address@hidden:/home/dir/file.txt")
  tramp-sh-file-name-handler(file-attributes
"/plink:address@hidden:/home/dir/file.txt")
  apply(tramp-sh-file-name-handler file-attributes
"/plink:address@hidden:/home/dir/file.txt")
  tramp-file-name-handler(file-attributes
"/plink:address@hidden:/home/dir/file.txt")
  file-attributes("/plink:address@hidden:/home/dir/file.txt")
  tramp-handle-verify-visited-file-modtime(#<buffer file.txt>)
  apply(tramp-handle-verify-visited-file-modtime #<buffer file.txt>)
  tramp-sh-file-name-handler(verify-visited-file-modtime #<buffer file.txt>)
  apply(tramp-sh-file-name-handler verify-visited-file-modtime
#<buffer file.txt>)
  tramp-file-name-handler(verify-visited-file-modtime #<buffer file.txt>)




reply via email to

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