Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 22:21:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 18:21:28 2022 Received: from localhost ([127.0.0.1]:43836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBOG0-0000Y2-J3 for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 18:21:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1oBOFy-0000Xo-Cp for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 18:21:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xvc/CHB5+D8F6jGNSeUJVorN1Y1exJ1UAey+yTs0q4I=; b=mdWjup6kVhqqSxPAUhWk/8TU6L r3ZlbhO0Pidri9z0RVeF7IAhKRg1ichhj8/S/bXj0atJzzgRwjLzXwDJHW45xmT6aMPu1O/Wx0np8 cJ16wbmmbd1gm9wJHz38P9NcEqTsKZEgNpL8RUfhAsBPIVo9qabNnOr8Ij1dgTOyR3d4=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1oBOFo-0004DB-8J; Wed, 13 Jul 2022 00:21:19 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andreas Schwab <schwab@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <mvmo7xujtkx.fsf@HIDDEN> (Andreas Schwab's message of "Tue, 12 Jul 2022 16:26:06 +0200") References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> <mvmo7xujtkx.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX9+/zYmr/r0d6t ZppfQ1j///+R36dEAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YHDBYROeBIRU0AAAGxSURBVDjLZZQN ksIgDIUp3QOY0gMA7gGKcIBFcv8zbX5AUDOjzuTry0sC1ZgZh/kKm7wx22G/AV70HYMxj08SYwA4 jvABrOE8hfPR+DdBAJcon490op9eMfLTOREMGW9TESmbS25MMyxtW6A0x5kRE0yXkJzUoihtgmhd o6zkOaDnvQ+OFR1ABu97rzCfJgApJgVkrSENcM+qiBv32pQ1Jn0vZJFTXsJVreRDVg9sw0VKgQEB BZEIsssYRBqlPH3aCuwAIlkAnQQbaChQQaBhu6BLmlfAixpAJLXK3FJqVaTyZAd7hDdQCNy0KZBS oy1ajlOgG6cRxKJwqb8B5ORKr0RbHAOCrvU1R78N1JVzBce2eIs6x0HunJRaKAdyiWIDB3NAIqkv dyNBonbbADCBy7goxvWxSSrN2V9XNLsBpAd4XWoqT3ug49O+5tV1Aui4m+xlueyBUthBw/WNgtwB /yzAnqlxOXZ4vIEd29nn8+ubtpnQ7pwtWPcV/MbQgiyd2QKCuVd3Yq2PXxrlWl5a65D+Nm5X/KmA z8UjFPQbHs97abEswJgdH3uGSmsxp5b6B5mIj8Ftor0+AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy LTA3LTEyVDIyOjE3OjU3KzAwOjAwR9NPrAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNy0xMlQy MjoxNzo1NyswMDowMDaO9xAAAAAASUVORK5CYII= X-Now-Playing: Peter Broderick's _Blackberry_: "Wild Food" Date: Wed, 13 Jul 2022 00:21:14 +0200 Message-ID: <87k08iug4l.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab <schwab@HIDDEN> writes: > You can reproduce that by just printing "\e[K" to the terminal, which is > handled by term-erase-in-line. Thanks. I can confirm that the newline is added by term-erase-in-line -- the following makes the problem go away: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Robert Pluim <rpluim@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andreas Schwab <schwab@HIDDEN> writes: > You can reproduce that by just printing "\e[K" to the terminal, which is > handled by term-erase-in-line. Thanks. I can confirm that the newline is added by term-erase-in-line -- the following makes the problem go away: diff --git a/lisp/term.el b/lisp/term.el index a28d8c5d76..3a9d41ffc1 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -3979,7 +3979,7 @@ term-erase-in-line ;; extra space when wrapped is false. (when wrapped (insert ? )) - (insert ?\n) + ;;(insert ?\n) (put-text-property saved-point (point) 'font-lock-face 'default) (goto-char saved-point)))) But is obviously not the right thing... But I guess it could be the right thing if we only skip the newline insertion if we're at the prompt? (I don't know how to determine that, though.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 14:26:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 10:26:17 2022 Received: from localhost ([127.0.0.1]:43392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBGq9-0002Qw-6x for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 10:26:17 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:48046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1oBGq4-0002Qc-QD for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 10:26:16 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 1B88B3368C; Tue, 12 Jul 2022 14:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657635967; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qqsSko2QKtPRkcWlf5W8zTZMe7U7pldc7fPswR+XftI=; b=skyUGMA5k+bguWSz6iTvITaJHr0ReYWBqeyBKNyfhntvhSpUWpzwdo09VEVvol/DT1gsvb UmhKXQPrprHQrtSUCo+XBCyHWy+8YA8w1W8IFm9uDHswIi0x+Cwho5f8dRUn5Y65XWTcug 9ecmpr4JW2RA4AVl1BjgkAXallhZHig= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657635967; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qqsSko2QKtPRkcWlf5W8zTZMe7U7pldc7fPswR+XftI=; b=kEYcmjbbWtq/9otFnNLiCddv+IC/C5k6xbI7wbQ3gf0t+9vZySUKQBpgMYrVmz8emDp16g VoGT3bpuNLfG7CBw== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 12ACD2C141; Tue, 12 Jul 2022 14:26:06 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id D1CDC444B80; Tue, 12 Jul 2022 16:26:06 +0200 (CEST) From: Andreas Schwab <schwab@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> X-Yow: Mr and Mrs PED, can I borrow 26.7% of the RAYON TEXTILE production of the INDONESIAN archipelago? Date: Tue, 12 Jul 2022 16:26:06 +0200 In-Reply-To: <871quqsef6.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 12 Jul 2022 14:28:45 +0200") Message-ID: <mvmo7xujtkx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Robert Pluim <rpluim@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) You can reproduce that by just printing "\e[K" to the terminal, which is handled by term-erase-in-line. -- Andreas Schwab, SUSE Labs, schwab@HIDDEN GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 14:14:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 10:14:17 2022 Received: from localhost ([127.0.0.1]:43346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBGeX-00025Z-G9 for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 10:14:17 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:56846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1oBGeW-00025O-Ej for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 10:14:16 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 880D8201E1; Tue, 12 Jul 2022 14:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657635250; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nxrlQUr2sEGA12i3zfRBHBe8N3ziLDgnwpsyZ3V0BQc=; b=e/KMSGi/X5ECycLNBd3pHj2fKu8xMWrG0pAPbmLNnUg3UG3YD/Xu9+SSzbY7rQ4Sc15fcw M42d5aFZTkbsrKhsS8z3mGhPuXedNqzbkmgwkMaYRPgmrhYz3VCoqsMaVtaPqSERjBTLze u1s4NzhlbIweBSUmoeg6227KIAWgIZA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657635250; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nxrlQUr2sEGA12i3zfRBHBe8N3ziLDgnwpsyZ3V0BQc=; b=5Dbs9gokkazSoy+Pg7YVUdvE24Htio39PPNEfOD++Wre+xxlp9eEcPQClkfdI6/heIJZCi cZndusF9z6mLZTAQ== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 7B82A2C141; Tue, 12 Jul 2022 14:14:10 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 4FDE9444B80; Tue, 12 Jul 2022 16:14:10 +0200 (CEST) From: Andreas Schwab <schwab@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> X-Yow: I'm a nuclear submarine under the polar ice cap and I need a Kleenex! Date: Tue, 12 Jul 2022 16:14:10 +0200 In-Reply-To: <871quqsef6.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 12 Jul 2022 14:28:45 +0200") Message-ID: <mvmsfn6ju4t.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Robert Pluim <rpluim@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On Jul 12 2022, Lars Ingebrigtsen wrote: > I'm pretty unfamiliar with the term.el code. Anybody know where to > start poking? strace tells that the shell, upon receiving SIGWINCH and noticing a changed terminal size, redraws the prompt preceeded by a CR CSI K CR sequence. -- Andreas Schwab, SUSE Labs, schwab@HIDDEN GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 13:49:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 09:49:08 2022 Received: from localhost ([127.0.0.1]:42081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBGGC-0007I7-CV for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:49:08 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:56844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1oBGG1-0007GX-So for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:48:58 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id D891A2016B; Tue, 12 Jul 2022 13:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657633731; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMOgRbzaTqFrJ5q9b6ajFihsvHLsgt8KE7XcOwYs+9Y=; b=dULyHWOrMLtXTcWAEuWbsZ/RqSGpr9/utfxwbB3YL2puFIytJHAwgslVp6DwKtIogj5PxR 2bUbiJtazTscZXidw2vN0ExGPw3fV58+Q1in67vL0VjjJ2x8Zov3xXGH/559bl85xTZYB7 0LggYsGjoYcfdmbZRch8umagOgitBo0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657633731; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMOgRbzaTqFrJ5q9b6ajFihsvHLsgt8KE7XcOwYs+9Y=; b=e4hxOWzDjSFXx9cW9fNhZ76pOl7HxXNP3NkDEDdLtEtdv+YzlKGw3T0BUGk7bjDSUNzIQl sn+PF0A3XnKduQCQ== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 980BE2C141; Tue, 12 Jul 2022 13:48:51 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 4D34D444B80; Tue, 12 Jul 2022 15:48:51 +0200 (CEST) From: Andreas Schwab <schwab@HIDDEN> To: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> <87pmiascct.fsf@miha-pc> X-Yow: I think I'll make SCRAMBLED EGGS!! They're each in LITTLE SHELLS.. Date: Tue, 12 Jul 2022 15:48:51 +0200 In-Reply-To: <87pmiascct.fsf@miha-pc> (miha's message of "Tue, 12 Jul 2022 15:13:22 +0200") Message-ID: <mvmzghejvb0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, miha@HIDDEN, 48399 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>, Robert Pluim <rpluim@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On Jul 12 2022, miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > When a term.el window is resized, emacs sends a SIGWINCH to it's > process. Bash seems to output some spaces newlines upon receiving a > SIGWINCH. That doesn't happen though when just sending SIGWINCH to the shell. -- Andreas Schwab, SUSE Labs, schwab@HIDDEN GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Jul 2022 13:49:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 09:49:08 2022 Received: from localhost ([127.0.0.1]:42075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBGG2-0007H0-FG for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:49:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:56444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1oBGG1-0007Gn-5Y for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:48:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <schwab@HIDDEN>) id 1oBGFz-0006lX-Qs for bug-gnu-emacs@HIDDEN; Tue, 12 Jul 2022 09:48:55 -0400 Received: from smtp-out2.suse.de ([2001:67c:2178:6::1d]:50480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <schwab@HIDDEN>) id 1oBGFy-0001Rq-8g for bug-gnu-emacs@HIDDEN; Tue, 12 Jul 2022 09:48:55 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id D891A2016B; Tue, 12 Jul 2022 13:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657633731; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMOgRbzaTqFrJ5q9b6ajFihsvHLsgt8KE7XcOwYs+9Y=; b=dULyHWOrMLtXTcWAEuWbsZ/RqSGpr9/utfxwbB3YL2puFIytJHAwgslVp6DwKtIogj5PxR 2bUbiJtazTscZXidw2vN0ExGPw3fV58+Q1in67vL0VjjJ2x8Zov3xXGH/559bl85xTZYB7 0LggYsGjoYcfdmbZRch8umagOgitBo0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657633731; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMOgRbzaTqFrJ5q9b6ajFihsvHLsgt8KE7XcOwYs+9Y=; b=e4hxOWzDjSFXx9cW9fNhZ76pOl7HxXNP3NkDEDdLtEtdv+YzlKGw3T0BUGk7bjDSUNzIQl sn+PF0A3XnKduQCQ== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 980BE2C141; Tue, 12 Jul 2022 13:48:51 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 4D34D444B80; Tue, 12 Jul 2022 15:48:51 +0200 (CEST) From: Andreas Schwab <schwab@HIDDEN> To: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> <87pmiascct.fsf@miha-pc> X-Yow: I think I'll make SCRAMBLED EGGS!! They're each in LITTLE SHELLS.. Date: Tue, 12 Jul 2022 15:48:51 +0200 In-Reply-To: <87pmiascct.fsf@miha-pc> (miha's message of "Tue, 12 Jul 2022 15:13:22 +0200") Message-ID: <mvmzghejvb0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:67c:2178:6::1d; envelope-from=schwab@HIDDEN; helo=smtp-out2.suse.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, miha@HIDDEN, 48399 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>, Robert Pluim <rpluim@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) On Jul 12 2022, miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > When a term.el window is resized, emacs sends a SIGWINCH to it's > process. Bash seems to output some spaces newlines upon receiving a > SIGWINCH. That doesn't happen though when just sending SIGWINCH to the shell. -- Andreas Schwab, SUSE Labs, schwab@HIDDEN GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 13:40:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 09:40:34 2022 Received: from localhost ([127.0.0.1]:42026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBG7u-0004nZ-0J for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:40:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1oBG7s-0004nI-M9 for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:40:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oBG7m-0004ON-4x; Tue, 12 Jul 2022 09:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7kOz585J2rthUw3CgvS9JOV2duUK39v7UYPUx/ol/jo=; b=kuLSrZvGg9go zqHONY5Mz6jN2xvV8CvfAouKDWfc0f52NflPbUYI5bC4G9Bc0y6xfHJUe0cz4RlsRAnzMBHWSim8l dJe9j0Zqcd3EKzo9s7YMQ/TxOYXqQ8d4V6P3je+kLxzIIcpOnwof9ECcm050VXyzd4MI3Bglif6Yi h7GRnW8z5hJE86xuk5rxbqve0H9lCiJmETIVAgEixfpDTzc2DgzOwHIir4vdYRRUCsDf1RA7weUXk e6d/aYh8hUa2friW3xx4Ednyvs9Ia1hRvefhWjT0KtFyOQi0lupV2UYodMlCcDEhJTUabscfJfOR7 dUYtZoYmZsCFVmOquH8CyQ==; Received: from [87.69.77.57] (port=4035 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oBG7b-0002p6-DN; Tue, 12 Jul 2022 09:40:23 -0400 Date: Tue, 12 Jul 2022 16:40:03 +0300 Message-Id: <83ilo2xxe4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <871quqsef6.fsf@HIDDEN> (message from Lars Ingebrigtsen on Tue, 12 Jul 2022 14:28:45 +0200) Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: michael_heerdegen@HIDDEN, rpluim@HIDDEN, vodangkhoa873@HIDDEN, 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: Robert Pluim <rpluim@HIDDEN>, 48399 <at> debbugs.gnu.org, > Khoa Vo <vodangkhoa873@HIDDEN> > From: Lars Ingebrigtsen <larsi@HIDDEN> > Date: Tue, 12 Jul 2022 14:28:45 +0200 > > Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > > > Happens even without C-n: > > > > M-x term > > C-c C-j > > ls > > C-x 2 ;; a linefeed between prompt and "ls" in inserted > > C-x 1 ;; another one is inserted > > Thanks. I've had a brief look at term.el to see what could be causing > this -- I wondered whether it might be a window change hook or > something, but that doesn't seem to be the case. > > It seems to be happening non-synchronously -- sometimes the extra > newline isn't added until half a second passes, so perhaps it's > something that happens during communication between the shell and Emacs. > > I'm pretty unfamiliar with the term.el code. Anybody know where to > start poking? I think it's because we call set-process-window-size, which sends an IOCTL to the shell.
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 13:28:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 09:28:06 2022 Received: from localhost ([127.0.0.1]:41973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBFvq-0004PU-Og for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:28:06 -0400 Received: from mout.web.de ([212.227.15.14]:42055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1oBFvo-0004Oz-5J for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:28:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1657632477; bh=K9zzAQ3FLCxQFshbFf3/GBmkDw2k0IwpE2UBBskntSg=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=df+X8oHrm+ncQOGemGsLBaTPPsCFdTY5BU2FAfwAq98t/wPOVeCqBaAkbS+8CgicQ dnhpiSAJ9BjX7aLAZukW8UvDrEcqGmOeV8Qt/J8ko26f02BXN9aatVg4t3wpHPHvaK K7ChV0FN38kjmz4u5keRN6UesWM75xJv3ZMX7H/Y= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.59.210.236]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MIL0C-1oNIcb0Uyq-00EVEC; Tue, 12 Jul 2022 15:27:57 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: miha@HIDDEN Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <87pmiascct.fsf@miha-pc> (miha@HIDDEN's message of "Tue, 12 Jul 2022 15:13:22 +0200") References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> <87pmiascct.fsf@miha-pc> Date: Tue, 12 Jul 2022 15:27:55 +0200 Message-ID: <87sfn6bgv8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:nqjF4bFebSYUmdeItvO0sihmwbbhGDakYwvk+wvZ3HEyp8euWKB sWAvILEBZCmHayQjgMjc6tqXUBvMVgiZrCVP9Uib44blIAlxpXXKeeJ1kQCUxKA6y+qiJ7f blDHNA9P1RDo9Me1DhGi4gVVPr585wStKmRfReqomgWYnquNDK9ib6ZAusQJSVKx7oy3K6F Dh5UP9zrmIquyhskQznPg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:1mEJypeFd7w=:Gg4IiGQmlNFhvesjBOmpk5 DmgtlKQzJ3cJZQ0wDI+82dYAs+b5ijuVSUKJn/kNR7Ni3Mo2+78KGUlRLVqCQN8zNmncp6E47 NacPzULMWEz/mpzjKDXynK5Cuq1i7Rs67FdrRCr/d6uEAJXiFSchzVBuANGeT7ne1zWgN3ED/ oNmJEVtYfCTaXv9f9u+515b8NLygglw7NS/j2M2CurA9Yz8NnrCSF0u57CpDvhPTl3SuvhZk/ 5wW4+8vqiZnMmNUpW2YEiEZBlaIE+ZhxuTmYNeG/JMj1r6NknA8Ju7HvKh1W1HXsGKpHklHPi tA6s5BNgGxPH2MJOmzvisVNfqjaZ8jRtkR2Y1YAxFtzg3IFUy1TvirSbKB3Exe7jdobcVILP5 k0wAkCGdN/VcJbuHqG1sbuKUCHTLmaHC41O+LMTFwRuKsfV+x5nfSiGrLjjI8D1lk0KzODwDL HeU9UkQ4g5fsIUPvCqB7vR7yDo21skkdnxcHC0Wvah+v4zvQRya3Mly/s73rfahALR2rW5x2O Usg+UfkQayCYUWbg1Lfa9oL9gEMHq200K14JU+p+yPLCsaSI/IMSmWuyUga3heEXqFwBNfkn9 EVv0hUjHQJvEjZmXLHIf0ADRYXnAdH2lC6OUOi9w6BoGTTjGnCrovGJa+IUTg2plfOPzhuMOB rb2l/+r73Dx0EpBvljDoTunPrCCvJebTi8tP+9TAAclM1P2G+RY5csiDBFDuTQ1LQjJVJcmeC Dmj2OHzVkvy0hw4eE8nlNc9qULeqJz2LUamoFFxmKCQEfZtikkUZ2w59TNUgKlD2FN6OEPrpd bV26FddVJHUAp4RQBj/xw2T3sfsmDkKzy4+mf36Su6/MJGVPANCP7E446I0u1tffKZcmQZ2Ja yLYk+ites+MgP7rC2DWeXmVk4VTGGOgKXk8fIS8AEL/sbyucpbomVahh/0wUa8kux7F3kfg9Y Dz3JkAAyvSYR0jjkp0e5AgHHwCYx60xSSwfh+YFVkzpuuu4kfC9wmW0uxFcWc2ZU23VIxDAhP JMSmT3/pGV9aOc6B5rl7BBGP2IDYbnB03b2UYVIrxrVVlaWfIgfdokB4t27R4BhD1vpgFT458 DR9qEs6tv3TV2cfALrb/AHt4iPMqEvivrjWjdb4EdI9AyYCzEh95DG7oQ== X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: 48399 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, 48399 <at> debbugs.gnu.org, Robert Pluim <rpluim@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) miha@HIDDEN writes: > When a term.el window is resized, emacs sends a SIGWINCH to it's > process. Bash seems to output some spaces newlines upon receiving a > SIGWINCH. I tried with a different shell: using "dash" (default system shell in Debian) the problem is not reproducible. Michael.
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 13:01:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 09:01:51 2022 Received: from localhost ([127.0.0.1]:41895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBFWR-0001VB-7V for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:01:51 -0400 Received: from kamnitnik.top ([209.250.245.214]:38708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <miha@HIDDEN>) id 1oBFWO-0001V0-3D for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 09:01:49 -0400 From: miha@HIDDEN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1657630905; bh=M22has/yiVV4JVGtQy0pZNNbSPNbXzYvF8rlmt0YV4g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=guDgp3qzlG8jNfKM5mNWc6/GU+VwiWefRTCymGPfBwnsUCd3P+Jp7E5P4UZbT7y95 ZWrJNeB1Y2doz2Ly27nu3vteaiPZH4pcJCwKZSikJatL4DLWQECPq8y5P/STD0hYaH aH4tPTR1WRyqer/5hqZ1eIDNp965MbIo6UEYWkLw/gjxA+EFcn3EIA2N26M0qH8kPr Q69MeppKZPjlnYH91uvrEOyEJX0YGHdSD82MkopELGCKMQ3dBiJy49a3WpY78wBq97 VhISZtUXKt22xEZHn0v6CHmjkak4Ixny8QK4KVVjHakpViFVw1urUtyYKiH5wEqcHd 3LJp/E/yqcxjw== To: Lars Ingebrigtsen <larsi@HIDDEN>, Michael Heerdegen <michael_heerdegen@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <871quqsef6.fsf@HIDDEN> References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> <871quqsef6.fsf@HIDDEN> Date: Tue, 12 Jul 2022 15:13:22 +0200 Message-ID: <87pmiascct.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > >> Happens even without C-n: >> >> M-x term >> C-c C-j >> ls >> C-x 2 ; ; a linefeed between prompt and "ls" in inserted >> C-x 1 ;; another one [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 48399 Cc: Robert Pluim <rpluim@HIDDEN>, Khoa Vo <vodangkhoa873@HIDDEN>, 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > >> Happens even without C-n: >> >> M-x term >> C-c C-j >> ls >> C-x 2 ;; a linefeed between prompt and "ls" in inserted >> C-x 1 ;; another one [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Lars Ingebrigtsen <larsi@HIDDEN> writes: > Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > >> Happens even without C-n: >> >> M-x term >> C-c C-j >> ls >> C-x 2 ;; a linefeed between prompt and "ls" in inserted >> C-x 1 ;; another one is inserted > > Thanks. I've had a brief look at term.el to see what could be causing > this -- I wondered whether it might be a window change hook or > something, but that doesn't seem to be the case. > > It seems to be happening non-synchronously -- sometimes the extra > newline isn't added until half a second passes, so perhaps it's > something that happens during communication between the shell and Emacs. > > I'm pretty unfamiliar with the term.el code. Anybody know where to > start poking? When a term.el window is resized, emacs sends a SIGWINCH to it's process. Bash seems to output some spaces newlines upon receiving a SIGWINCH. In an ordinary terminal emulator, these spaces have the effect of clearing bash's readline display and they aren't really visible to the user. In term.el, however, they are inserted before the "ls" that the user has input (this "ls" is input in term-line-mode, which means that bash isn't aware of it yet, until the user presses RET). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmLNc3ITHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP2HzD/0f127aDvylVBp+yL8IKSBj0XqwPsvX Jv52Y+tydibAAxmAk8rJiiuFZ3mOHIYO8SBwTYq2vCH+nQ+Y0aLq53iDe9BqClen 1j6jTmpmb3T3i5oqOpqIC+d6Z/KmbRRea5HdHs+OypHDqyalT8QO6Zy2dekIHmLi wx4Ti78u3YWMLE2u+epzOxoBuvNT0QBpx64y4Do3w/s7oHcQiZ9SAotm8XGcwfhd QrpQT69wueXxjMIwb3l2i64XKraiMUrjw7OKC5gvYdpGcVDi0EjdkcjqTFM7hz1T E+dgFiLtlfVtLq4fSxAK91AUGr8w/WdcMeEhmebSpxsJzUszype58LYl5FqSwr0j GCffWhKG+7s+vILLUDWxrVVJyIB7nogWJ1DcsxhHzQIxjBaKRdbgp9kvslud7/ip omnamw++sUkUpNz3CNLg9fuprEIIHihWSYtf2uNdScBcFEd2DvvRwuLfiXfLS39t 3sj71gsMQK3pw4NzWFmIJjURveUIit/tsOWBCVBG/HyJKazaxJXbp5snNxmEX2VQ dT/mqF9803h+X78qMhWWGJwefUsJKGw0UTHc/FFYt7EOuRffJRKs+fCPkHooZIec hiYYM0FZ7dSgaZmiofTv5JWiBQYiTT01uejuah1a9hs0v9ILjR9oTxV4AxT9NfP1 sdymr2ym4pStkQ== =GLVl -----END PGP SIGNATURE----- --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 12 Jul 2022 12:28:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 12 08:28:57 2022 Received: from localhost ([127.0.0.1]:41822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oBF0a-0006mx-Pk for submit <at> debbugs.gnu.org; Tue, 12 Jul 2022 08:28:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1oBF0Z-0006ml-A0 for 48399 <at> debbugs.gnu.org; Tue, 12 Jul 2022 08:28:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mn3GQj5sMPhiZT9QIRcOhmuTUQJPEpbGN6Xj8hrwzEM=; b=ptR7b/yCM1mqCHLIEUscn+mqnq KfalX2/ymHGzjxXSOGpc0N0DeLdwigJZJLdhkWQrC93k5bq6M4M15XhodzCZhiiZqOFb5HEBU+PCU yqFwQ6v9jGHRw6sXpuF7fCraT9eaccNsuoTXlF+DTS40RxObm1qwEob9pMR5LefAeLnY=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1oBF0Q-0007J3-A2; Tue, 12 Jul 2022 14:28:48 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Michael Heerdegen <michael_heerdegen@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <878rozsla3.fsf@HIDDEN> (Michael Heerdegen's message of "Mon, 11 Jul 2022 17:48:20 +0200") References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> <878rozsla3.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEXNsl+1qG2rlVTO xp65kjqRcDSMdEToxl1nTydHNx1nYE8yKhr///8MU+0wAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YH DAwJBCuKt6MAAAGdSURBVDjLfdFBb4IwFAfwspF4VbcPILjscxgshjOjptltSyTOE5eFnZdhitcl Cw3HXYxXT4Yvt1dKS1HcPxza93uPYkUIYo3OM56iM3CdkeOOXFcC6nY7LaBbE+DRcH6EBqv/cDky dg3RAHJPnD6wRpiEvTDExBhpAd1gsnzpA3tGorADaQPIjz4NGKSpmvGjTMMdSiFJ0kxkky6kCugE WZYJ4m3YBpip61GQosTGAJ44a2iZgAKAwFX3M1WQDAT4nvq1GtKrkAYRjvzXa+BNGphrSAQs3Abs uTHxhSNPTWADPjIALME24R0mFvhBtF9AuMBQnGHIXF8iDjK89ETNJ5SQJ4TlmhCawZ/uLymD5Pwb EdiKUFZgkkG3KHMBdURbAUOL5zdeRwKT44xtH+m6hfqtENhuV5RKOCLWlnn5E9N9vagayGVbuY0p dJSnqgHOFSzpTpQlFKrMyyxc7/JSAtepeMXCeLPKO1BVonFH4njPyi5ACsoADutLgA/ZH1huQH1g nZNcNiA24uMK7RKqy/wDVX+O6BBvDj35/QOTbX9P8qncFgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy Mi0wNy0xMlQxMjowOTowNCswMDowMJ39kf0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDctMTJU MTI6MDk6MDQrMDA6MDDsoClBAAAAAElFTkSuQmCC X-Now-Playing: Hercules & Love Affair's _In Amber_: "Christian Prayers" Date: Tue, 12 Jul 2022 14:28:45 +0200 Message-ID: <871quqsef6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > Happens even without C-n: > > M-x term > C-c C-j > ls > C-x 2 ;; a linefeed between prompt and "ls" in inserted > C-x 1 ;; another one is inserted Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: Robert Pluim <rpluim@HIDDEN>, 48399 <at> debbugs.gnu.org, Khoa Vo <vodangkhoa873@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > Happens even without C-n: > > M-x term > C-c C-j > ls > C-x 2 ;; a linefeed between prompt and "ls" in inserted > C-x 1 ;; another one is inserted Thanks. I've had a brief look at term.el to see what could be causing this -- I wondered whether it might be a window change hook or something, but that doesn't seem to be the case. It seems to be happening non-synchronously -- sometimes the extra newline isn't added until half a second passes, so perhaps it's something that happens during communication between the shell and Emacs. I'm pretty unfamiliar with the term.el code. Anybody know where to start poking? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 11 Jul 2022 15:48:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 11 11:48:30 2022 Received: from localhost ([127.0.0.1]:40684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oAveA-0002IB-Gc for submit <at> debbugs.gnu.org; Mon, 11 Jul 2022 11:48:30 -0400 Received: from mout.web.de ([212.227.15.4]:37733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1oAve8-0002Hx-LN for 48399 <at> debbugs.gnu.org; Mon, 11 Jul 2022 11:48:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1657554501; bh=/73KoOc6la1gBuagPa+1tGuTytTQOaTDrFUSD18oHdk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=As/mNa6ZlOkp+2j5ADi2YLNrVPq3OzVj0/3q3gO1aG3RZI8/ngTTwJgwtb3WvPPhZ WSMkK+pZemaHq8GJopQF0RMSyfF3uXLQlnomKYUuLGZWsHwqXvX/LsgvyBQiMRpEhp Gm+D0sOTIdFtremHwsMnpkP8jcbB2nGJEk7b1THg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.59.210.236]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MwA1A-1nJ64P2d9A-00rvek; Mon, 11 Jul 2022 17:48:21 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Robert Pluim <rpluim@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <87czebg0if.fsf@HIDDEN> (Robert Pluim's message of "Mon, 11 Jul 2022 16:57:44 +0200") References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> <87czebg0if.fsf@HIDDEN> Date: Mon, 11 Jul 2022 17:48:20 +0200 Message-ID: <878rozsla3.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:xNXwu1aDojZNeYBCouRryxz93SgxuzLi+5KrbxV8a3xbCk8yzGc 6fHEVeQ+azhQhXAp+St5P/jJPsk85ibA17XEFNa18crptPt69ho+K1BUkHEfGc0U4ut/o+P OBG2P7DfJ02o1gMwRmBAn1nTwrrOOG38/ZrWZI9nhHH11DQ8G5/5DX2aYyxgvl8iEvOwsxo JpX5iB84SuZMKfu/6fyjg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Y5ED1nIQnxY=:uauSuwjRkiyFX7ngppBj72 c5Rx0RBAJbfstLYrd2+rf/N5c3buGjSKCeJhNtOGRkifjSsenq1OI8Sm3W2Ibsn8IeHNWccna IdVJDBngpUxW+KkjgWLlkc7J28jGmOcgFIhl6n1VqlwbmPjZ2TH7XklxWtC/bNe7iE9ImLcOl dLWlQqob3wvgrsb3qQ5/lAdf9aFzIsIepT9KXftd8Vmy28NDVWD0Bg1f32xscCCxeRQGxoBuz pZlg+PMgkv2CZKK+vZDcXdC0hQK4rCIuxVS7/XYHnaJD7pIyefasiX8z1/if59TngopFQx9Uu FEdVxGNk6FgXkxatwjWldfZ01afru/nvLZM7khCwxLeF0pFx30o/ICeVtCPrbVtb+cgXorBJi vf4cOxMRv4Sr2QJpGbOXLfmsOcoxKnLy2g1ZczZqoVWLeoIPYHEusjm9U+ea/vaZNtSc8Aqm9 9Y05Yk0nZErDdzfuZaZkNSMOQRBriTUGm3geDvA0xBg52wVm8qjUxP0odcXLsNPoHaUDWB/cC azyV7VI1BkOPhFMUt8O9ruyiQfsdOYkRLkp37yejxlPQhzJ0Ya6VIC75K/EBk5Ovm8mfc1GmD cZKG0AJwLV+dk9GLYs5YqlS0B8AtzzWC7wvWt0P69e3NcRC1n079m4XXLWW8OMyurYOFvTQfH SEkPygg4i3x4VKaG1bNztPS6oz9DSbpdKN3luEkBpM+CNSJHm4MPakNbhN1cKjpOuKD/yHDpi 8yzA9r9zXyjLhw3O7yJWJBxJYNNtcuHl2r3Ggmw0los+Syn24CtPuVfxUtbkL69OsOV+eQIVU lG4jxLJSpCD62hEd/rt1Qq7W21litXah7Uea3wT8Vt0VWDpntX5m8D0fzNtYHmDukGmnDP/Hf zgzdrIUXH4ypLFnOtJmlgkrp4/rgXAbwBycOFtA6qUYxxbj7rxj1gk8LaeNycODZW55e4GhGQ wLmDz6QgjzAWaKFOHg1ibgmDf5EWBZQBWjX2TCYvODbtw5MI3bx1IO1s4BBj7Q78bsxV3iMSf a3i/7846+pbnF4k49CfTaiKsJLyTW1zMPOWgIm8lPzGr7HpW/bDB3d6+JCPV376Eq87kxtJmz Ru4SBJIN/SclojIghII+BTSngh2HtB9cWzJuHZqC5O6WB+B/hNVhNtKfw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48399 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 48399 <at> debbugs.gnu.org, Khoa Vo <vodangkhoa873@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Robert Pluim <rpluim@HIDDEN> writes: > M-x term > C-c C-j > C-n > ls C-x 3 Happens even without C-n: M-x term C-c C-j ls C-x 2 ;; a linefeed between prompt and "ls" in inserted C-x 1 ;; another one is inserted Michael.
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 11 Jul 2022 14:57:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 11 10:57:54 2022 Received: from localhost ([127.0.0.1]:40613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oAurC-00078m-3I for submit <at> debbugs.gnu.org; Mon, 11 Jul 2022 10:57:54 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:33513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1oAurA-00078S-Du for 48399 <at> debbugs.gnu.org; Mon, 11 Jul 2022 10:57:52 -0400 Received: by mail-wr1-f53.google.com with SMTP id h17so7421471wrx.0 for <48399 <at> debbugs.gnu.org>; Mon, 11 Jul 2022 07:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=Zo0QkOXw6KuR8CniUhQxVAD9EEctg3dlQosLCufZx9c=; b=B5WTMLB2DiXoVBW0O/cnZJSR1W3qcdWqms/imoi4vePchAiRL/Urmlta9v6xhqCVBH daE/oqV/ZIeme4FJ+fVqiX5NUoqmLPgvQ/nrcIpalfjPWQoZsZvtM95QuXGL8QepzxO0 YbXo9uMJ1kk0SwRsReCs7xe+/59fJzSOQ9e2eUqmsbiI1jUA0FdVaXQccMIG7eub7Fku SSNt1gcUKYW7SYzTNEKrq00B5vFqGBjmgqqGBvkqvdQVED5dRXZEx6IH+rJOIo6e7VUJ 8HYOaSxC/tfZlYBZBZnkNrZITVJCFyLNK6t5TxNPiPG6xb8I9OyOrvzRHQkE4FYmVEJk Md5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Zo0QkOXw6KuR8CniUhQxVAD9EEctg3dlQosLCufZx9c=; b=kEoEsHKYuAJRK3h0BD6/ET2EJODZI7A2UGkD3zjCHnykKsiYKzNNZE9IUmxeke8wSr nFnnB+/DVOgnbSqXqU97sGFG/SyuYqCsYuYpE72xioi/NU7Fue/s06ikRGVNExc6aw1p kPtrBm67zHjN5WzHTJw52g/In4h+AHHqJuPOt2KjOxdt/CS98KyrfbGE6LYG9JU8zCwJ U9HPYwvod96yfTfbDCZ4kvzkmrTyfJtUuw3w3xOp+TPtdgTgqWV/BZrWi7ufaoP1YTMO +dfbT6wGzV+nuAp3cDEqeYQEvwtwbST474ZY8hlH6/9IiFdi2SmQ5lknI3f02n3gGsup QR7g== X-Gm-Message-State: AJIora+FKBIbDfaYclCzSPsMeK8ULNyJO7ZaigPbis//vi4gq/1LJgoM siI2oN4k2jHCQ4ZdJBa1ODUHyvgrXHg= X-Google-Smtp-Source: AGRyM1teaCXZHsElLXJaOQPJyTmSroOCaSfrn3srO2SGSw/77GKJpei1U55V/5qmb9PbOEWR7fKSsQ== X-Received: by 2002:a05:6000:1152:b0:21d:7646:a976 with SMTP id d18-20020a056000115200b0021d7646a976mr17742539wrx.416.1657551465844; Mon, 11 Jul 2022 07:57:45 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:ba5:3a36:aec4:f05e]) by smtp.gmail.com with ESMTPSA id h17-20020a05600c351100b003973ea7e725sm14155903wmq.0.2022.07.11.07.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 07:57:45 -0700 (PDT) From: Robert Pluim <rpluim@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <87o7xvsocm.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon, 11 Jul 2022 16:42:01 +0200") References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> <87o7xvsocm.fsf@HIDDEN> Date: Mon, 11 Jul 2022 16:57:44 +0200 Message-ID: <87czebg0if.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48399 Cc: Khoa Vo <vodangkhoa873@HIDDEN>, 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>>>> On Mon, 11 Jul 2022 16:42:01 +0200, Lars Ingebrigtsen <larsi@HIDDEN= > said: Lars> Khoa Vo <vodangkhoa873@HIDDEN> writes: >> Note: I have repoduced this bug even without a configuration file. >>=20 >> Steps: >> - Enter term-mode. >> - Enter term-line-mode. >> - Type a command one line below the prompt, but don't hit "enter" ye= t. >> - Issue command "M-x split-window-right". >> - You can see the problem: one or more new lines are inserted after = the prompt. >> Pushing the command further down. Lars> (I'm going through old bug reports that unfortunately weren't res= olved Lars> at the time.) Lars> I'm not sure I understand the problem. If by "Enter term-mode" y= ou mean Lars> `M-x term RET RET', then commands like `M-x split-window-right' a= ren't Lars> available, so perhaps you mean something else? Lars> Can you give a step-by-step recipe to reproduce the problem, star= ting Lars> from "emacs -Q"? M-x term C-c C-j C-n ls C-x 3 reproduces for me (you can run any normal Emacs command when you=CA=BCre in= term-line-mode) Robert --=20
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 48399) by debbugs.gnu.org; 11 Jul 2022 14:42:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 11 10:42:12 2022 Received: from localhost ([127.0.0.1]:40594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oAuc0-0004Z0-IT for submit <at> debbugs.gnu.org; Mon, 11 Jul 2022 10:42:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1oAuby-0004Yk-CJ for 48399 <at> debbugs.gnu.org; Mon, 11 Jul 2022 10:42:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xLwbLkzBDTZHZHegkuZutTokNccU4vv4nXZMep8BWIQ=; b=EuTE9qf26aQ0MgVEG3eZ9EOhMI TCh8qPwEvX050EvJwOrKSKx04MdaA8lInv7/itsIO7WGGoziEFFwOGEiFicsOs3ENvJH/yGr2y5bn JxDruhVhTkmuZKM0uY2xYdYzufrrYohRGXa6OED9AGaW0odiBSEgkHKI3QmJrsnmfe/w=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1oAubp-00043Q-QN; Mon, 11 Jul 2022 16:42:04 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Khoa Vo <vodangkhoa873@HIDDEN> Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted In-Reply-To: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> (Khoa Vo's message of "Thu, 13 May 2021 12:14:11 +0300") References: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> X-Now-Playing: Happy Borders's _Scarred For Life 2_: "Quimper" Date: Mon, 11 Jul 2022 16:42:01 +0200 Message-ID: <87o7xvsocm.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Khoa Vo <vodangkhoa873@HIDDEN> writes: > Note: I have repoduced this bug even without a configuration file. > > Steps: > - Enter term-mode. > - Enter term-line-mode. > - Type a command one line below the prompt, but don't hit "enter" yet. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48399 Cc: 48399 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Khoa Vo <vodangkhoa873@HIDDEN> writes: > Note: I have repoduced this bug even without a configuration file. > > Steps: > - Enter term-mode. > - Enter term-line-mode. > - Type a command one line below the prompt, but don't hit "enter" yet. > - Issue command "M-x split-window-right". > - You can see the problem: one or more new lines are inserted after the prompt. > Pushing the command further down. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I'm not sure I understand the problem. If by "Enter term-mode" you mean `M-x term RET RET', then commands like `M-x split-window-right' aren't available, so perhaps you mean something else? Can you give a step-by-step recipe to reproduce the problem, starting from "emacs -Q"? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 13 May 2021 14:52:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 13 10:52:17 2021 Received: from localhost ([127.0.0.1]:44080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lhChE-0005WF-L1 for submit <at> debbugs.gnu.org; Thu, 13 May 2021 10:52:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:37122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vodangkhoa873@HIDDEN>) id 1lh7QJ-0006FD-Mq for submit <at> debbugs.gnu.org; Thu, 13 May 2021 05:14:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vodangkhoa873@HIDDEN>) id 1lh7QJ-0005Jw-IH for bug-gnu-emacs@HIDDEN; Thu, 13 May 2021 05:14:27 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:43821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <vodangkhoa873@HIDDEN>) id 1lh7QG-0005lM-Ja for bug-gnu-emacs@HIDDEN; Thu, 13 May 2021 05:14:27 -0400 Received: by mail-lj1-x236.google.com with SMTP id w15so32948210ljo.10 for <bug-gnu-emacs@HIDDEN>; Thu, 13 May 2021 02:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=r+aQOnmtn2KNluP8sHVKEx6cCkW0cjTBTVffM+pKOI0=; b=UVPJ3n2Fx6bikx7e5pt97b9IP4I9SAJuKtQKotVoXnLndVPE6SdGsJJHjjoNKT0eZ6 ++eMQ+G9yqERiqWjh2wW0lzHIMqRhOsOghG0XT3SPdOifUppiyP7d8pZIQPjnDeA3r31 f187F7Ay1P1cygU/GWVX8ZvgKQqWt1UDzxA8pW6cRxXo5t88QObCiS8liV6PBsPVACva 2nB7GonlMi1RdAewek0GhDTOHeNxT5OHBlQXp9h8xv4V/5KNwAci7cqki/WtvUJVGfdx r8IBq9zKNoVbsP60q0EMJwNqO6WxIoaHNH5vZPIJxaN+ZZmac2qTNGhgPoOzOIn5VZFZ 6NVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r+aQOnmtn2KNluP8sHVKEx6cCkW0cjTBTVffM+pKOI0=; b=mOua6LpM/YaQUD8AexLAf4i2qYS032rZD4mk3vpp+NqrVZDdcIWDrfKeNPsOg5uXyQ xmQ+tehNr33uFC1qtBbUZKtulU/IyR4AbomAfyMrQIZF5TyfPmoNLCZsgt4ukIhN59aw QmLfAfKFNoge2sgQme8yZGTdcVD8xGPHH1UpT00QlVwm688F6bap+31rVdwoG8ELZu5S cbs5/ZPTLy65ELxRjZsjOL4KJJyta+OxlpT836FhiIuF6iFOkxBz7XbHUkhxlka1bn0V U4IQ4axjUfzC/bhNagZLabbM5GLiq7O5Vwr/ULYx45h3y0o+mT6lfMlZI4VylILaBVsW 0EHg== X-Gm-Message-State: AOAM532ydBO+HFSf23jszBFr6SCoqwxS9wDyz6sKMJd5ZipLhS98ayyZ eg3mGEI6QfoYDmL9XQ9ytzHwCLLiX1oXciXFytzliIx7yKNCIg== X-Google-Smtp-Source: ABdhPJwAt9EvQ3n2k7Dw+ZbgOrvdj4SLWlpxxigUwykNKk7F9nbdVyA7u3gwDPqBhoE5aXkiW1b8neF96QQTWtOYzLE= X-Received: by 2002:a2e:a58d:: with SMTP id m13mr3194004ljp.252.1620897261822; Thu, 13 May 2021 02:14:21 -0700 (PDT) MIME-Version: 1.0 From: Khoa Vo <vodangkhoa873@HIDDEN> Date: Thu, 13 May 2021 12:14:11 +0300 Message-ID: <CANNKwO8EEjOQKD3L=UDJh-YnH8tTO3aMcGJfvEu4iz31oJNrvw@HIDDEN> Subject: 27.2; term-mode: After splitting window, newlines are inserted To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="00000000000082249205c2328dcb" Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=vodangkhoa873@HIDDEN; helo=mail-lj1-x236.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 13 May 2021 10:52:15 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --00000000000082249205c2328dcb Content-Type: text/plain; charset="UTF-8" Note: I have repoduced this bug even without a configuration file. Steps: - Enter term-mode. - Enter term-line-mode. - Type a command one line below the prompt, but don't hit "enter" yet. - Issue command "M-x split-window-right". - You can see the problem: one or more new lines are inserted after the prompt. Pushing the command further down. This is problematic because: - If you repeat that enough times, you can't see the command anymore. - I need the end of the buffer to be where the prompt is, so I can get to the prompt quickly. - Also I sometimes need to copy the command, I can just copy from the prompt to the end of the buffer. It seems to me like the issue is with splitting the window. In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.3.1 Recent messages: Checking 57 files in /Applications/Emacs.app/Contents/Resources/lisp/eshell... Checking 71 files in /Applications/Emacs.app/Contents/Resources/lisp/erc... Checking 34 files in /Applications/Emacs.app/Contents/Resources/lisp/emulation... Checking 180 files in /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp... Checking 24 files in /Applications/Emacs.app/Contents/Resources/lisp/cedet... Checking 59 files in /Applications/Emacs.app/Contents/Resources/lisp/calendar... Checking 87 files in /Applications/Emacs.app/Contents/Resources/lisp/calc... Checking 113 files in /Applications/Emacs.app/Contents/Resources/lisp/obsolete... Checking for load-path shadows...done Mark set Quit Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_FI.UTF-8 locale-coding-system: utf-8-unix Major mode: Term Minor modes in effect: goto-address-mode: t global-whitespace-mode: t TeX-PDF-mode: t global-company-mode: t company-mode: t desktop-save-mode: t global-magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t show-paren-mode: t global-auto-revert-mode: t counsel-mode: t ivy-mode: t global-evil-surround-mode: t evil-surround-mode: t evil-lion-mode: t evil-commentary-mode: t global-undo-tree-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t electric-pair-mode: t winner-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (pp shadow sort mail-extr goto-addr emacsbug sendmail smex ido css-mode-expansions css-mode html-mode-expansions sgml-mode eww mm-url gnus nnheader wid-edit url-queue url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom conf-mode js-mode-expansions js cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs jka-compr asm-mode inf-groovy markdown-mode noutline outline vc-git rainbow-delimiters rainbow-identifiers company-oddmuse company-keywords company-etags etags fileloop generator company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb wheatgrass-theme whitespace multi-term term disp-table ehelp nginx-mode groovy-mode ansible f jsonnet-mode yaml-mode terraform-mode hcl-mode dockerfile-mode s sh-script smie executable indent-tools yafolding hydra lv indent-tools-indentation-of highlight-indentation sql-indent sql view clojure-mode-expansions clojure-mode lisp-mnt align font-latex tex texmathp company pcase quail math-symbol-lists desktop frameset expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff-mode magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode git-commit transient magit-git magit-section magit-utils crm log-edit message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async server dash exec-path-from-shell paren autorevert filenotify aggressive-indent counsel xdg xref project dired dired-loaddefs compile swiper ivy delsel ivy-faces ivy-overlay colir color avy evil-surround evil-lion rx disable-mouse extempore-mode sudo-edit tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 time-date ls-lisp format-spec evil-commentary evil-commentary-integration evil-little-word evil evil-integration undo-tree diff evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex shell pcomplete comint ansi-color evil-macros evil-repeat evil-states evil-core advice evil-common windmove thingatpt rect evil-digraphs evil-vars cl-extra help-mode elec-pair winner ring use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core tex-site cl info edmacro kmacro package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 494933 56940) (symbols 48 33468 0) (strings 32 120893 8532) (string-bytes 1 3741337) (vectors 16 63025) (vector-slots 8 1511385 236164) (floats 8 348 346) (intervals 56 9385 0) (buffers 1000 113)) --00000000000082249205c2328dcb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br>Note: I have repoduced this bug even without a configu= ration file.<br><br>Steps:<br>- Enter term-mode.<br>- Enter term-line-mode.= <br>- Type a command one line below the prompt, but don't hit "ent= er" yet.<br>- Issue command "M-x split-window-right".<br>- Y= ou can see the problem: one or more new lines are inserted after the prompt= .<br>=C2=A0 Pushing the command further down.<br><br>This is problematic be= cause:<br>- If you repeat that enough times, you can't see the command = anymore.<br>- I need the end of the buffer to be where the prompt is,<br>= =C2=A0 so I can get to the prompt quickly.<br>- Also I sometimes need to co= py the command, I can just copy from the<br>=C2=A0 prompt to the end of the= buffer.<br><br>It seems to me like the issue is with splitting the window.= <br><br>In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-16= 71.60 Version 10.14.6 (Build 18G95))<br>=C2=A0of 2021-03-27 built on <a hre= f=3D"http://builder10-14.porkrind.org">builder10-14.porkrind.org</a><br>Win= dowing system distributor 'Apple', version 10.3.2022<br>System Desc= ription: =C2=A0macOS 11.3.1<br><br>Recent messages:<br>Checking 57 files in= /Applications/Emacs.app/Contents/Resources/lisp/eshell...<br>Checking 71 f= iles in /Applications/Emacs.app/Contents/Resources/lisp/erc...<br>Checking = 34 files in /Applications/Emacs.app/Contents/Resources/lisp/emulation...<br= >Checking 180 files in /Applications/Emacs.app/Contents/Resources/lisp/emac= s-lisp...<br>Checking 24 files in /Applications/Emacs.app/Contents/Resource= s/lisp/cedet...<br>Checking 59 files in /Applications/Emacs.app/Contents/Re= sources/lisp/calendar...<br>Checking 87 files in /Applications/Emacs.app/Co= ntents/Resources/lisp/calc...<br>Checking 113 files in /Applications/Emacs.= app/Contents/Resources/lisp/obsolete...<br>Checking for load-path shadows..= .done<br>Mark set<br>Quit<br>Configured using:<br>=C2=A0'configure --wi= th-ns '--enable-locallisppath=3D/Library/Application<br>=C2=A0Support/E= macs/${version}/site-lisp:/Library/Application<br>=C2=A0Support/Emacs/site-= lisp' --with-modules'<br><br>Configured features:<br>NOTIFY KQUEUE = ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES<br>THREADS JSON PDUM= PER GMP<br><br>Important settings:<br>=C2=A0 value of $LANG: en_FI.UTF-8<br= >=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: Term<br><br>Min= or modes in effect:<br>=C2=A0 goto-address-mode: t<br>=C2=A0 global-whitesp= ace-mode: t<br>=C2=A0 TeX-PDF-mode: t<br>=C2=A0 global-company-mode: t<br>= =C2=A0 company-mode: t<br>=C2=A0 desktop-save-mode: t<br>=C2=A0 global-magi= t-file-mode: t<br>=C2=A0 magit-auto-revert-mode: t<br>=C2=A0 global-git-com= mit-mode: t<br>=C2=A0 async-bytecomp-package-mode: t<br>=C2=A0 show-paren-m= ode: t<br>=C2=A0 global-auto-revert-mode: t<br>=C2=A0 counsel-mode: t<br>= =C2=A0 ivy-mode: t<br>=C2=A0 global-evil-surround-mode: t<br>=C2=A0 evil-su= rround-mode: t<br>=C2=A0 evil-lion-mode: t<br>=C2=A0 evil-commentary-mode: = t<br>=C2=A0 global-undo-tree-mode: t<br>=C2=A0 shell-dirtrack-mode: t<br>= =C2=A0 evil-mode: t<br>=C2=A0 evil-local-mode: t<br>=C2=A0 electric-pair-mo= de: t<br>=C2=A0 winner-mode: t<br>=C2=A0 override-global-mode: t<br>=C2=A0 = tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=A0 electric-indent-mo= de: t<br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>= =C2=A0 global-font-lock-mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink= -cursor-mode: t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-encryptio= n-mode: t<br>=C2=A0 auto-compression-mode: t<br>=C2=A0 column-number-mode: = t<br>=C2=A0 line-number-mode: t<br>=C2=A0 transient-mark-mode: t<br><br>Loa= d-path shadows:<br>None found.<br><br>Features:<br>(pp shadow sort mail-ext= r goto-addr emacsbug sendmail smex ido<br>css-mode-expansions css-mode html= -mode-expansions sgml-mode eww mm-url<br>gnus nnheader wid-edit url-queue u= rl url-proxy url-privacy url-expand<br>url-methods url-history mailcap shr = url-cookie url-domsuf url-util svg<br>xml dom conf-mode js-mode-expansions = js cc-mode-expansions cc-mode<br>cc-fonts cc-guess cc-menus cc-cmds cc-styl= es cc-align cc-engine cc-vars<br>cc-defs jka-compr asm-mode inf-groovy mark= down-mode noutline outline<br>vc-git rainbow-delimiters rainbow-identifiers= company-oddmuse<br>company-keywords company-etags etags fileloop generator= company-gtags<br>company-dabbrev-code company-dabbrev company-files compan= y-clang<br>company-capf company-cmake company-semantic company-template<br>= company-bbdb wheatgrass-theme whitespace multi-term term disp-table<br>ehel= p nginx-mode groovy-mode ansible f jsonnet-mode yaml-mode<br>terraform-mode= hcl-mode dockerfile-mode s sh-script smie executable<br>indent-tools yafol= ding hydra lv indent-tools-indentation-of<br>highlight-indentation sql-inde= nt sql view clojure-mode-expansions<br>clojure-mode lisp-mnt align font-lat= ex tex texmathp company<br>pcase quail math-symbol-lists desktop frameset e= xpand-region<br>text-mode-expansions er-basic-expansions expand-region-core= <br>expand-region-custom magit-submodule magit-obsolete magit-blame<br>magi= t-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch<br>magi= t-clone magit-remote magit-commit magit-sequence magit-notes<br>magit-workt= ree magit-tag magit-merge magit-branch magit-reset<br>magit-files magit-ref= s magit-status magit magit-repos magit-apply<br>magit-wip magit-log which-f= unc imenu magit-diff smerge-mode diff-mode<br>magit-core magit-autorevert m= agit-margin magit-transient magit-process<br>magit-mode git-commit transien= t magit-git magit-section magit-utils crm<br>log-edit message rmc puny rfc8= 22 mml mml-sec epa derived epg epg-config<br>gnus-util rmail rmail-loaddefs= text-property-search mm-decode mm-bodies<br>mm-encode mail-parse rfc2231 r= fc2047 rfc2045 mm-util ietf-drums<br>mail-prsvr mailabbrev mail-utils gmm-u= tils mailheader pcvs-util add-log<br>with-editor async-bytecomp async serve= r dash exec-path-from-shell paren<br>autorevert filenotify aggressive-inden= t counsel xdg xref project dired<br>dired-loaddefs compile swiper ivy delse= l ivy-faces ivy-overlay colir<br>color avy evil-surround evil-lion rx disab= le-mouse extempore-mode<br>sudo-edit tramp tramp-loaddefs trampver tramp-in= tegration files-x<br>tramp-compat parse-time iso8601 time-date ls-lisp form= at-spec<br>evil-commentary evil-commentary-integration evil-little-word evi= l<br>evil-integration undo-tree diff evil-maps evil-commands reveal flyspel= l<br>ispell evil-jumps evil-command-window evil-types evil-search evil-ex<b= r>shell pcomplete comint ansi-color evil-macros evil-repeat evil-states<br>= evil-core advice evil-common windmove thingatpt rect evil-digraphs<br>evil-= vars cl-extra help-mode elec-pair winner ring use-package<br>use-package-en= sure use-package-delight use-package-diminish<br>use-package-bind-key bind-= key easy-mmode use-package-core tex-site cl<br>info edmacro kmacro package = easymenu browse-url url-handlers url-parse<br>auth-source cl-seq eieio eiei= o-core cl-macs eieio-loaddefs<br>password-cache json subr-x map url-vars se= q byte-opt gv bytecomp<br>byte-compile cconv cl-loaddefs cl-lib tooltip eld= oc electric uniquify<br>ediff-hook vc-hooks lisp-float-type mwheel term/ns-= win ns-win<br>ucs-normalize mule-util term/common-win tool-bar dnd fontset = image<br>regexp-opt fringe tabulated-list replace newcomment text-mode elis= p-mode<br>lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow is= earch<br>timer select scroll-bar mouse jit-lock font-lock syntax facemenu<b= r>font-core term/tty-colors frame minibuffer cl-generic cham georgian<br>ut= f-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean<br>japanese = eucjp-ms cp51932 hebrew greek romanian slovak czech european<br>ethiopic in= dian cyrillic chinese composite charscript charprop<br>case-table epa-hook = jka-cmpr-hook help simple abbrev obarray<br>cl-preloaded nadvice loaddefs b= utton faces cus-face macroexp files<br>text-properties overlay sha1 md5 bas= e64 format env code-pages mule<br>custom widget hashtable-print-readable ba= ckquote threads kqueue cocoa ns<br>multi-tty make-network-process emacs)<br= ><br>Memory information:<br>((conses 16 494933 56940)<br>=C2=A0(symbols 48 = 33468 0)<br>=C2=A0(strings 32 120893 8532)<br>=C2=A0(string-bytes 1 3741337= )<br>=C2=A0(vectors 16 63025)<br>=C2=A0(vector-slots 8 1511385 236164)<br>= =C2=A0(floats 8 348 346)<br>=C2=A0(intervals 56 9385 0)<br>=C2=A0(buffers 1= 000 113))<br></div> --00000000000082249205c2328dcb--
Khoa Vo <vodangkhoa873@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#48399
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.