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: Sat, 18 Feb 2017 16:12:42 -0500 Message-ID: <87wpcn5hkl.fsf@holos> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487452393 15135 195.159.176.226 (18 Feb 2017 21:13:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2017 21:13:13 +0000 (UTC) To: 25788@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 18 22:13:09 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 1cfCJY-0003TF-Sj for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Feb 2017 22:13:09 +0100 Original-Received: from localhost ([::1]:59851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfCJc-0006jC-TW for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Feb 2017 16:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfCJW-0006iw-Dt for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:13:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfCJS-0005aM-9g for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfCJS-0005a0-5d for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfCJR-0005iQ-UA for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Feb 2017 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148745237821958 (code B ref -1); Sat, 18 Feb 2017 21:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2017 21:12:58 +0000 Original-Received: from localhost ([127.0.0.1]:45411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfCJN-0005i6-Ri for submit@debbugs.gnu.org; Sat, 18 Feb 2017 16:12:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfCJM-0005ht-Da for submit@debbugs.gnu.org; Sat, 18 Feb 2017 16:12:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfCJG-0005Ic-Bi for submit@debbugs.gnu.org; Sat, 18 Feb 2017 16:12:51 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfCJG-0005ID-8i for submit@debbugs.gnu.org; Sat, 18 Feb 2017 16:12:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfCJF-0006ig-Ax for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:12:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfCJB-0005Ap-AR for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:12:49 -0500 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:35990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfCJB-0005AI-5k for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 16:12:45 -0500 Original-Received: by mail-qt0-x229.google.com with SMTP id k15so63951847qtg.3 for ; Sat, 18 Feb 2017 13:12:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=1LJ0Aj2hBDTK9R0nnp+i1fPRxxEIc/Fld268oWjIdUc=; b=WbQUP7a21rr/J/uT0bl/KzaS5R7zYdEwGuTDUCdUpj4G9yxUXz3MQ4gGHbAvUE7Nf8 M0geubMCBKUNOPi64upFaaetrL2uDdee1Wh0Ugqrzbl9WjUvnz/edNjLkPWLfe/UHo5H mwMg0bLKe2axKWRsRbhxU3C3t5NUhR1lYLnj9CTHV+KvJO0fz4EXvIxjUpRKn1BOBZa0 JXoX68LD0286kmo7xh/38x8jm4ZBclSoxxFv2O0GJJEzAgWx3dwOpVXZit2T/OuE3EfC EGOGEkwOcsQ/p4xe6TO/cWyw6u2+X3v8FB9CmJMNvZpLsY4ffNYw7Vvbg1So7HkosgR8 M0Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=1LJ0Aj2hBDTK9R0nnp+i1fPRxxEIc/Fld268oWjIdUc=; b=o9+lgzyUmmeiXMoVCq6Ym6VCC5jJUEVKd3OyEbaZkbe/UAv84ufWFpEFMGFbZiL7UC fXGoHMDaoXF91w/AG0HHYzINlTvlF01f83NVAzfz+jIAeG2InUWhYje6guMqJM+sblRq 30AgAUMvvmdikOL8W5Eyuu/sCXFwlW3qd5f5tIuryxFa6M/yqlhKFcmHDiyTgIX75/Md FXpL/2CF6kb7V4G4A5TWL2y4EKk296vxohei9JX+gIDJ5CNcfJtfJin9DJmhY91cwmut ixGX8+G8UUWeaXV5Xi/EWEV3aLdaTur0l6U6q8PVhjuId1yIwAaOkQretNlViCW7AeHB ZrJQ== X-Gm-Message-State: AMke39k/d7oKbjD7RrxWuKXWinjybRWTktj36NuPLkypYCf5IzwtAgaO6RcRyWiWoLUqvo7o X-Received: by 10.237.59.186 with SMTP id r55mr15267543qte.25.1487452364234; Sat, 18 Feb 2017 13:12:44 -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 x64sm9098476qke.60.2017.02.18.13.12.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Feb 2017 13:12:43 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 62A0D6611B; Sat, 18 Feb 2017 16:12:42 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:129519 Archived-At: Hi, >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. Stracing emacs started in two different directories and executing the recipe, one log is 6884 lines, the other 1949. The extra 5000 lines looks like emacs is opening every library known to it, finishing up by reading ssh/netrc/rlogin files. In GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2017-02-17 built on logos Repository revision: 8675f9c8b8a002530d0c4e0263bb3d4cf3a649fa Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --without-gconf --with-modules --with-x-toolkit=lucid 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES LIBSYSTEMD