unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: "J. Braden Chancellor" <jbradenchancellor@protonmail.com>
Cc: 24284@debbugs.gnu.org
Subject: bug#24284: Few seconds hang on startup, even with emacs -Q
Date: Thu, 01 Sep 2016 22:49:11 -0400	[thread overview]
Message-ID: <87fupjow2g.fsf@users.sourceforge.net> (raw)
In-Reply-To: <F6aqvB4zb8zUrOzjnDccac8bdwqJZnhfYygrzjXy9tXCw-2joaCD7bYRsgsawzTUEpt0MNJeQHqPPo-EnMCRdmz0VBQhSTLs_oaC_tIOwWo=@protonmail.com> (J. Braden Chancellor's message of "Sun, 21 Aug 2016 16:28:29 -0400")

"J. Braden Chancellor" <jbradenchancellor@protonmail.com> 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?





  reply	other threads:[~2016-09-02  2:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21 20:28 bug#24284: Few seconds hang on startup, even with emacs -Q J. Braden Chancellor
2016-09-02  2:49 ` npostavs [this message]
2016-09-15 23:58   ` npostavs
2016-12-07 20:34     ` Glenn Morris

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=87fupjow2g.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=24284@debbugs.gnu.org \
    --cc=jbradenchancellor@protonmail.com \
    /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).