emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp and dired-do-shell-command


From: Michael Albinus
Subject: Re: tramp and dired-do-shell-command
Date: Mon, 14 Feb 2005 17:24:40 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux)

Frederik Fouvry <address@hidden> writes:

> Symptoms:
>
> `dired-do-shell-command' in a buffer with a remote directory listing
> (tramp) does not work anymore.  It gives the error:
>
> tramp-file-name-for-operation: unknown file I/O primitive: dired-call-process
>
> To repeat, open a remote directory, and press `!' on a file name (eg
> to change permissions).  Pressing `M' gives the same result.

There was a cut'n'waste error with Tramp 2.0.47. You can patch it like
this:

address@hidden:[1171] diff -c tramp.el.orig tramp.el
*** tramp.el.orig       Sun Jan 16 11:51:45 2005
--- tramp.el    Mon Feb 14 17:20:53 2005
***************
*** 4105,4113 ****
       (if (bufferp (nth 0 args)) (nth 0 args) (current-buffer))))
     ; COMMAND
     ((member operation
!           (list 'dired-call-process-command
                    ; Emacs only
!                 'shell
                    ; Post Emacs 21.3 only
                    'process-file
                  ; XEmacs only
--- 4105,4113 ----
       (if (bufferp (nth 0 args)) (nth 0 args) (current-buffer))))
     ; COMMAND
     ((member operation
!           (list 'dired-call-process
                    ; Emacs only
!                 'shell-command
                    ; Post Emacs 21.3 only
                    'process-file
                  ; XEmacs only

Will be fixed in Tramp 2.0.48, to be released not so far from now.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]