From: npostavs@users.sourceforge.net
To: Mark Oteiza <mvoteiza@udel.edu>
Cc: 25788@debbugs.gnu.org
Subject: bug#25788: 26.0.50; first C-x C-f triggering tramp is slow
Date: Sat, 18 Feb 2017 23:30:47 -0500 [thread overview]
Message-ID: <87bmtykdjc.fsf@users.sourceforge.net> (raw)
In-Reply-To: <8760k6alcz.fsf@holos> (Mark Oteiza's message of "Sat, 18 Feb 2017 22:51:56 -0500")
Mark Oteiza <mvoteiza@udel.edu> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Mark Oteiza <mvoteiza@udel.edu>
>>> Date: Sat, 18 Feb 2017 16:12:42 -0500
>>>
>>> >From -Q:
>>>
>>> 1. C-x C-f
>>> 2. Experience delay
>>> 3. C-g
>>> 4. C-x C-c
>>>
>>> Depending on where Emacs is started, loading tramp is triggered and
>>> there is a delay before the prompt is shown. The delay is about a
>>> quarter second on my system. This is quite noticeable.
>>
>> Not reproducible on MS-Windows, but maybe the place "where Emacs is
>> started" needs to be defined in more detail. Can you tell in what
>> directories it happens for you?
>
> My home directory is the only one I'm aware of.
I see this also on GNU/Linux (with master, not emacs-25), here's a
backtrace from doing (debug-on-entry 'require) before the C-x C-f:
Debugger entered--entering a function:
* require(tramp-compat)
byte-code(...)
load("tramp" noerror nomessage)
(and (null load-in-progress) (load "tramp" (quote noerror) (quote nomessage)))
(let ((default-directory temporary-file-directory)) (and (null load-in-progress) (load "tramp" (quote noerror) (quote nomessage))))
(if (let ((default-directory temporary-file-directory)) (and (null load-in-progress) (load "tramp" (quote noerror) (quote nomessage)))) (apply operation args) (tramp-completion-run-real-handler operation args))
tramp-autoload-file-name-handler(substitute-in-file-name "/")
apply(tramp-autoload-file-name-handler substitute-in-file-name "/")
(if (tramp-completion-mode-p) (apply (quote tramp-autoload-file-name-handler) operation args) (tramp-completion-run-real-handler operation args))
tramp-completion-file-name-handler(substitute-in-file-name "/")
substitute-in-file-name("/")
rfn-eshadow-update-overlay()
read-from-minibuffer("Find file: " "~/" (keymap ...) nil file-name-history "~/" nil)
completing-read-default("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/" nil)
completing-read("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/")
read-file-name-default("Find file: " nil "~/" confirm-after-completion nil nil)
read-file-name("Find file: " nil "~/" confirm-after-completion)
find-file-read-args("Find file: " confirm-after-completion)
byte-code("\300\301\302 \"\207" [find-file-read-args "Find file: " confirm-nonexistent-file-or-buffer] 3)
call-interactively(find-file nil nil)
command-execute(find-file)
next prev parent reply other threads:[~2017-02-19 4:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-18 21:12 bug#25788: 26.0.50; first C-x C-f triggering tramp is slow Mark Oteiza
2017-02-19 3:35 ` Eli Zaretskii
2017-02-19 3:51 ` Mark Oteiza
2017-02-19 4:30 ` npostavs [this message]
2017-02-19 8:37 ` Michael Albinus
2017-02-19 12:36 ` Mark Oteiza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmtykdjc.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=25788@debbugs.gnu.org \
--cc=mvoteiza@udel.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.