diff options
| author | Michael Albinus | 2007-08-30 19:58:28 +0000 |
|---|---|---|
| committer | Michael Albinus | 2007-08-30 19:58:28 +0000 |
| commit | b83483d541d83dbdac93210fc1e0b34da244d709 (patch) | |
| tree | e27b0e87baedcc8e7437ab29cb378884cb9db724 | |
| parent | da40696139f6aeb8f92fcaae61a4dacf049ca576 (diff) | |
| download | emacs-b83483d541d83dbdac93210fc1e0b34da244d709.tar.gz emacs-b83483d541d83dbdac93210fc1e0b34da244d709.zip | |
* net/ange-ftp.el: Add ange-ftp property to 'set-file-modes and
'set-file-times.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 8 |
2 files changed, 14 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 22f7daf8228..d69b3000eae 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-08-30 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/ange-ftp.el: Add ange-ftp property to 'set-file-modes and | ||
| 4 | 'set-file-times. | ||
| 5 | |||
| 1 | 2007-08-30 Carsten Dominik <dominik@science.uva.nl> | 6 | 2007-08-30 Carsten Dominik <dominik@science.uva.nl> |
| 2 | 7 | ||
| 3 | * textmodes/org.el (org-export-visible): Fix drawers before export. | 8 | * textmodes/org.el (org-export-visible): Fix drawers before export. |
| @@ -39,7 +44,7 @@ | |||
| 39 | (org-todo-keyword-faces): New option. | 44 | (org-todo-keyword-faces): New option. |
| 40 | (org-set-regexps-and-options): Use `org-remove-keyword-keys'. | 45 | (org-set-regexps-and-options): Use `org-remove-keyword-keys'. |
| 41 | (org-remove-keyword-keys): New function. | 46 | (org-remove-keyword-keys): New function. |
| 42 | 47 | ||
| 43 | 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change) | 48 | 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change) |
| 44 | 49 | ||
| 45 | * progmodes/grep.el (grep-find-ignored-directories): Add | 50 | * progmodes/grep.el (grep-find-ignored-directories): Add |
| @@ -2902,7 +2907,7 @@ | |||
| 2902 | * net/tramp-util.el: | 2907 | * net/tramp-util.el: |
| 2903 | * net/tramp-vc.el: Removed. | 2908 | * net/tramp-vc.el: Removed. |
| 2904 | 2909 | ||
| 2905 | * net/ange-ftp.el: Add ange-ftp property to 'start-file-process | 2910 | * net/ange-ftp.el: Add ange-ftp property to 'start-file-process. |
| 2906 | (ange-ftp-file-remote-p): Handle optional parameter CONNECTED. | 2911 | (ange-ftp-file-remote-p): Handle optional parameter CONNECTED. |
| 2907 | 2912 | ||
| 2908 | * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments. | 2913 | * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments. |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 2f06344ccda..2ebf0374658 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -4372,12 +4372,18 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4372 | ;; Treat each name as its own truename. | 4372 | ;; Treat each name as its own truename. |
| 4373 | (put 'file-truename 'ange-ftp 'identity) | 4373 | (put 'file-truename 'ange-ftp 'identity) |
| 4374 | 4374 | ||
| 4375 | ;; We must return non-nil in order to mask our inability to do the job. | ||
| 4376 | ;; Otherwise there are errors when applied to the target file during | ||
| 4377 | ;; copying from a (localhost) Tramp file. | ||
| 4378 | (put 'set-file-modes 'ange-ftp 'ignore) | ||
| 4379 | (put 'set-file-times 'ange-ftp 'ignore) | ||
| 4380 | |||
| 4375 | ;; Turn off RCS/SCCS processing to save time. | 4381 | ;; Turn off RCS/SCCS processing to save time. |
| 4376 | ;; This returns nil for any file name as argument. | 4382 | ;; This returns nil for any file name as argument. |
| 4377 | (put 'vc-registered 'ange-ftp 'null) | 4383 | (put 'vc-registered 'ange-ftp 'null) |
| 4378 | 4384 | ||
| 4379 | ;; We can handle process-file in a restricted way (just for chown). | 4385 | ;; We can handle process-file in a restricted way (just for chown). |
| 4380 | ;; Nothing possible for start-file-process. | 4386 | ;; Nothing possible for `start-file-process'. |
| 4381 | (put 'process-file 'ange-ftp 'ange-ftp-process-file) | 4387 | (put 'process-file 'ange-ftp 'ange-ftp-process-file) |
| 4382 | (put 'start-file-process 'ange-ftp 'ignore) | 4388 | (put 'start-file-process 'ange-ftp 'ignore) |
| 4383 | (put 'shell-command 'ange-ftp 'ange-ftp-shell-command) | 4389 | (put 'shell-command 'ange-ftp 'ange-ftp-shell-command) |