1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

* net/tramp.el (tramp-file-name-handler): Add 'debug to the error

condition.
This commit is contained in:
Michael Albinus 2011-10-09 11:38:25 +02:00
parent 112a65928f
commit 56f2d1e183
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2011-10-09 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-file-name-handler): Add 'debug to the error
condition.
2011-10-09 Leo Liu <sdl.web@gmail.com>
* mail/smtpmail.el (smtpmail-send-data): Add a missing space.

View File

@ -1886,7 +1886,7 @@ Falls back to normal file name handler if no Tramp file name handler exists."
(apply foreign operation args))
;; Trace that somebody has interrupted the operation.
(quit
((debug quit)
(let (tramp-message-show-message)
(tramp-message
v 1 "Interrupt received in operation %s"
@ -1898,6 +1898,9 @@ Falls back to normal file name handler if no Tramp file name handler exists."
;; operations shall return at least a default value
;; in order to give the user a chance to correct the
;; file name in the minibuffer.
;; We cannot use 'debug as error handler. In order
;; to get a full backtrace, one could apply
;; (setq debug-on-error t debug-on-signal t)
(error
(cond
((and completion (zerop (length localname))
@ -3850,9 +3853,9 @@ Only works for Bourne-like shells."
;; * Run emerge on two remote files. Bug is described here:
;; <http://www.mail-archive.com/tramp-devel@nongnu.org/msg01041.html>.
;; (Bug#6850)
;; Functions for file-name-handler-alist:
;; diff-latest-backup-file -- in diff.el
;; * It would be very useful if it were possible to load or save a
;; buffer using Tramp in a non-blocking way so that use of Emacs on
;; other buffers could continue. (Bug#9617)
;;; tramp.el ends here