[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs -nw FILE incurs 2-second wait before displaying anything
From: |
Eli Zaretskii |
Subject: |
Re: emacs -nw FILE incurs 2-second wait before displaying anything |
Date: |
Mon, 26 May 2014 22:04:41 +0300 |
> From: Jim Meyering <address@hidden>
> Date: Mon, 26 May 2014 10:41:37 -0700
>
> I've been annoyed with emacs -nw for a while (always building
> from latest), and finally have investigated enough to report this.
>
> When I run emacs -nw on an existing file, e.g.,
>
> echo xxx > foo
> emacs -nw foo
>
> I see the normal start-up signs, then a two-second pause,
> and then finally the contents of "foo" are displayed.
>
> However, if I type anything before that two-minute pause,
> I avoid the delay. Likewise, if I run emacs without -nw, this
> two-second pause does not appear.
Looks like the code in xterm.el which asks the terminal something and
waits for response.