From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#17648: 24.4.50; regression: emacsclient under screen (1) slow for some values of TERM Date: Sat, 31 May 2014 18:26:25 -0700 Message-ID: <538A8141.5030809@dancol.org> References: <877g526bt3.fsf@boo.workgroup> <538A8107.1030603@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KSFHVP2Iq8oveLiAVlW5V6CFd91NFWPch" X-Trace: ger.gmane.org 1401586043 2577 80.91.229.3 (1 Jun 2014 01:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 01:27:23 +0000 (UTC) Cc: 17648@debbugs.gnu.org To: Stefan Monnier , Gregor Zattler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 03:27: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 1WquYN-0008Ie-Sp for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 03:27:16 +0200 Original-Received: from localhost ([::1]:33479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WquYN-0004KM-Eb for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 May 2014 21:27:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WquYF-0004GK-LT for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 21:27:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WquYA-00013U-DN for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 21:27:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WquYA-00013O-9t for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 21:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WquY9-0002wL-Se for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 21:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jun 2014 01:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17648-submit@debbugs.gnu.org id=B17648.140158599111231 (code B ref 17648); Sun, 01 Jun 2014 01:27:01 +0000 Original-Received: (at 17648) by debbugs.gnu.org; 1 Jun 2014 01:26:31 +0000 Original-Received: from localhost ([127.0.0.1]:39264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WquXe-0002v4-OF for submit@debbugs.gnu.org; Sat, 31 May 2014 21:26:31 -0400 Original-Received: from dancol.org ([96.126.100.184]:50019) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WquXb-0002uu-B4 for 17648@debbugs.gnu.org; Sat, 31 May 2014 21:26:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=KMkvUhtk1U/phPt7ZLSes9Aga1IvQsWiXREOMBH7MP4=; b=e37EmmFRIh5+MqWn26dPp1cETGrOztqd05TS3h2OdRn0zeVw39iDn/SfTiE/J8ypMisbTvBvtlc8AY1rVh2PuSBifIrF5bd1IL2NLH3lzeRVzc1GG8vuaN8TkSEgIMmX5F0CT0Lxbr+ur3nhC5FucC6Gghz0w5exqOnJyZMyS2+4nVzrsSBgnjj2jA7cBYmEWKkiq3vM2fvfEYytJP/kHuygQCOYt4TfKrI0HqgPX+n1nqGcb27DVxZmaWQPGstmordeC2wP0uhU6OwjnEb0wEDO44O9id6L4hHcYj6fBp51qKX5EScbojGvnQ1vllkxW72Gwnq3RoR5RS432wmf3Q==; Original-Received: from [2601:8:b240:264::e5a] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1WquXa-0006sz-8n; Sat, 31 May 2014 18:26:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <538A8107.1030603@dancol.org> X-Enigmail-Version: 1.6 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:89835 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KSFHVP2Iq8oveLiAVlW5V6CFd91NFWPch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/31/2014 06:25 PM, Daniel Colascione wrote: > On 05/31/2014 06:23 PM, Stefan Monnier wrote: >>> almost instantaneously shows the scratch buffer (or some other >>> last used buffer), then for 2 secs nothing happens, then the >>> window shows the buffer which corresponds to some-file-name and >>> one is able to work with it. >> >>> This happens for some values of TERM. >> >> Can you describe as precisely as possible the text-terminal you're >> using, and tell us what C-h l says right after this 2s delay? >> >>> I did a git bisect on the repo and this produced: >> [...] >>> 2014-04-17 Daniel Colascione >>> Add support for bracketed paste mode; add infrastructure for >>> managing terminal mode enabling and disabling automatically. >> >> Dan, it looks like the magic sequence to enable bracketed paste mode >> will need to use some version checking code :-( >> Can you take a look at it? >=20 > Sure --- but I'm not sure why the result varies depending on the value > of TERM. Aren't we sending the same sequence regardless? Jim's recent > complaint about another two second delay seems related. I feel like the= > terminal-echo recognition must be wrong somehow. Also, that change also made term/screen.el use term/xterm.el. It's not the bracketed paste stuff per se that's causing the problem, but the terminal echo stuff. --KSFHVP2Iq8oveLiAVlW5V6CFd91NFWPch Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTioFBAAoJEMAaIROpHW7I3QkP/3En3IuNwRBBwBmeedK8/4QY KIXkmlsSZm0GXXTDU2cxsUFD3Taz8UecQ6tne0BiRyDu5+3e3D0IN8QrvjXwTkAE G5kMVwhbkO0scJGkcVl24yMDP6a1nBQXiuJQHqURU5bymECRj/abJ2iX9thNq4GZ EYdHa+dMaQMKDdy8xtEO5zBSHlr1hRGAOWYWD2otrf0lS4m7gcZYBoSSzBlfiN4J hZKxMcLl+ewMebglMJOoJyVladOvCHK6mSrX/CSAsFmj8HQtIhDb/XsP498D3ngP 4QQ8NPZIE8eLp+G2kiuRs5MsbaPvCVIXxwML1RL6vphb51jvn+kx/rFFPhxe8NGE yITyUKBbNU1d4KVjiRsuQ0enxeYiv1IlpdsWj4a7VWeV1ZlPDu3UP4l/EfEnpmz7 MIo/TqrLRYp9mFBiSdYXUQQKnr4D0jnwYDX9TnPrtiyLtIiNo085H6K+13P+SKzf 4YqOdkmUD4G6Rl3KvXbrnDavWxbKJx+JJL81orPKSlCpUXeDscMfD8CKKQ2Sau2t kP8AZHoXBsuo2U9vXV4UNRevxyheWdKaJ8fSM6Mf7yyck8f04xCjo/VIAfTeTxTt elpZKHXy4MHrD6N7/RLQIBFItYeBuNuzqwkmJp+EZGk4s2LPQ+ac9ACvkSoNxYWZ X2KSPne8cEL0KLkW/Y90 =hQ65 -----END PGP SIGNATURE----- --KSFHVP2Iq8oveLiAVlW5V6CFd91NFWPch--