unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: npostavs@users.sourceforge.net
Cc: Mark Oteiza <mvoteiza@udel.edu>, 25788@debbugs.gnu.org
Subject: bug#25788: 26.0.50; first C-x C-f triggering tramp is slow
Date: Sun, 19 Feb 2017 09:37:47 +0100	[thread overview]
Message-ID: <87o9xyk23o.fsf@detlef> (raw)
In-Reply-To: <87bmtykdjc.fsf@users.sourceforge.net> (npostavs's message of "Sat, 18 Feb 2017 23:30:47 -0500")

npostavs@users.sourceforge.net writes:

> 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 "/")

I've pushed a fix to master, which shall avoid loading tramp.el just for
file name "/". Since it changes autoloads, it might be necessary to
bootstrap Emacs.

Best regards, Michael.





  reply	other threads:[~2017-02-19  8:37 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
2017-02-19  8:37       ` Michael Albinus [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9xyk23o.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=25788@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    --cc=npostavs@users.sourceforge.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).