aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/errors.texi
diff options
context:
space:
mode:
authorMichael Albinus2020-12-14 19:30:01 +0100
committerMichael Albinus2020-12-14 19:30:01 +0100
commitc0c6cd2d5d7af82ddfd4d8d080d0aa8d7882d293 (patch)
tree176900038c02b3fcc984969464e51ce4aeb3f138 /doc/lispref/errors.texi
parent47a854bf24c8a36bf1e8ac32c8b5c9ebcba1d90a (diff)
downloademacs-c0c6cd2d5d7af82ddfd4d8d080d0aa8d7882d293.tar.gz
emacs-c0c6cd2d5d7af82ddfd4d8d080d0aa8d7882d293.zip
Add 'remote-file-error' for Tramp
* doc/lispref/errors.texi (Standard Errors): Add 'remote-file-error'. * etc/NEWS: Mention 'remote-file-error'. * lisp/net/ange-ftp.el (ftp-error): Add error condition `remote-file-error'. * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections): Do not set `tramp-locked'. * lisp/net/tramp-compat.el (remote-file-error): Define if it doesn't exist. * lisp/net/tramp-sh.el (tramp-timeout-session): Check for "locked" property. (tramp-maybe-open-connection): Simplify. * lisp/net/tramp.el (tramp-locked, tramp-locker): Remove them. (tramp-file-name-handler): Do not set them. (with-tramp-locked-connection): New defmacro. (tramp-accept-process-output, tramp-send-string): Use it. * src/fileio.c (Qremote_file_error): New error symbol. * test/lisp/net/tramp-tests.el (tramp-test43-asynchronous-requests): Adapt test. Remove :unstable tag.
Diffstat (limited to 'doc/lispref/errors.texi')
-rw-r--r--doc/lispref/errors.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/lispref/errors.texi b/doc/lispref/errors.texi
index cd8694be8a3..ff9b3e57125 100644
--- a/doc/lispref/errors.texi
+++ b/doc/lispref/errors.texi
@@ -129,9 +129,18 @@ This is a subcategory of @code{file-error}. @xref{Modification Time}.
129This is a subcategory of @code{file-error}. It happens, when a file 129This is a subcategory of @code{file-error}. It happens, when a file
130could not be watched for changes. @xref{File Notifications}. 130could not be watched for changes. @xref{File Notifications}.
131 131
132@item remote-file-error
133This is a subcategory of @code{file-error}, which results from
134problems in accessing a remote file. @xref{Remote Files,,, emacs, The
135GNU Emacs Manual}. Often, this error appears when timers, process
136filters, process sentinels or special events in general try to access
137a remote file, and collide with another remote file operation. In
138general it is a good idea to write a bug report. @xref{Reporting
139Bugs,,, emacs, The GNU Emacs Manual}.
140
132@c net/ange-ftp.el 141@c net/ange-ftp.el
133@item ftp-error 142@item ftp-error
134This is a subcategory of @code{file-error}, which results from 143This is a subcategory of @code{remote-file-error}, which results from
135problems in accessing a remote file using ftp. @xref{Remote Files,,, 144problems in accessing a remote file using ftp. @xref{Remote Files,,,
136emacs, The GNU Emacs Manual}. 145emacs, The GNU Emacs Manual}.
137 146