From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24284: Few seconds hang on startup, even with emacs -Q Date: Thu, 01 Sep 2016 22:49:11 -0400 Message-ID: <87fupjow2g.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1472784564 21467 195.159.176.226 (2 Sep 2016 02:49:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2016 02:49:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24284@debbugs.gnu.org To: "J. Braden Chancellor" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 02 04:49:20 2016 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 1bfeXe-0004ur-Hr for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Sep 2016 04:49:18 +0200 Original-Received: from localhost ([::1]:39781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfeXc-0004Zw-Ap for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Sep 2016 22:49:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfeXT-0004ZC-7m for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2016 22:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfeXO-0005gi-U4 for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2016 22:49:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfeXO-0005gT-QI for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2016 22:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bfeXO-0000St-3d for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2016 22:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Sep 2016 02:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24284 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24284-submit@debbugs.gnu.org id=B24284.14727845381777 (code B ref 24284); Fri, 02 Sep 2016 02:49:02 +0000 Original-Received: (at 24284) by debbugs.gnu.org; 2 Sep 2016 02:48:58 +0000 Original-Received: from localhost ([127.0.0.1]:46783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfeXK-0000Sb-JT for submit@debbugs.gnu.org; Thu, 01 Sep 2016 22:48:58 -0400 Original-Received: from mail-it0-f53.google.com ([209.85.214.53]:38817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfeXI-0000SN-OR for 24284@debbugs.gnu.org; Thu, 01 Sep 2016 22:48:57 -0400 Original-Received: by mail-it0-f53.google.com with SMTP id c198so15385326ith.1 for <24284@debbugs.gnu.org>; Thu, 01 Sep 2016 19:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Myu7Rlhvn6BYiDhsGSMC3MCk04TR9fv7jWY1Ix91Clc=; b=SmOWOAbZdxdo+dlap7yMxujH/gPJMclul07DkjWR3E0cVNr4tyI4RzhL/aMQTJQei+ 46dBbaeW1p1hCBFUdsZ5XupHnYZdMGiAgQNdUjzr21IS9OpVaZB+bBlR8261yS0Y/Kul YGQKDxvamWNdY1r3zILTii7Fbo3nieJIURcPGnn3Ns/L1ImCnVj3UnKSumpKcfn0J9bv pADk2AfG6bYmPrGL6b7U4WrP9co/bIaRU66BptB/Kt7Rlsmm2ytiTbsxYYSORU+HGqOQ opfQEzANSUv1aukz7UQwtSfGSi/ZnCRQ+6SxR39E2FO2zyTJw76WYMESQhzcfbb/q5fI cQzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Myu7Rlhvn6BYiDhsGSMC3MCk04TR9fv7jWY1Ix91Clc=; b=DaA2d0S2dExRpZkO3tzr7/ltlwzyHcH2yDbrm+w4hmt4G12QZAe2DpPUK0u84NMaac p2JOjoJD0tQhra6c5iR+GDMAcxBa/F95k7wYapahRT/srDkiBj8l/+17PUhp9I5JvTj4 FJDTgd1kEX0pPfdTcxOOy5HDJwtqQ5WoOaWygRWzgEfGqARu5RFiLiCtPCY1ipb8WoTn qYuwBHoGtVUbg1PoNYPjGVEjpEe8EtovkkOdN9UNbN1St4mDd5Q/XMjwvCxGLjDWdIts bRvJflZwoAMWy9nt9qwFT7u+cMYKjsZKMIaznz6Wavnq1BkHHhGOccB+rVy11WkAp2jV JbEg== X-Gm-Message-State: AE9vXwMO609rpFvdM14ZmMS/uEtEtn6OVjKx1T9hXb/H3Pm9Nv5GbzZluWrrD/zhNwAdyg== X-Received: by 10.36.204.68 with SMTP id x65mr1648379itf.54.1472784531250; Thu, 01 Sep 2016 19:48:51 -0700 (PDT) Original-Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id d66sm1059218ith.9.2016.09.01.19.48.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Sep 2016 19:48:50 -0700 (PDT) In-Reply-To: (J. Braden Chancellor's message of "Sun, 21 Aug 2016 16:28:29 -0400") 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:122837 Archived-At: "J. Braden Chancellor" writes: > Whenever I open a file, Emacs hangs for a few seconds on the *scratch* buffer before proceeding to the file. The hang is about two seconds on my very fast desktop, > about four seconds on my fast phone, and about six seconds on the decent servers I SSH into over satellite. It occurs whether I open the file normally (emacs > test.txt), open it as a client of the daemon (emacsclient test.txt), or open it without an init file (emacs -Q test.txt). I've encountered this problem on four systems so > far: a desktop running Bash on Ubuntu on Windows (emacs24-nox 24.3.1), a phone running Ubuntu via Termux on Android (emacs 25.0.95-1), a server running > Ubuntu (emacs24-nox 24.5-1), and a server running Arch (emacs-nox 24.5-4 AND emacs25-git 25.1.r125112-1). I haven't seen it on my Fedora desktop (emacs-nox > 25.1-0.2.rc1.fc24) or when using the unofficial emacs-w64 Windows client (emacs 25.0.94.2). I have already tried emacs -Q, completely removing my .emacs and > .emacs.d, mucking about with my /etc/hosts, etc, and building Emacs from source. The only way to avoid the issue is to minimize Emacs (C-z), restore it (%emacs), > and manually open the file I want to edit (C-x C-f). While it isn't a huge problem when staying around in a few files for a while, the seconds really add up when making a > lot of small edits to many different files. If you M-x toggle-debug-on-quit and then C-g during the pause do you get a backtrace?