From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#16988: 24.3.50; emacs -nw -Q --eval '(kill-emacs)' takes 2 seconds unless I hit a key Date: Tue, 11 Mar 2014 20:08:21 +0100 Message-ID: <87k3c08sey.fsf@yahoo.fr> References: <8761nkkbf6.fsf@yahoo.fr> <83iorkodqs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1394564949 26796 80.91.229.3 (11 Mar 2014 19:09:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2014 19:09:09 +0000 (UTC) Cc: Nicolas Richard , 16988@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 11 20:09:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WNS3B-0006HR-I9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Mar 2014 20:09:17 +0100 Original-Received: from localhost ([::1]:57002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNS3B-000286-3r for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Mar 2014 15:09:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNS32-000203-FY for bug-gnu-emacs@gnu.org; Tue, 11 Mar 2014 15:09:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNS2w-0002my-M5 for bug-gnu-emacs@gnu.org; Tue, 11 Mar 2014 15:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNS2w-0002mr-K2 for bug-gnu-emacs@gnu.org; Tue, 11 Mar 2014 15:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WNS2w-0003kw-62 for bug-gnu-emacs@gnu.org; Tue, 11 Mar 2014 15:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Mar 2014 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16988 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16988-submit@debbugs.gnu.org id=B16988.139456491214389 (code B ref 16988); Tue, 11 Mar 2014 19:09:02 +0000 Original-Received: (at 16988) by debbugs.gnu.org; 11 Mar 2014 19:08:32 +0000 Original-Received: from localhost ([127.0.0.1]:33576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WNS2R-0003k0-D7 for submit@debbugs.gnu.org; Tue, 11 Mar 2014 15:08:31 -0400 Original-Received: from mailrelay004.isp.belgacom.be ([195.238.6.170]:14060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WNS2K-0003jm-Sf for 16988@debbugs.gnu.org; Tue, 11 Mar 2014 15:08:29 -0400 X-Belgacom-Dynamic: yes Original-Received: from 89.128-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.178.128.89]) by relay.skynet.be with ESMTP; 11 Mar 2014 20:08:21 +0100 In-Reply-To: <83iorkodqs.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Mar 2014 19:18:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86748 Archived-At: Eli Zaretskii writes: > I cannot reproduce this. I get the same 0.330s time with both current > trunk and Emacs 24.3. That's on this system: > > eliz@fencepost:~/bzr/emacs/trunk$ uname -a > Linux fencepost.gnu.org 2.6.32-48-server #1trisquel3 SMP Mon Jun 17 20:00:36 UTC 2013 x86_64 GNU/Linux > > My crystal ball says that your TERM variable points to xterm, but your > terminal either isn't xterm or doesn't support the kind of queries > that xterm--query on xterm.el uses. That function indeed waits for 2s > for the terminal to respond. Your crystal ball works well : I use gnome-terminal and that sets TERM to xterm. I'll have to figure out the best way to fix that. using TERM=gnome fixes the problem, but I don't know if that's TRT, and I don't know either where I should set that. I've read that: > if [ "$COLORTERM" = "gnome-terminal" ] > then > export TERM=gnome > fi to my .bashrc will fix it but it's not pretty. Thanks. -- Nico.