bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5840: 24.0.50; wrong tramp-file-name-regexp


From: Stefan Monnier
Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp
Date: Mon, 12 Apr 2010 14:20:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

[ I don't have Michael's email, sorry. ]

> === modified file 'lisp/minibuffer.el'
> *** lisp/minibuffer.el        2010-03-24 18:02:56 +0000
> --- lisp/minibuffer.el        2010-04-12 03:48:02 +0000
> ***************
> *** 1028,1034 ****
>     "Display a list of possible completions of the current minibuffer 
> contents."
>     (interactive)
>     (message "Making completion list...")
> !   (let* ((start (field-beginning))
>            (string (field-string))
>            (completions (completion-all-completions
>                          string
> --- 1028,1035 ----
>     "Display a list of possible completions of the current minibuffer 
> contents."
>     (interactive)
>     (message "Making completion list...")
> !   (let* ((tramp-completion-mode t)
> !      (start (field-beginning))
>            (string (field-string))
>            (completions (completion-all-completions
>                          string

That's going very much along the lines of 

>> but maybe we can help it by having the completion code warn Tramp
>> that this is only used for completion.

so it'd be OK.  Two issues, tho:
1- first, I'd like to know why Tramp doesn't just signal an error,
   rather than mess with windows and stuff.
2- if we have to go this route it'll have to use a name that's not
   specific to tramp.  Maybe `completion-only' or something like that.


-- Stefan







reply via email to

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