From unknown Sat Jun 21 10:40:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15744: 23.3; ansi-term: prompt moves to bottom of screen Resent-From: "Olsen, Stuart J" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15744@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.13829869982633 (code B ref -1); Mon, 28 Oct 2013 19:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2013 19:03:18 +0000 Received: from localhost ([127.0.0.1]:49703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vas5s-0000gO-Mu for submit@debbugs.gnu.org; Mon, 28 Oct 2013 15:03:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vas5p-0000g9-Gk for submit@debbugs.gnu.org; Mon, 28 Oct 2013 15:03:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vas5c-0002l4-8l for submit@debbugs.gnu.org; Mon, 28 Oct 2013 15:03:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vas5c-0002ky-6h for submit@debbugs.gnu.org; Mon, 28 Oct 2013 15:03:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vas5V-0006VV-6m for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 15:03:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vas5N-0002iA-Vz for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 15:02:53 -0400 Received: from ppsfilter7.tr.txstate.edu ([147.26.63.11]:49180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vas5N-0002hz-LY for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 15:02:45 -0400 Received: from exchhubcas2.matrix.txstate.edu (exchhubcas2.matrix.txstate.edu [147.26.57.28]) by ppsfilter7.tr.txstate.edu (8.14.4/8.14.4) with ESMTP id r9SJ2gEr015930 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 28 Oct 2013 14:02:43 -0500 Received: from EXCHMBX6.matrix.txstate.edu ([169.254.5.234]) by exchhubcas2.matrix.txstate.edu ([147.26.57.28]) with mapi id 14.03.0158.001; Mon, 28 Oct 2013 14:02:42 -0500 From: "Olsen, Stuart J" Thread-Topic: 23.3; ansi-term: prompt moves to bottom of screen Thread-Index: Ac7UEEUk29h4tNDNQkqOaMfPo1Z8DQ== Date: Mon, 28 Oct 2013 19:02:42 +0000 Message-ID: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [147.26.103.220] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-10-28_03:2013-10-28,2013-10-28,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=2.65620858641569e-12 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.999202450796203 urlsuspect_oldscore=0.999202450796203 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 rbsscore=0.999202450796203 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1310280144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) In ansi-term, once the screen has filled with output -- that is, when=0A= the prompt for the shell is at the bottom of the window -- if one scrolls t= he=0A= buffer so that the prompt is in the middle of the screen, typing=0A= anything into the terminal buffer causes the prompt to snap back down to=0A= the bottom of the window. This is helpful if the prompt is not in view,=0A= but is rather obnoxious if it is, especially when using ZSH, which=0A= displays completions and other information below the prompt, meaning=0A= that that information is hidden once the buffer fills to the size of the=0A= window.=0A= =0A= To reproduce the bug, issue `emacs -Q', run the `ansi-term' command,=0A= select an appropriate shell (I have observed this behaviour with both=0A= GNU bash and ZSH), and issue enough commands to the shell to fill the=0A= window. Once the window has been filled, scroll the buffer so the prompt=0A= appears above the bottom of the window. Send any input to the shell, and=0A= the prompt will snap to the bottom of the window.=0A= =0A= It may be helpful to note that term.el references at line 1005 a variable= =0A= named `term-scroll-to-bottom-on-input', which does not appear to be=0A= referenced anywhere within the code, and which is undefined in my version o= f=0A= Emacs.=0A= =0A= =0A= In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)=0A= of 2013-05-16 on panlong, modified by Debian=0A= Windowing system distributor `The X.Org Foundation', version 11.0.11103000= =0A= configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64= -linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir= =3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--= mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/= emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/e= macs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/= usr/share/emacs/23.3/leim' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--= with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-toolkit-scroll-bars' 'build_= alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-DDEBIAN -g -O2' 'LDFLAGS=3D-g' 'CPPFLA= GS=3D-D_FORTIFY_SOURCE=3D2''=0A= =0A= Important settings:=0A= value of $LC_ALL: en_US.UTF-8=0A= value of $LC_COLLATE: nil=0A= value of $LC_CTYPE: nil=0A= value of $LC_MESSAGES: nil=0A= value of $LC_MONETARY: nil=0A= value of $LC_NUMERIC: nil=0A= value of $LC_TIME: nil=0A= value of $LANG: en_US.UTF-8=0A= value of $XMODIFIERS: nil=0A= locale-coding-system: utf-8-unix=0A= default enable-multibyte-characters: t=0A= =0A= Major mode: Term=0A= =0A= Minor modes in effect:=0A= tooltip-mode: t=0A= mouse-wheel-mode: t=0A= tool-bar-mode: t=0A= menu-bar-mode: t=0A= file-name-shadow-mode: t=0A= global-font-lock-mode: t=0A= font-lock-mode: t=0A= blink-cursor-mode: t=0A= auto-encryption-mode: t=0A= auto-compression-mode: t=0A= line-number-mode: t=0A= transient-mark-mode: t=0A= =0A= Recent input:=0A= M-x a n s i - t e r m =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= l s =0A= =0A= s =0A= s =0A= =0A= s s s s =0A= =0A= M-x s u b C-g =0A= =0A= =0A= =0A= Recent messages:=0A= Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)..= .done=0A= Loading debian-ispell...done=0A= Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...d= one=0A= Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done=0A= Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done=0A= Loading /etc/emacs/site-start.d/50psvn.el (source)...done=0A= Loading /etc/emacs/site-start.d/50slime.el (source)...=0A= Loading /usr/share/emacs23/site-lisp/slime/slime-autoloads.elc...done=0A= Loading /etc/emacs/site-start.d/50slime.el (source)...done=0A= For information about GNU Emacs and the GNU system, type C-h C-a.=0A= =0A= Load-path shadows:=0A= /usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup=0A= /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/em= acs/23.3/lisp/textmodes/ispell=0A= /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/= emacs/23.3/lisp/textmodes/flyspell=0A= =0A= Features:=0A= (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml=0A= easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap=0A= mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader=0A= gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit=0A= mailheader canlock sha1 hex-util hashcash mail-utils emacsbug term=0A= disp-table ehelp electric ring slime-autoloads emacs-goodies-el=0A= emacs-goodies-custom emacs-goodies-loaddefs easy-mmode tooltip=0A= ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting=0A= tool-bar dnd fontset image fringe lisp-mode register page menu-bar=0A= rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock=0A= syntax facemenu font-core frame cham georgian utf-8-lang misc-lang=0A= vietnamese tibetan thai tai-viet lao korean japanese hebrew greek=0A= romanian slovak czech european ethiopic indian cyrillic chinese=0A= case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button=0A= minibuffer faces cus-face files text-properties overlay md5 base64=0A= format env code-pages mule custom widget hashtable-print-readable=0A= backquote make-network-process dbusbind system-font-setting=0A= font-render-setting gtk x-toolkit x multi-tty emacs)=0A= =0A= From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 28 15:12:45 2013 Received: (at control) by debbugs.gnu.org; 28 Oct 2013 19:12:45 +0000 Received: from localhost ([127.0.0.1]:49716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VasF2-0000vr-0B for submit@debbugs.gnu.org; Mon, 28 Oct 2013 15:12:44 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50955 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VasEz-0000vi-HB for control@debbugs.gnu.org; Mon, 28 Oct 2013 15:12:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VasEy-000742-RM for control@debbugs.gnu.org; Mon, 28 Oct 2013 15:12:40 -0400 Date: Mon, 28 Oct 2013 15:12:40 -0400 Message-Id: Subject: control message for bug 15744 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) found 15744 24.3 severity 15744 minor tag 15744 confirmed From unknown Sat Jun 21 10:40:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15744: 23.3; ansi-term: prompt moves to bottom of screen References: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> In-Reply-To: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> Resent-From: "Olsen, Stuart J" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 19:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: "15744@debbugs.gnu.org" <15744@debbugs.gnu.org> Received: via spool by 15744-submit@debbugs.gnu.org id=B15744.13829885619264 (code B ref 15744); Mon, 28 Oct 2013 19:30:01 +0000 Received: (at 15744) by debbugs.gnu.org; 28 Oct 2013 19:29:21 +0000 Received: from localhost ([127.0.0.1]:49747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VasV7-0002PM-Bc for submit@debbugs.gnu.org; Mon, 28 Oct 2013 15:29:21 -0400 Received: from ppsfilter8.tr.txstate.edu ([147.26.63.12]:51296) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VasV5-0002P6-5G for 15744@debbugs.gnu.org; Mon, 28 Oct 2013 15:29:19 -0400 Received: from exchhubcas5.matrix.txstate.edu (exchhubcas5.matrix.txstate.edu [147.26.57.31]) by ppsfilter8.tr.txstate.edu (8.14.4/8.14.4) with ESMTP id r9SJTCEC000790 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <15744@debbugs.gnu.org>; Mon, 28 Oct 2013 14:29:12 -0500 Received: from EXCHMBX6.matrix.txstate.edu ([169.254.5.234]) by exchhubcas5.matrix.txstate.edu ([147.26.57.31]) with mapi id 14.03.0158.001; Mon, 28 Oct 2013 14:29:12 -0500 From: "Olsen, Stuart J" Thread-Topic: 23.3; ansi-term: prompt moves to bottom of screen Thread-Index: Ac7UE/sKoWKoHN2MRFqPEzfuGoVwkg== Date: Mon, 28 Oct 2013 19:29:12 +0000 Message-ID: <796BA1E8B6BA204491CEAC005F38EE50079FD629@EXCHMBX6.matrix.txstate.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [147.26.103.220] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-10-28_03:2013-10-28,2013-10-28,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=2.65620858641569e-12 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.999202450796203 urlsuspect_oldscore=0.999202450796203 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 rbsscore=0.999202450796203 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=9 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1310280153 X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Additionally, sending ^L to the shell, be it bash or ZSH, causes the behavi= our=0A= to change slightly; instead of snapping the prompt to the bottom of the win= dow=0A= on input, the terminal snaps the prompt to the top. This behaviour persists= =0A= until the screen is again filled with output; at that point, the terminal= =0A= reverts to moving the prompt to the bottom of the screen on input.= From unknown Sat Jun 21 10:40:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15744: ansi-term: prompt moves to bottom of screen References: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> In-Reply-To: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> Resent-From: Ryan Crum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2013 02:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: 15744@debbugs.gnu.org Received: via spool by 15744-submit@debbugs.gnu.org id=B15744.138301340528209 (code B ref 15744); Tue, 29 Oct 2013 02:24:02 +0000 Received: (at 15744) by debbugs.gnu.org; 29 Oct 2013 02:23:25 +0000 Received: from localhost ([127.0.0.1]:50313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vayxo-0007Kv-74 for submit@debbugs.gnu.org; Mon, 28 Oct 2013 22:23:24 -0400 Received: from li172-124.members.linode.com ([173.230.132.124]:57006 helo=localdomain.localdomain) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaycX-0006oB-Py for 15744@debbugs.gnu.org; Mon, 28 Oct 2013 22:01:26 -0400 Received: by localdomain.localdomain (Postfix, from userid 1000) id 1093046ACA; Mon, 28 Oct 2013 22:01:25 -0400 (EDT) Date: Mon, 28 Oct 2013 22:01:25 -0400 From: Ryan Crum Message-ID: <20131029020124.GC19655@cimmeria.members.linode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 28 Oct 2013 22:23:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi, Here's a patch that adds a variable `term-scroll-snap-to-bottom` in an attempt resolve this. It defaults to t to preserve current behavior (arguably best for curses-type interactions), but when you set it to nil it keeps your current scrolling position while typing as long as the prompt is still visible in the window. It also works with `term-scroll-show-maximum-output` to handle cases where output is printed below the prompt (ala zsh). This patch is against trunk. -Ryan *** term.el.orig Mon Oct 28 21:53:50 2013 --- term.el Mon Oct 28 21:53:05 2013 *************** This variable is buffer-local." *** 551,556 **** --- 551,564 ---- :type 'boolean :group 'term) + (defcustom term-scroll-snap-to-bottom t + "If t, when the prompt is visible within the buffer then scroll + so that the prompt is on the bottom on any input or output. + + The default is t." + :type 'boolean + :group 'term) + (defcustom term-scroll-show-maximum-output nil "Controls how interpreter output causes window to scroll. If non-nil, then show the maximum output when the window is scrolled. *************** See `term-prompt-regexp'." *** 3114,3128 **** (or (eq scroll 'this) (not save-point))) (and (eq scroll 'others) (not (eq selected win)))) ! (goto-char term-home-marker) ! (recenter 0) (goto-char (process-mark proc)) (if (not (pos-visible-in-window-p (point) win)) (recenter -1))) ;; Optionally scroll so that the text ;; ends at the bottom of the window. (when (and term-scroll-show-maximum-output ! (>= (point) (process-mark proc))) (save-excursion (goto-char (point-max)) (recenter -1))))) --- 3122,3139 ---- (or (eq scroll 'this) (not save-point))) (and (eq scroll 'others) (not (eq selected win)))) ! (when term-scroll-snap-to-bottom ! (goto-char term-home-marker) ! (recenter 0)) (goto-char (process-mark proc)) (if (not (pos-visible-in-window-p (point) win)) (recenter -1))) ;; Optionally scroll so that the text ;; ends at the bottom of the window. (when (and term-scroll-show-maximum-output ! (>= (point) (process-mark proc)) ! (or term-scroll-snap-to-bottom ! (not (pos-visible-in-window-p (point-max) win)))) (save-excursion (goto-char (point-max)) (recenter -1))))) From unknown Sat Jun 21 10:40:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15744: 23.3; ansi-term: prompt moves to bottom of screen References: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> In-Reply-To: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> Resent-From: "Olsen, Stuart J" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2013 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: "15744@debbugs.gnu.org" <15744@debbugs.gnu.org>, "ryan@ryancrum.org" Received: via spool by 15744-submit@debbugs.gnu.org id=B15744.138315649832130 (code B ref 15744); Wed, 30 Oct 2013 18:09:01 +0000 Received: (at 15744) by debbugs.gnu.org; 30 Oct 2013 18:08:18 +0000 Received: from localhost ([127.0.0.1]:53179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbaBm-0008MA-1J for submit@debbugs.gnu.org; Wed, 30 Oct 2013 14:08:18 -0400 Received: from ppsfilter7.tr.txstate.edu ([147.26.63.11]:37101) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbaBk-0008Lz-2u for 15744@debbugs.gnu.org; Wed, 30 Oct 2013 14:08:16 -0400 Received: from exchhubcas5.matrix.txstate.edu (exchhubcas5.matrix.txstate.edu [147.26.57.31]) by ppsfilter7.tr.txstate.edu (8.14.4/8.14.4) with ESMTP id r9UI89fb000977 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 30 Oct 2013 13:08:09 -0500 Received: from EXCHMBX6.matrix.txstate.edu ([169.254.5.234]) by exchhubcas5.matrix.txstate.edu ([147.26.57.31]) with mapi id 14.03.0158.001; Wed, 30 Oct 2013 13:08:09 -0500 From: "Olsen, Stuart J" Thread-Topic: 23.3; ansi-term: prompt moves to bottom of screen Thread-Index: Ac7Vmvy1Wqa2vt8RRYqxlRSpslsCwQ== Date: Wed, 30 Oct 2013 18:08:08 +0000 Message-ID: <796BA1E8B6BA204491CEAC005F38EE50079FD932@EXCHMBX6.matrix.txstate.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [147.26.102.113] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-10-30_06:2013-10-30,2013-10-30,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=2.77555756156289e-15 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.995272479021921 urlsuspect_oldscore=0.995272479021921 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 rbsscore=0.995272479021921 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1310300146 X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) > Here's a patch [...]=0A= =0A= Thank you, that works absolutely beautifully.= From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 18:37:39 2020 Received: (at control) by debbugs.gnu.org; 12 Aug 2020 22:37:39 +0000 Received: from localhost ([127.0.0.1]:45859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5zNK-0001J0-Tz for submit@debbugs.gnu.org; Wed, 12 Aug 2020 18:37:39 -0400 Received: from mail-yb1-f169.google.com ([209.85.219.169]:35349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5zNJ-0001Ik-AN for control@debbugs.gnu.org; Wed, 12 Aug 2020 18:37:37 -0400 Received: by mail-yb1-f169.google.com with SMTP id y134so2247203yby.2 for ; Wed, 12 Aug 2020 15:37:37 -0700 (PDT) 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=PUzTCTijJYJptCgBVXm6lldMhfT6VqB0ni2sGbF+1iQ=; b=pXSNvk80rX+N5Qq1SFS1KsqneJ/0imCI9IV6AbOGKV5sOInC55JzqjKiwxf8BG/zgB XsNClMROvu9OCCG3/o7KXkD0WnsHMcyTk5j2GXMqm7qMNqnALbDjhRQffjDuUYYMcf5x ptfgRyLHO/btu8wntrAxfSy/kEY+meDlxm6QsFuB8c89HDT51TWxRS225zEyOk6Sns/h /WrattPhzyFMHxcZtIly1efCWFhrPdqtQhrv3xYbx+DbHvAUfnbjFZPzsbLeq5MlESvK migJoESOcgKYzL4z7IfDfgJQqdfW1/kil3mnhkOV1W5DOdJZ3Q2zVgdFfW+4iPy0pJgE KqEg== X-Gm-Message-State: AOAM531sLuyJDTj3vZ+TJ6ny1bCnZJIcHsmyukbu7yjmeKlqGLIcdbYO lM5Ss3fq469cy1ZsDHM6n2oUF8+a/jbOZt0ntxW6U4ZT2SGUag== X-Google-Smtp-Source: ABdhPJxJXyFJfZKFnmHm3tw6ZcYZdSthz/rcWNwQlWL0TGDMGahDjHNtSGH1/Du28VZg49/bQW3pUBnLzLTlZosh42A= X-Received: by 2002:a25:4609:: with SMTP id t9mr2350411yba.231.1597271851701; Wed, 12 Aug 2020 15:37:31 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Thu, 13 Aug 2020 00:37:20 +0200 Message-ID: Subject: To: control Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 3.0 (+++) 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: tags 15744 + patch thanks Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.169 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.169 listed in wl.mailspike.net] 1.0 PDS_TONAME_EQ_TOLOCAL_VSHORT Very short body and From looks like 2 different emails 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) 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: tags 15744 + patch thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.169 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.169 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 PDS_TONAME_EQ_TOLOCAL_VSHORT Very short body and From looks like 2 different emails 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager tags 15744 + patch thanks From unknown Sat Jun 21 10:40:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15744: ansi-term: prompt moves to bottom of screen Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Aug 2020 11:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch confirmed To: Ryan Crum Cc: 15744@debbugs.gnu.org Received: via spool by 15744-submit@debbugs.gnu.org id=B15744.159731659625057 (code B ref 15744); Thu, 13 Aug 2020 11:04:02 +0000 Received: (at 15744) by debbugs.gnu.org; 13 Aug 2020 11:03:16 +0000 Received: from localhost ([127.0.0.1]:47104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6B0t-0006W5-Lx for submit@debbugs.gnu.org; Thu, 13 Aug 2020 07:03:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6B0r-0006Vr-4i for 15744@debbugs.gnu.org; Thu, 13 Aug 2020 07:03:14 -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:In-Reply-To:Date: References: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=D1zPUVO7DpZahQ8EBX3rUCmJl6paSK9n0KHkBR/s2BE=; b=HZNDmAoZkaf3plH5tw97ioriLn IIJSks2vqxgQX61FenMAq8KOKeVNpi838HlhVAvyg1SKeGC4yzUtwY8wzNFjuCZj5INA1BSVMZd5B HUk3r0H30OxsPIIBQtdEkHqjMxCz01lY154B/vjvgGKLcTA81SKcW/yfwJsbUmF9h5Ik=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6B0e-0005Jx-8d; Thu, 13 Aug 2020 13:03:06 +0200 From: Lars Ingebrigtsen References: <796BA1E8B6BA204491CEAC005F38EE50079FD5F9@EXCHMBX6.matrix.txstate.edu> <20131029020124.GC19655@cimmeria.members.linode.com> Date: Thu, 13 Aug 2020 13:02:59 +0200 In-Reply-To: <20131029020124.GC19655@cimmeria.members.linode.com> (Ryan Crum's message of "Mon, 28 Oct 2013 22:01:25 -0400") Message-ID: <87h7t6erks.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Ryan Crum writes: > Here's a patch that adds a variable `term-scroll-snap-to-bottom` in an > attempt resolve this. It defaults to t to preserve current behavior > (arguably best for curses-type interactions), but when [...] 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: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ryan Crum writes: > Here's a patch that adds a variable `term-scroll-snap-to-bottom` in an > attempt resolve this. It defaults to t to preserve current behavior > (arguably best for curses-type interactions), but when you set it to > nil it keeps your current scrolling position while typing as long as > the prompt is still visible in the window. Thanks; the patch still seems to work fine against Emacs 28, so I've applied it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 07:03:24 2020 Received: (at control) by debbugs.gnu.org; 13 Aug 2020 11:03:24 +0000 Received: from localhost ([127.0.0.1]:47107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6B11-0006WT-V4 for submit@debbugs.gnu.org; Thu, 13 Aug 2020 07:03:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6B11-0006WE-2h for control@debbugs.gnu.org; Thu, 13 Aug 2020 07:03:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WZhdctlYEh7izTjIe1RSL7RxtYETjsDx+WRnLvsZi0U=; b=UVmQNVQpEfr7lPhmsv7m1xNB09 UPihnbYKjExtlymA2xXXnc19KXqb5P8alLV0bJ5zQN8zJ89FLUjr88Wh1y8XRa3cWj1JvbUoXqyPf LSdUbmrBkSYEQsC8o013JjZ7feXH8OSVV10yYcr5MWB+EzO0nrV+H2tpAjJp9ShBPl8k=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6B0p-0005K6-DJ for control@debbugs.gnu.org; Thu, 13 Aug 2020 13:03:17 +0200 Date: Thu, 13 Aug 2020 13:03:10 +0200 Message-Id: <87ft8qerkh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15744 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: tags 15744 fixed close 15744 28.1 quit 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: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 15744 fixed close 15744 28.1 quit