diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2020-12-14 19:30:01 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2020-12-14 19:30:01 +0100 |
commit | c0c6cd2d5d7af82ddfd4d8d080d0aa8d7882d293 (patch) | |
tree | 176900038c02b3fcc984969464e51ce4aeb3f138 /doc | |
parent | 47a854bf24c8a36bf1e8ac32c8b5c9ebcba1d90a (diff) | |
download | emacs-c0c6cd2d5d7af82ddfd4d8d080d0aa8d7882d293.tar.gz |
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')
-rw-r--r-- | doc/lispref/errors.texi | 11 |
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}. This is a subcategory of @code{file-error}. It happens, when a file could not be watched for changes. @xref{File Notifications}. +@item remote-file-error +This is a subcategory of @code{file-error}, which results from +problems in accessing a remote file. @xref{Remote Files,,, emacs, The +GNU Emacs Manual}. Often, this error appears when timers, process +filters, process sentinels or special events in general try to access +a remote file, and collide with another remote file operation. In +general it is a good idea to write a bug report. @xref{Reporting +Bugs,,, emacs, The GNU Emacs Manual}. + @c net/ange-ftp.el @item ftp-error -This is a subcategory of @code{file-error}, which results from +This is a subcategory of @code{remote-file-error}, which results from problems in accessing a remote file using ftp. @xref{Remote Files,,, emacs, The GNU Emacs Manual}. |