From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#11822: 24.1; emacsclient terminal mode captures escape characters as text Date: Wed, 08 Aug 2012 00:52:28 -0400 Message-ID: References: <6eipe9fypj.fsf@just-testing.permabit.com> <83d34h739a.fsf@gnu.org> <501848BE.10702@permabit.com> <5021D940.8050401@permabit.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1344401584 27784 80.91.229.3 (8 Aug 2012 04:53:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 04:53:04 +0000 (UTC) Cc: 11822@debbugs.gnu.org To: Ken Raeburn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 08 06:53:04 2012 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 1SyyGV-0005DZ-M3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 06:53:03 +0200 Original-Received: from localhost ([::1]:49268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyyGU-0005Vu-V0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 00:53:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyyGT-0005Vp-17 for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 00:53:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyyGS-0001Cm-3T for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 00:53:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyyGS-0001Ch-06 for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 00:53:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SyyOD-0000wr-N2 for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 01:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Aug 2012 05:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11822-submit@debbugs.gnu.org id=B11822.13444020353613 (code B ref 11822); Wed, 08 Aug 2012 05:01:01 +0000 Original-Received: (at 11822) by debbugs.gnu.org; 8 Aug 2012 05:00:35 +0000 Original-Received: from localhost ([127.0.0.1]:40886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyyNn-0000wE-1C for submit@debbugs.gnu.org; Wed, 08 Aug 2012 01:00:35 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:42408) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyyNj-0000w5-DB for 11822@debbugs.gnu.org; Wed, 08 Aug 2012 01:00:32 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SyyFw-0000jM-Q9; Wed, 08 Aug 2012 00:52:28 -0400 In-Reply-To: <5021D940.8050401@permabit.com> (Ken Raeburn's message of "Tue, 07 Aug 2012 23:13:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62929 Archived-At: Ken Raeburn writes: > On 07/31/12 17:06, I wrote: >> I still have not seen another occurrence of the original problem I >> reported, the control-sequence response winding up in the current >> buffer when I use emacsclient in terminal mode... I'll keep watching >> for it though. > > The problem just occurred again. I'm running with the fix I posted > before, so it's not busy logging errors trying to redisplay the header > line. > > I was able to trigger it a second time, with emacsclient -t and no > filename, and got "1;2403;0c" dumped in my scratch buffer after > displaying my previously-current buffer in the terminal for a few > seconds. Another attempt (emacsclient -t with a filename) got me a > few seconds of the previously-current buffer and then my file, but no > extra characters. > > I did have a window up on a remote display at the time. I have since > closed that window and now the startup delay and wrong-buffer display > using emacsclient isn't happening. I suspect they're related; I'll > see if I can dig into that a little more.... This might be the test for xterm capabilities. You can try customizing `xterm-extra-capabilities' and see if you still see the problem.