Subject: bug#17607: closed (Re: emacs -nw FILE incurs 2-second wait before displaying anything)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 13 Jun 2014 15:08:03 +0000

Your bug report

#17607: emacs -nw FILE incurs 2-second wait before displaying anything

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
17607: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17607
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: emacs -nw FILE incurs 2-second wait before displaying anything
From: Stefan Monnier <[email-masked]>
To: Jim Meyering <[email-masked]>
Cc: [email-masked]
Date: Fri, 13 Jun 2014 11:07:31 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

>> Does the patch below fix the 2-second wait?
> Yes, it does.  Thank you!

Thanks, installed into emacs-24.

        Stefan

Subject: Re: emacs -nw FILE incurs 2-second wait before displaying anything
From: Jim Meyering <[email-masked]>
To: Stefan Monnier <[email-masked]>, [email-masked]
Cc: emacs-devel <[email-masked]>
Date: Mon, 26 May 2014 21:35:32 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, May 26, 2014 at 8:28 PM, Stefan Monnier
<[email-masked]> wrote:
>> This problem arises only with OS X's "Terminal" (2.3 (309)), but not
>> with aterm, xterm, or iTerm.  Here's the output of "C-h l":
>
>> ESC [ > 8 3 ; 4 0 0 0 3 ; 0 c C-h l
>
> Hmmm... can you check with the Emacs pretest (24.3.91 or checked out
> from `emacs-24')?  If you still see the problem there, please make it
> a bug report so we can better track it.

I confirm that the 2-second delay still strikes when using a
just-bootstrapped-from-"emacs-24" binary and running
src/emacs -nw -Q FILE.  I see the same output as above for "C-h l".

As mentioned above, it appears to be terminal specific,
striking only when using OS X's "Terminal".
The delay arises before the contents of the FILE is first displayed,
and can be skipped if you know to type a key during that short
interval.  For some initial discussion, see this thread:

  https://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00445.html