diff options
| author | Michael Albinus | 2011-02-05 10:52:07 +0100 |
|---|---|---|
| committer | Michael Albinus | 2011-02-05 10:52:07 +0100 |
| commit | 2c68ca0e31c448062847e34ba4dc0d96ae6dbf66 (patch) | |
| tree | 85676d71f6e8c596f8d9c0d9c9536089f56d7339 | |
| parent | cc618f4e69e92541a6595e6b15f35bea5a132640 (diff) | |
| download | emacs-2c68ca0e31c448062847e34ba4dc0d96ae6dbf66.tar.gz emacs-2c68ca0e31c448062847e34ba4dc0d96ae6dbf66.zip | |
Replace "explicite" with "explicit" globally
Replace "instead of" with "instead" where there was nothing after "of"
Audit use of comma before interrogative pronoun, "that", or "which"
| -rw-r--r-- | lisp/net/tramp-cache.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-compat.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 6 | ||||
| -rw-r--r-- | lisp/net/tramp-imap.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 18 |
5 files changed, 15 insertions, 15 deletions
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index c893ce797ed..a98e523a68b 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | ;; - localname is NIL. This are reusable properties. Examples: | 33 | ;; - localname is NIL. This are reusable properties. Examples: |
| 34 | ;; "remote-shell" identifies the POSIX shell to be called on the | 34 | ;; "remote-shell" identifies the POSIX shell to be called on the |
| 35 | ;; remote host, or "perl" is the command to be called on the remote | 35 | ;; remote host, or "perl" is the command to be called on the remote |
| 36 | ;; host, when starting a Perl script. These properties are saved in | 36 | ;; host when starting a Perl script. These properties are saved in |
| 37 | ;; the file `tramp-persistency-file-name'. | 37 | ;; the file `tramp-persistency-file-name'. |
| 38 | ;; | 38 | ;; |
| 39 | ;; - localname is a string. This are temporary properties, which are | 39 | ;; - localname is a string. This are temporary properties, which are |
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el index 4dcc3d5484e..3c0642c3c78 100644 --- a/lisp/net/tramp-compat.el +++ b/lisp/net/tramp-compat.el | |||
| @@ -156,7 +156,7 @@ | |||
| 156 | 'set-file-times filename time))))) | 156 | 'set-file-times filename time))))) |
| 157 | 157 | ||
| 158 | ;; We currently use "[" and "]" in the filename format for IPv6 | 158 | ;; We currently use "[" and "]" in the filename format for IPv6 |
| 159 | ;; hosts of GNU Emacs. This means, that Emacs wants to expand | 159 | ;; hosts of GNU Emacs. This means that Emacs wants to expand |
| 160 | ;; wildcards if `find-file-wildcards' is non-nil, and then barfs | 160 | ;; wildcards if `find-file-wildcards' is non-nil, and then barfs |
| 161 | ;; because no expansion could be found. We detect this situation | 161 | ;; because no expansion could be found. We detect this situation |
| 162 | ;; and do something really awful: we have `file-expand-wildcards' | 162 | ;; and do something really awful: we have `file-expand-wildcards' |
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 0f3a0cf33ff..57cc54935dc 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -1212,14 +1212,14 @@ connection if a previous connection has died for some reason." | |||
| 1212 | ;; Enable auth-sorce and password-cache. | 1212 | ;; Enable auth-sorce and password-cache. |
| 1213 | (tramp-set-connection-property vec "first-password-request" t) | 1213 | (tramp-set-connection-property vec "first-password-request" t) |
| 1214 | 1214 | ||
| 1215 | ;; There will be a callback of "askPassword", when a password is | 1215 | ;; There will be a callback of "askPassword" when a password is |
| 1216 | ;; needed. | 1216 | ;; needed. |
| 1217 | (dbus-register-method | 1217 | (dbus-register-method |
| 1218 | :session dbus-service-emacs object-path | 1218 | :session dbus-service-emacs object-path |
| 1219 | tramp-gvfs-interface-mountoperation "askPassword" | 1219 | tramp-gvfs-interface-mountoperation "askPassword" |
| 1220 | 'tramp-gvfs-handler-askpassword) | 1220 | 'tramp-gvfs-handler-askpassword) |
| 1221 | 1221 | ||
| 1222 | ;; There could be a callback of "askQuestion", when adding fingerprint. | 1222 | ;; There could be a callback of "askQuestion" when adding fingerprint. |
| 1223 | (dbus-register-method | 1223 | (dbus-register-method |
| 1224 | :session dbus-service-emacs object-path | 1224 | :session dbus-service-emacs object-path |
| 1225 | tramp-gvfs-interface-mountoperation "askQuestion" | 1225 | tramp-gvfs-interface-mountoperation "askQuestion" |
| @@ -1426,7 +1426,7 @@ They are retrieved from the hal daemon." | |||
| 1426 | ;;; TODO: | 1426 | ;;; TODO: |
| 1427 | 1427 | ||
| 1428 | ;; * Host name completion via smb-server or smb-network. | 1428 | ;; * Host name completion via smb-server or smb-network. |
| 1429 | ;; * Check, how two shares of the same SMB server can be mounted in | 1429 | ;; * Check how two shares of the same SMB server can be mounted in |
| 1430 | ;; parallel. | 1430 | ;; parallel. |
| 1431 | ;; * Apply SDP on bluetooth devices, in order to filter out obex | 1431 | ;; * Apply SDP on bluetooth devices, in order to filter out obex |
| 1432 | ;; capability. | 1432 | ;; capability. |
diff --git a/lisp/net/tramp-imap.el b/lisp/net/tramp-imap.el index e0799e070ab..3a536103c3d 100644 --- a/lisp/net/tramp-imap.el +++ b/lisp/net/tramp-imap.el | |||
| @@ -265,7 +265,7 @@ of `copy' and `rename'." | |||
| 265 | filename newname) | 265 | filename newname) |
| 266 | 266 | ||
| 267 | ;; We just make a local copy of FILENAME, and write it then to | 267 | ;; We just make a local copy of FILENAME, and write it then to |
| 268 | ;; NEWNAME. This must be optimized, when both files are | 268 | ;; NEWNAME. This must be optimized when both files are |
| 269 | ;; located on the same IMAP server. | 269 | ;; located on the same IMAP server. |
| 270 | (with-temp-buffer | 270 | (with-temp-buffer |
| 271 | (if (and t1 t2) | 271 | (if (and t1 t2) |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 151758b1e9a..63a4c19eccf 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -66,7 +66,7 @@ files conditionalize this setup based on the TERM environment variable." | |||
| 66 | :group 'tramp | 66 | :group 'tramp |
| 67 | :type 'string) | 67 | :type 'string) |
| 68 | 68 | ||
| 69 | ;; ksh on OpenBSD 4.5 requires, that $PS1 contains a `#' character for | 69 | ;; ksh on OpenBSD 4.5 requires that $PS1 contains a `#' character for |
| 70 | ;; root users. It uses the `$' character for other users. In order | 70 | ;; root users. It uses the `$' character for other users. In order |
| 71 | ;; to guarantee a proper prompt, we use "#$ " for the prompt. | 71 | ;; to guarantee a proper prompt, we use "#$ " for the prompt. |
| 72 | 72 | ||
| @@ -509,7 +509,7 @@ entry ENVVARNAME= diables the corresponding environment variable, | |||
| 509 | which might have been set in the init files like ~/.profile. | 509 | which might have been set in the init files like ~/.profile. |
| 510 | 510 | ||
| 511 | Special handling is applied to the PATH environment, which should | 511 | Special handling is applied to the PATH environment, which should |
| 512 | not be set here. Instead of, it should be set via `tramp-remote-path'." | 512 | not be set here. Instead, it should be set via `tramp-remote-path'." |
| 513 | :group 'tramp | 513 | :group 'tramp |
| 514 | :type '(repeat string)) | 514 | :type '(repeat string)) |
| 515 | 515 | ||
| @@ -2209,7 +2209,7 @@ The method used must be an out-of-band method." | |||
| 2209 | (with-parsed-tramp-file-name (if t1 filename newname) nil | 2209 | (with-parsed-tramp-file-name (if t1 filename newname) nil |
| 2210 | (if (and t1 t2) | 2210 | (if (and t1 t2) |
| 2211 | 2211 | ||
| 2212 | ;; Both are Tramp files. We shall optimize it, when the | 2212 | ;; Both are Tramp files. We shall optimize it when the |
| 2213 | ;; methods for filename and newname are the same. | 2213 | ;; methods for filename and newname are the same. |
| 2214 | (let* ((dir-flag (file-directory-p filename)) | 2214 | (let* ((dir-flag (file-directory-p filename)) |
| 2215 | (tmpfile (tramp-compat-make-temp-file localname dir-flag))) | 2215 | (tmpfile (tramp-compat-make-temp-file localname dir-flag))) |
| @@ -2405,7 +2405,7 @@ This is like `dired-recursive-delete-directory' for Tramp files." | |||
| 2405 | (tramp-send-command | 2405 | (tramp-send-command |
| 2406 | v | 2406 | v |
| 2407 | (format "rm -rf %s" (tramp-shell-quote-argument localname)) | 2407 | (format "rm -rf %s" (tramp-shell-quote-argument localname)) |
| 2408 | ;; Don't read the output, do it explicitely. | 2408 | ;; Don't read the output, do it explicitly. |
| 2409 | nil t) | 2409 | nil t) |
| 2410 | ;; Wait for the remote system to return to us... | 2410 | ;; Wait for the remote system to return to us... |
| 2411 | ;; This might take a while, allow it plenty of time. | 2411 | ;; This might take a while, allow it plenty of time. |
| @@ -3150,7 +3150,7 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file." | |||
| 3150 | ;; filename does not exist (eq modes nil) it has been | 3150 | ;; filename does not exist (eq modes nil) it has been |
| 3151 | ;; renamed to the backup file. This case `save-buffer' | 3151 | ;; renamed to the backup file. This case `save-buffer' |
| 3152 | ;; handles permissions. | 3152 | ;; handles permissions. |
| 3153 | ;; Ensure, that it is still readable. | 3153 | ;; Ensure that it is still readable. |
| 3154 | (when modes | 3154 | (when modes |
| 3155 | (set-file-modes | 3155 | (set-file-modes |
| 3156 | tmpfile | 3156 | tmpfile |
| @@ -3296,7 +3296,7 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file." | |||
| 3296 | (when (or (eq visit t) (stringp visit)) | 3296 | (when (or (eq visit t) (stringp visit)) |
| 3297 | (let ((file-attr (file-attributes filename))) | 3297 | (let ((file-attr (file-attributes filename))) |
| 3298 | (set-visited-file-modtime | 3298 | (set-visited-file-modtime |
| 3299 | ;; We must pass modtime explicitely, because filename can | 3299 | ;; We must pass modtime explicitly, because filename can |
| 3300 | ;; be different from (buffer-file-name), f.e. if | 3300 | ;; be different from (buffer-file-name), f.e. if |
| 3301 | ;; `file-precious-flag' is set. | 3301 | ;; `file-precious-flag' is set. |
| 3302 | (nth 5 file-attr)) | 3302 | (nth 5 file-attr)) |
| @@ -3403,7 +3403,7 @@ Fall back to normal file name handler if no Tramp handler exists." | |||
| 3403 | (with-parsed-tramp-file-name filename nil | 3403 | (with-parsed-tramp-file-name filename nil |
| 3404 | (cond | 3404 | (cond |
| 3405 | ;; That's what we want: file names, for which checks are | 3405 | ;; That's what we want: file names, for which checks are |
| 3406 | ;; applied. We assume, that VC uses only `file-exists-p' and | 3406 | ;; applied. We assume that VC uses only `file-exists-p' and |
| 3407 | ;; `file-readable-p' checks; otherwise we must extend the | 3407 | ;; `file-readable-p' checks; otherwise we must extend the |
| 3408 | ;; list. We do not perform any action, but return nil, in | 3408 | ;; list. We do not perform any action, but return nil, in |
| 3409 | ;; order to keep `vc-registered' running. | 3409 | ;; order to keep `vc-registered' running. |
| @@ -4303,7 +4303,7 @@ connection if a previous connection has died for some reason." | |||
| 4303 | ;; it is just a prefix for the ControlPath option | 4303 | ;; it is just a prefix for the ControlPath option |
| 4304 | ;; of ssh; the real temporary file has another | 4304 | ;; of ssh; the real temporary file has another |
| 4305 | ;; name, and it is created and protected by ssh. | 4305 | ;; name, and it is created and protected by ssh. |
| 4306 | ;; It is also removed by ssh, when the connection | 4306 | ;; It is also removed by ssh when the connection |
| 4307 | ;; is closed. | 4307 | ;; is closed. |
| 4308 | (tmpfile | 4308 | (tmpfile |
| 4309 | (tramp-set-connection-property | 4309 | (tramp-set-connection-property |
| @@ -5074,7 +5074,7 @@ function cell is returned to be applied on a buffer." | |||
| 5074 | ;; * It makes me wonder if tramp couldn't fall back to ssh when scp | 5074 | ;; * It makes me wonder if tramp couldn't fall back to ssh when scp |
| 5075 | ;; isn't on the remote host. (Mark A. Hershberger) | 5075 | ;; isn't on the remote host. (Mark A. Hershberger) |
| 5076 | ;; * Use lsh instead of ssh. (Alfred M. Szmidt) | 5076 | ;; * Use lsh instead of ssh. (Alfred M. Szmidt) |
| 5077 | ;; * Optimize out-of-band copying, when both methods are scp-like (not | 5077 | ;; * Optimize out-of-band copying when both methods are scp-like (not |
| 5078 | ;; rsync). | 5078 | ;; rsync). |
| 5079 | ;; * Keep a second connection open for out-of-band methods like scp or | 5079 | ;; * Keep a second connection open for out-of-band methods like scp or |
| 5080 | ;; rsync. | 5080 | ;; rsync. |