[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change Tramp syntax
From: |
Michael Albinus |
Subject: |
Re: Change Tramp syntax |
Date: |
Sat, 11 Mar 2017 21:31:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
Hi Eli,
>> Currently, we have implemented option 2. But the check, whether the host
>> name in /ssh:foo collides with a method, happens too late, because file
>> name handlers are fired by parsing the file name, and not by additional
>> checks (like a function call).
>
> Are the recent changes the reason that typing "C-x C-f ~/da" is now
> followed by a perceptible delay, due to Tramp being auto-loaded? This
> used not to be the case.
"~/da" shall not invoke Tramp. But it does, indeed. If I call "emacs -Q"
and eval "M-x debug-on-entry RET load", then Tramp is already loaded
after typing "~/d". The reason is
substitute-in-file-name("/d")
rfn-eshadow-update-overlay()
read-from-minibuffer("Find file: " "~/" (keymap (keymap (32)) keymap (10 .
minibuffer-complete-and-exit) (13 . minibuffer-complete-and-exit) keymap
(menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Complete"
minibuffer-complete :help "Complete as far as possible") (space menu-item
"Complete Word" minibuffer-complete-word :help "Complete at most one word") (63
menu-item "List Completions" minibuffer-completion-help :help "Display all
possible completions") "Minibuf")) (27 keymap (118 . switch-to-completions))
(prior . switch-to-completions) (63 . minibuffer-completion-help) (32 .
minibuffer-complete-word) (9 . minibuffer-complete) keymap (menu-bar keymap
(minibuf "Minibuf" keymap (previous menu-item "Previous History Item"
previous-history-element :help "Put previous minibuffer history element in the
minibuffer") (next menu-item "Next History Item" next-history-element :help
"Put next minibuffer history element in the minibuffer") (isearch-backward
menu-item "Isearch History Backward" isearch-backward :help "Incrementally
search minibuffer history backward") (isearch-forward menu-item "Isearch
History Forward" isearch-forward :help "Incrementally search minibuffer history
forward") (return menu-item "Enter" exit-minibuffer :key-sequence "" :help
"Terminate input and exit minibuffer") (quit menu-item "Quit"
abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (10 .
exit-minibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-tab .
file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back .
previous-history-element) (up . previous-line-or-history-element) (prior .
previous-history-element) (XF86Forward . next-history-element) (down .
next-line-or-history-element) (next . next-history-element) (27 keymap (114 .
previous-matching-history-element) (115 . next-matching-history-element) (112 .
previous-history-element) (110 . next-history-element))) nil file-name-history
"~/" nil)
The delay is not serious on my 7-years old T500 (less than half a
second). I don't know whether this counts as "perceptible".
Best regards, Michael.
- Re: [Emacs-diffs] master 37b88d7: Fix bug#23006, Stefan Monnier, 2017/03/10
- Re: [Emacs-diffs] master 37b88d7: Fix bug#23006, Michael Albinus, 2017/03/10
- Re: [Emacs-diffs] master 37b88d7: Fix bug#23006, Stefan Monnier, 2017/03/10
- Re: [Emacs-diffs] master 37b88d7: Fix bug#23006, Michael Albinus, 2017/03/10
- Re: [Emacs-diffs] master 37b88d7: Fix bug#23006, Stefan Monnier, 2017/03/10
- Change Tramp syntax (was: [Emacs-diffs] master 37b88d7: Fix bug#23006), Michael Albinus, 2017/03/10
- Re: Change Tramp syntax (was: [Emacs-diffs] master 37b88d7: Fix bug#23006), Eli Zaretskii, 2017/03/10
- Re: Change Tramp syntax, Stefan Monnier, 2017/03/10
- Re: Change Tramp syntax, Michael Albinus, 2017/03/11
- Re: Change Tramp syntax, Eli Zaretskii, 2017/03/11
- Re: Change Tramp syntax,
Michael Albinus <=
- Re: Change Tramp syntax, Eli Zaretskii, 2017/03/12
- Re: Change Tramp syntax, Michael Albinus, 2017/03/12
- Re: Change Tramp syntax, Eli Zaretskii, 2017/03/12
- Re: Change Tramp syntax, Michael Albinus, 2017/03/13
- Re: Change Tramp syntax, Eli Zaretskii, 2017/03/13
- Re: Change Tramp syntax, Michael Albinus, 2017/03/13
- Re: Change Tramp syntax, Eli Zaretskii, 2017/03/13
- Re: Change Tramp syntax, Michael Albinus, 2017/03/14
- Re: Change Tramp syntax, Michael Albinus, 2017/03/14
- Re: Change Tramp syntax, Eli Zaretskii, 2017/03/14