diff options
| author | Michael Albinus | 2020-12-14 19:30:01 +0100 |
|---|---|---|
| committer | Michael Albinus | 2020-12-14 19:30:01 +0100 |
| commit | c0c6cd2d5d7af82ddfd4d8d080d0aa8d7882d293 (patch) | |
| tree | 176900038c02b3fcc984969464e51ce4aeb3f138 /doc/lispref/errors.texi | |
| parent | 47a854bf24c8a36bf1e8ac32c8b5c9ebcba1d90a (diff) | |
| download | emacs-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.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}. | |||
| 129 | This is a subcategory of @code{file-error}. It happens, when a file | 129 | This is a subcategory of @code{file-error}. It happens, when a file |
| 130 | could not be watched for changes. @xref{File Notifications}. | 130 | could not be watched for changes. @xref{File Notifications}. |
| 131 | 131 | ||
| 132 | @item remote-file-error | ||
| 133 | This is a subcategory of @code{file-error}, which results from | ||
| 134 | problems in accessing a remote file. @xref{Remote Files,,, emacs, The | ||
| 135 | GNU Emacs Manual}. Often, this error appears when timers, process | ||
| 136 | filters, process sentinels or special events in general try to access | ||
| 137 | a remote file, and collide with another remote file operation. In | ||
| 138 | general it is a good idea to write a bug report. @xref{Reporting | ||
| 139 | Bugs,,, 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 |
| 134 | This is a subcategory of @code{file-error}, which results from | 143 | This is a subcategory of @code{remote-file-error}, which results from |
| 135 | problems in accessing a remote file using ftp. @xref{Remote Files,,, | 144 | problems in accessing a remote file using ftp. @xref{Remote Files,,, |
| 136 | emacs, The GNU Emacs Manual}. | 145 | emacs, The GNU Emacs Manual}. |
| 137 | 146 | ||