From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#25788: 26.0.50; first C-x C-f triggering tramp is slow Date: Sun, 19 Feb 2017 07:36:56 -0500 Message-ID: <20170219123656.GA1453@holos.localdomain> References: <87wpcn5hkl.fsf@holos> <83r32uq2co.fsf@gnu.org> <8760k6alcz.fsf@holos> <87bmtykdjc.fsf@users.sourceforge.net> <87o9xyk23o.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1487507898 31352 195.159.176.226 (19 Feb 2017 12:38:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2017 12:38:18 +0000 (UTC) User-Agent: Mutt/1.7.2+46 (7c97a8af8718) (2016-11-26) Cc: 25788-done@debbugs.gnu.org, npostavs@users.sourceforge.net To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 13:38:14 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 1cfQkn-0007qX-FX for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 13:38:13 +0100 Original-Received: from localhost ([::1]:33402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfQkt-0000bH-DL for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 07:38:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfQkj-0000Zj-4n for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 07:38:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfQkd-0000X1-AE for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 07:38:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfQkd-0000Wh-56 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 07:38:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfQkc-00081R-PT for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 07:38:02 -0500 Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2017 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25788@debbugs.gnu.org, mvoteiza@udel.edu, mvoteiza@udel.edu Original-Received: via spool by 25788-done@debbugs.gnu.org id=D25788.148750782530761 (code D ref 25788); Sun, 19 Feb 2017 12:38:02 +0000 Original-Received: (at 25788-done) by debbugs.gnu.org; 19 Feb 2017 12:37:05 +0000 Original-Received: from localhost ([127.0.0.1]:45641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfQjh-000805-6g for submit@debbugs.gnu.org; Sun, 19 Feb 2017 07:37:05 -0500 Original-Received: from mail-qk0-f174.google.com ([209.85.220.174]:34483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfQjf-0007zc-GZ for 25788-done@debbugs.gnu.org; Sun, 19 Feb 2017 07:37:03 -0500 Original-Received: by mail-qk0-f174.google.com with SMTP id s186so76750819qkb.1 for <25788-done@debbugs.gnu.org>; Sun, 19 Feb 2017 04:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rRcWxxRaed7nBlFCU+Tuk7pb52m/NPVEmPEkI3VKsfw=; b=dRNhlOZhBngKHfaeXLbMDgPY0aPtipC6D5V6S+QZWkCyKrZlWBiGXBR0v6pRDPXWfd qpWSh2p3Nq6N/udUxCqk/QhiiN6LcOB2PIP+M5zdX5gzhL3vzAxWO80BHpXJ5pkreQMF tRNMp3PcK2LJ5XMKReLPmDoPYW6UrBMc9oYR/4lUExMuE3LA1BvWLBDTc8b5xRQt9rh0 ifxSuilDLW4JKrTfotUHbsZulkb48JD7QoJtvwfBE/x8O6gkKl7IGXXBRi3HJeFL3gt/ 8+ma9WZzUSw4Dw/IddsoYY6K2ggK8fNgN0kdey1oS8HWJshhMDhg5OFJd16AbtFbgQ3j jHcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rRcWxxRaed7nBlFCU+Tuk7pb52m/NPVEmPEkI3VKsfw=; b=jvReOoTsN/MYzlWl7sjcEE6eKqcG1hdPqRXfuTKdXe+td4upupeI0/5ioZZCvLpbF4 C4PUNmyTZzgGlUFWAeDwciuuGOEZPa6z+TpmsPe8cYS/bH2AuUo9/d5TQenj/wTbvHmU anT/cCqIDZPstM6seZpaEY0Q45L+0NmgjAcg9WSjbJHDDuHaWzU76tHjQbBiPBJI9Ump uo1IEgVHzHmr8YQlEKo4khwuRaob6xiUTXN+VDnVen5DzUcNA26IuQscz838q/i1xwhK VBnsjSpIAdr/QrohM3kKJP8oA0I/IEDV30jyXGdubDKZ9khylwiswkNVJv952K9bN015 lm3g== X-Gm-Message-State: AMke39m/QEv+rQit2Dd79UVkyeMMEXCEG17BYGmqURgnbe7BOJls6GkUvdRMxGC5FIrJwHpI X-Received: by 10.55.17.21 with SMTP id b21mr14183897qkh.289.1487507817628; Sun, 19 Feb 2017 04:36:57 -0800 (PST) Original-Received: from holos.localdomain (pool-173-67-40-97.bltmmd.fios.verizon.net. [173.67.40.97]) by smtp.gmail.com with ESMTPSA id g32sm10235173qtd.28.2017.02.19.04.36.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Feb 2017 04:36:56 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 26F126611B; Sun, 19 Feb 2017 07:36:56 -0500 (EST) Content-Disposition: inline In-Reply-To: <87o9xyk23o.fsf@detlef> 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:129532 Archived-At: On 19/02/17 at 09:37am, Michael Albinus wrote: > 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. Indeed fixed, thanks all.