From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#25788: 26.0.50; first C-x C-f triggering tramp is slow Date: Sun, 19 Feb 2017 09:37:47 +0100 Message-ID: <87o9xyk23o.fsf@detlef> References: <87wpcn5hkl.fsf@holos> <83r32uq2co.fsf@gnu.org> <8760k6alcz.fsf@holos> <87bmtykdjc.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487493558 28211 195.159.176.226 (19 Feb 2017 08:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 08:39:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Mark Oteiza , 25788@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 09:39:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfN1O-0006Eq-HL for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 09:39:06 +0100 Original-Received: from localhost ([::1]:32911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfN1T-0005Zz-Oq for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 03:39:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfN1N-0005Zs-Jv for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 03:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfN1K-00077W-Fg for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 03:39:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfN1K-00077I-Bh for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 03:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfN1K-0000TK-0M for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 03:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2017 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25788-submit@debbugs.gnu.org id=B25788.14874934921748 (code B ref 25788); Sun, 19 Feb 2017 08:39:01 +0000 Original-Received: (at 25788) by debbugs.gnu.org; 19 Feb 2017 08:38:12 +0000 Original-Received: from localhost ([127.0.0.1]:45563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfN0W-0000S8-Jy for submit@debbugs.gnu.org; Sun, 19 Feb 2017 03:38:12 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:54358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfN0U-0000Ru-0o for 25788@debbugs.gnu.org; Sun, 19 Feb 2017 03:38:11 -0500 Original-Received: from detlef.gmx.de ([93.197.212.168]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M2ckv-1cOfUn3J6T-00sPpn; Sun, 19 Feb 2017 09:37:48 +0100 In-Reply-To: <87bmtykdjc.fsf@users.sourceforge.net> (npostavs's message of "Sat, 18 Feb 2017 23:30:47 -0500")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y7LUmcSk7QUFjOAZ0nqK9r0AChmTWV X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129529 Archived-At: 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.