From unknown Sun Jun 22 04:36:32 2025 X-Loop: don@donarmstrong.com Subject: bug#1494: emacs -nw inserts unwanted chars if user is impatient Reply-To: Paul R , 1494@debbugs.gnu.org Resent-From: Paul R Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Dec 2008 21:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1494 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12284267813151 (code B ref -1); Thu, 04 Dec 2008 21:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Dec 2008 21:39:41 +0000 Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4LdW6Z003144 for ; Thu, 4 Dec 2008 13:39:34 -0800 Received: by gv-out-0910.google.com with SMTP id y18so871999gvf.14 for ; Thu, 04 Dec 2008 13:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:user-agent :date:message-id:mime-version:content-type; bh=VkgNtvsEjpTqxtKdXYhd9mYylhxCwN+NMp8SIIObriY=; b=RhyaV8/MYYPw9vT5FvkMpeQ5+wcpRmHemA9islRTHMBBBuqfy8U0MsKWof3K8GgdCe DnWY2s0dL6OC2/gwXpamjsKekSUSsOSsX25UKxKPAgVZMKb/60GRak+QWTeGkB7ez5h/ FpA5ZpK9x1xMIc0rVnp3XqnuIDYrQLPo4teKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:user-agent:date:message-id:mime-version :content-type; b=Aj30B3Lq1+uMpmSWEu07vUioe7L/kSEBMjRaugZhNanTieiov87Z4vdx6iSUYvpt14 yFHIrFIioBQaCE5FoUPuYo6xTCoOJz60DuzguOvH+OWhK8te6h3+ltopDOpSIpMSr6tc OToTjEXUGcqgkxtkSRvL1oNZ5Xof8ablgizv0= Received: by 10.103.224.17 with SMTP id b17mr7021171mur.61.1228426771467; Thu, 04 Dec 2008 13:39:31 -0800 (PST) Received: from ubuT42 (pdc35-1-82-242-132-111.fbx.proxad.net [82.242.132.111]) by mx.google.com with ESMTPS id j6sm17312891mue.41.2008.12.04.13.39.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 13:39:31 -0800 (PST) From: Paul R To: submit@debbugs.gnu.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Date: Thu, 04 Dec 2008 22:39:28 +0100 Message-ID: <87d4g78vsf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I usually work on X version of emacs 23. However, sometime, I just want to alter a config file from the terminal. In this case I type emacs -nw conf_file.conf Very often I know that the line I want to go to is fairly low so before emacs has finished to load I'm already pressing C-n waiting for the display to show line and point. I guess a lot of user do the same and often don't wait for the display to finish before typing what they want. In this particular case, emacs would insert strange chars at point, for example : 1;1704;0c You won't be warned, and it will be saved along with your real modifications, which is embarassing. To reproduce, open any multiline file from the terminal, for example .bash_history, with 'emacs -nw' and immediatly maintain C-n until the display come up entirely. You should find at point the strange chars. Tested with emacs23cvs with -Q on Gnu/Linux with xterm and gnome-terminal. -- Paul From unknown Sun Jun 22 04:36:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Paul R Subject: bug#1494 closed by Chong Yidong (Re: emacs -nw inserts unwanted chars if user is impatient) Message-ID: References: <87ljuuot0n.fsf@cyd.mit.edu> <87d4g78vsf.fsf@gmail.com> X-Emacs-PR-Message: they-closed 1494 X-Emacs-PR-Package: emacs Reply-To: 1494@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1228536305-27171-1" This is a multi-part message in MIME format... ------------=_1228536305-27171-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1494: emacs -nw inserts unwanted chars if user is impatient It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 1494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1494 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1228536305-27171-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Fri Dec 5 19:57:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1494-done) by emacsbugs.donarmstrong.com; 6 Dec 2008 03:57:12 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB63v9LV025545 for <1494-done@emacsbugs.donarmstrong.com>; Fri, 5 Dec 2008 19:57:10 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 3CE4557E195; Fri, 5 Dec 2008 22:57:12 -0500 (EST) From: Chong Yidong To: 1494-done@debbugs.gnu.org Subject: Re: emacs -nw inserts unwanted chars if user is impatient Date: Fri, 05 Dec 2008 22:57:12 -0500 Message-ID: <87ljuuot0n.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I don't see any other way to handle this, so I've checked in the fix involving discarding pending input before reading the reply to the terminal attributes query. ------------=_1228536305-27171-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From paul.r.ml@gmail.com Thu Dec 4 13:39:41 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Dec 2008 21:39:41 +0000 Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4LdW6Z003144 for ; Thu, 4 Dec 2008 13:39:34 -0800 Received: by gv-out-0910.google.com with SMTP id y18so871999gvf.14 for ; Thu, 04 Dec 2008 13:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:user-agent :date:message-id:mime-version:content-type; bh=VkgNtvsEjpTqxtKdXYhd9mYylhxCwN+NMp8SIIObriY=; b=RhyaV8/MYYPw9vT5FvkMpeQ5+wcpRmHemA9islRTHMBBBuqfy8U0MsKWof3K8GgdCe DnWY2s0dL6OC2/gwXpamjsKekSUSsOSsX25UKxKPAgVZMKb/60GRak+QWTeGkB7ez5h/ FpA5ZpK9x1xMIc0rVnp3XqnuIDYrQLPo4teKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:user-agent:date:message-id:mime-version :content-type; b=Aj30B3Lq1+uMpmSWEu07vUioe7L/kSEBMjRaugZhNanTieiov87Z4vdx6iSUYvpt14 yFHIrFIioBQaCE5FoUPuYo6xTCoOJz60DuzguOvH+OWhK8te6h3+ltopDOpSIpMSr6tc OToTjEXUGcqgkxtkSRvL1oNZ5Xof8ablgizv0= Received: by 10.103.224.17 with SMTP id b17mr7021171mur.61.1228426771467; Thu, 04 Dec 2008 13:39:31 -0800 (PST) Received: from ubuT42 (pdc35-1-82-242-132-111.fbx.proxad.net [82.242.132.111]) by mx.google.com with ESMTPS id j6sm17312891mue.41.2008.12.04.13.39.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 13:39:31 -0800 (PST) From: Paul R To: submit@debbugs.gnu.org Subject: emacs -nw inserts unwanted chars if user is impatient User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Date: Thu, 04 Dec 2008 22:39:28 +0100 Message-ID: <87d4g78vsf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I usually work on X version of emacs 23. However, sometime, I just want to alter a config file from the terminal. In this case I type emacs -nw conf_file.conf Very often I know that the line I want to go to is fairly low so before emacs has finished to load I'm already pressing C-n waiting for the display to show line and point. I guess a lot of user do the same and often don't wait for the display to finish before typing what they want. In this particular case, emacs would insert strange chars at point, for example : 1;1704;0c You won't be warned, and it will be saved along with your real modifications, which is embarassing. To reproduce, open any multiline file from the terminal, for example .bash_history, with 'emacs -nw' and immediatly maintain C-n until the display come up entirely. You should find at point the strange chars. Tested with emacs23cvs with -Q on Gnu/Linux with xterm and gnome-terminal. -- Paul ------------=_1228536305-27171-1-- From unknown Sun Jun 22 04:36:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Paul R Subject: bug#1495 closed by Chong Yidong (Re: emacs -nw inserts unwanted chars if user is impatient) Message-ID: References: <87ljuuot0n.fsf@cyd.mit.edu> <87bpvr8vgz.fsf@gmail.com> X-Emacs-PR-Message: they-closed 1495 X-Emacs-PR-Package: emacs Reply-To: 1495@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1228536305-27171-3" This is a multi-part message in MIME format... ------------=_1228536305-27171-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1494: emacs -nw inserts unwanted chars if user is impatient It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 1494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1494 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1228536305-27171-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Fri Dec 5 19:57:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1494-done) by emacsbugs.donarmstrong.com; 6 Dec 2008 03:57:12 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB63v9LV025545 for <1494-done@emacsbugs.donarmstrong.com>; Fri, 5 Dec 2008 19:57:10 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 3CE4557E195; Fri, 5 Dec 2008 22:57:12 -0500 (EST) From: Chong Yidong To: 1494-done@debbugs.gnu.org Subject: Re: emacs -nw inserts unwanted chars if user is impatient Date: Fri, 05 Dec 2008 22:57:12 -0500 Message-ID: <87ljuuot0n.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I don't see any other way to handle this, so I've checked in the fix involving discarding pending input before reading the reply to the terminal attributes query. ------------=_1228536305-27171-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From paul.r.ml@gmail.com Thu Dec 4 13:46:27 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Dec 2008 21:46:28 +0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4LkOGv005591 for ; Thu, 4 Dec 2008 13:46:25 -0800 Received: by fg-out-1718.google.com with SMTP id l27so2897863fgb.43 for ; Thu, 04 Dec 2008 13:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:user-agent :package:version:date:message-id:mime-version:content-type; bh=FEPgZwrRwmfiPsR08T3uCQ9a6vvZgwtf15mb+MW8+oE=; b=fbQBSugo0kzEFR3PimcmCcG6dZi9n0YXeRz+QID/FSmEZ8XKUalNgYJcVhnAPMGOdg qtfTTjTZYGLqy8kQMCv3LsB413juGD5M6LXfY5auReAckByJcUbL2QSUB3ClEvMdiQyM TJH2l03GOWJ+erEpurNhH0hglQ8ttDeUZHUrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:user-agent:package:version:date:message-id :mime-version:content-type; b=Igdi8e1DcnNoPUQCq1bLjne8mGOns/KDAGCn9GG8qgXK8VKfaVEj1Yg4MDfas9rk4H vk8LoCC24Acz1GuSMkZ+Q9tAWNs+3oY5Vs7DUTVEtuCvpeO1qlId52w1dCbPMKEwIerR j2fwjMJBYLerW9R5/3FmnSfRQOJ9o/ioY1ug4= Received: by 10.223.111.205 with SMTP id t13mr720795fap.62.1228427183459; Thu, 04 Dec 2008 13:46:23 -0800 (PST) Received: from ubuT42 (pdc35-1-82-242-132-111.fbx.proxad.net [82.242.132.111]) by mx.google.com with ESMTPS id k29sm15743861fkk.37.2008.12.04.13.46.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 13:46:22 -0800 (PST) From: Paul R To: submit@debbugs.gnu.org Subject: emacs -nw inserts unwanted chars if user is impatient User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Package: emacs Version: 23 Date: Thu, 04 Dec 2008 22:46:20 +0100 Message-ID: <87bpvr8vgz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I usually work on X version of emacs 23. However, sometime, I just want to alter a config file from the terminal. In this case I type emacs -nw conf_file.conf Very often I know that the line I want to go to is fairly low so before emacs has finished to load I'm already pressing C-n waiting for the display to show line and point. I guess a lot of user do the same and often don't wait for the display to finish before typing what they want. In this particular case, emacs would insert strange chars at point, for example : 1;1704;0c You won't be warned, and it will be saved along with your real modifications, which is embarassing. To reproduce, open any multiline file from the terminal, for example .bash_history, with 'emacs -nw' and immediatly maintain C-n until the display come up entirely. You should find at point the strange chars. Tested with emacs23cvs with -Q on Gnu/Linux with xterm and gnome-terminal. -- Paul ------------=_1228536305-27171-3--