[Top][All Lists]

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

Re: partial-completion-mode and tramp.

From: Michael Albinus
Subject: Re: partial-completion-mode and tramp.
Date: Tue, 12 Oct 2004 23:05:17 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Stefan <address@hidden> writes:

>>> Actually, now that I think about it, I believe this is not a problem any
>>> more in Emacs-CVS because `substitute-in-file-name' now ignores the $ which
>>> do not correspond to a valid envvar.
>> Well, but Tramps supports older Emacsen as well. So we should apply
>> this defadvice for those versions only?
> Yes, you can test:
>      (condition-case nil
>          (substitute-in-file-name "C$/")
>        (error
>          ...add the advice...))
> writing it this way is also a good way to document why the advice is used.
> Documentation in the form of code has the advantage over comments that it
> doesn't have the same tendency to go stale.


>         Stefan

Thanx for all your suggestions, and best regards, Michael.

reply via email to

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