[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell - remote directories not in buffer-menu
From: |
Michael Albinus |
Subject: |
Re: shell - remote directories not in buffer-menu |
Date: |
Tue, 18 Dec 2007 16:20:11 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) |
Andreas Röhler <address@hidden> writes:
> Remains question with shell: opened in remote directory
> after eshell, shell is shown in buffer-menu like
> this:
>
> . * *shell* 35 Shell:run ~/PATH
> % acronym<2> 2400 Dired by date
> /ssh:address@hidden:/home/USER/PATH
> * *eshell* 77 EShell
> /ssh:address@hidden:/home/USER/PATH
The following patch shall fix it for both shell and eshell (when
applying cd):
*** /usr/local/src/emacs/lisp/files.el.~1~ Sun Dec 16 20:44:34 2007
--- /usr/local/src/emacs/lisp/files.el Tue Dec 18 16:09:41 2007
***************
*** 633,639 ****
(error "%s is not a directory" dir)
(error "%s: no such directory" dir))
(if (file-executable-p dir)
! (setq default-directory dir)
(error "Cannot cd to %s: Permission denied" dir))))
(defun cd (dir)
--- 633,640 ----
(error "%s is not a directory" dir)
(error "%s: no such directory" dir))
(if (file-executable-p dir)
! (setq default-directory dir
! list-buffers-directory dir)
(error "Cannot cd to %s: Permission denied" dir))))
(defun cd (dir)
> Thanks a lot
>
> Andreas Röhler
Best regards, Michael.
Re: shell - remote directories not in buffer-menu, Michael Albinus, 2007/12/17