[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9647: dirtrack.el patch to support prefixed paths, e.g. tramp remote
From: |
Michael Albinus |
Subject: |
bug#9647: dirtrack.el patch to support prefixed paths, e.g. tramp remote shells |
Date: |
Sun, 16 Oct 2011 10:40:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Ryan Barrett <emacs@ryanb.org> writes:
>> This looks to me like a similar bug as bug #9616, which has been said to
>> be solved a week ago. Could you, please, check whether it is solved for
>> you as well?
>
> i looked at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9616 , and
> this is a different bug. that one is for shell-dirtrack-mode (in
> shell.el); mine is for dirtrack-mode (in dirtrack.el).
>
> i synched to head and rebuilt, and the reproduction steps and patch i
> posted still work.
I see.
However, I still don't know whether this shall be fixed in
dirtrack.el. Maybe it would be better if Tramp could support.
I do not use dirtrack.el myself, so I need some guidance from you to
reproduce. You wrote as recipe:
(shell-dirtrack-mode 0)
(set-variable 'dirtrack-list "[REGEX]")
(dirtrack-mode 1)
What do you use as "[REGEX]"? Shouldn't this be a list?
Remote shells as implemented by Tramp do not provide any directory
information in the prompt. By default, the prompt looks like this:
/sudo:root@hostname: #$
How do you customize that prompt?
Best regards, Michael.