From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: Re: emacs -nw FILE incurs 2-second wait before displaying anything Date: Mon, 26 May 2014 19:51:06 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1401159100 5288 80.91.229.3 (27 May 2014 02:51:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2014 02:51:40 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 27 04:51:32 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wp7UC-0004nJ-AO for ged-emacs-devel@m.gmane.org; Tue, 27 May 2014 04:51:32 +0200 Original-Received: from localhost ([::1]:59521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp7UC-0007jS-1c for ged-emacs-devel@m.gmane.org; Mon, 26 May 2014 22:51:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp7U8-0007j0-No for emacs-devel@gnu.org; Mon, 26 May 2014 22:51:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wp7U7-0003sm-UT for emacs-devel@gnu.org; Mon, 26 May 2014 22:51:28 -0400 Original-Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:61782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp7U7-0003sO-Ns for emacs-devel@gnu.org; Mon, 26 May 2014 22:51:27 -0400 Original-Received: by mail-we0-f176.google.com with SMTP id q59so8606664wes.21 for ; Mon, 26 May 2014 19:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=F8pB8JO1pXE+Edg2lgyVlTXGqqLGQPzowHRcyqCeVgk=; b=uwSgvpyqR9YCN1/9MNIaQsUSAwshPnL58xsQEGJp3aF0uaX0pQdGskZbD6PT5YXvPj N88Wokmj9MBbX5ITGiOs3U3P0DmMVqU+a6lffnYLazmY75Ei/CGz6wELe7u4iU52vPUj Z2MLhNh/52yXeNf70jTxPkaR9rAcCakJR0OMEtGwyIftf0gmtALNFYAF29h2JCF4Zo7/ 9m+pjwWnYcutD63BHWS50etYl/uzzKxIxUogMbG5EqYoNBgaANqf3lCt3yKE8BByulUW h0mPLxwyd8958BWl0QiGdgg80xxejq2pATkZW17OdCEG8TDHtkWaq12Qlne0SBHlXoKb Z8HQ== X-Received: by 10.180.105.1 with SMTP id gi1mr4375024wib.30.1401159086124; Mon, 26 May 2014 19:51:26 -0700 (PDT) Original-Received: by 10.194.81.102 with HTTP; Mon, 26 May 2014 19:51:06 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: B216CzCyqA4QrL5ffspsmtQ8WsI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172127 Archived-At: On Mon, May 26, 2014 at 1:19 PM, Stefan Monnier wrote: >> 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. > > Which terminal emulator are you running? > Can you show the output of `C-h l' right after this 2s pause? Good call. 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 I had TERM set to xterm-256color.