Package: tramp
Version: 1:2.0.47-1
Severity: normal
Tags: patch

Hello,

Here are the steps to reproduce the problem:

- launch Emacs
- open a remote buffer with tramp (using default ssh method), i.e.
/[EMAIL PROTECTED]:/home/fred/test (the file does not have to exist)
- try to execute the shell command with "Esc ! date" from this buffer
- I get the following error message in the *Messages* buffer:
tramp-file-name-for-operation: unknown file I/O primitive: shell-command

I found a message from Michael Albinus on emacs-pretest-bug mailing list
with a patch for this problem
(http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-02/msg00138.html).

The patch is the following:

*** 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

This fixes the problem.

The patch is supposed to go in the not-yet-released tramp 2.0.48. According to
tramp CVS, it is also included in the latest upstream version (2.1.3).


Fred

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages tramp depends on:
ii  emacs21 [emacsen]             21.3+1-9   The GNU Emacs editor

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to