help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] Re: Autocomplete in tramp is no longer working in version Em


From: Michael Albinus
Subject: Re: [h-e-w] Re: Autocomplete in tramp is no longer working in version Emacs-22-CvsP060625-EmacsW32-1.06
Date: Wed, 23 Aug 2006 18:13:34 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux)

Eli Zaretskii <address@hidden> writes:

>> Because realdir is "h:/", the Tramp completion file name handler is not
>> called.
>
> Isn't _this_ the bug, right there?  Why isn't the Tramp completion
> file name handler not called for a file name such as "h:/"?  I think
> it should.

| file-name-handler-alist's value is 
| 
(("\\(\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'\\)\\|\\(\\.bz2\\'\\)\\|\\(\\.tgz\\'\\)\\|\\(\\.gz\\(~\\|\\.~[0-9]+~\\)?\\'\\)"
 . jka-compr-handler)
|  ("^/$\\|^/[^/:][^/]*$" . tramp-completion-file-name-handler)
|  ("\\`/[^/:]+:" . tramp-file-name-handler)
|  ("\\`/:" . file-name-non-special))

Then the regexp for tramp-completion-file-name-handler must be
"^/$\\|^\\([A-Za-z]:\\)?/[^/:][^/]*$" in the Windows case.

I'll check whether this is applicable. There might be places in the
code where the drive letter must be removed before there are further
actions.

Best regards, Michael.





reply via email to

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