GNU bug report logs - #62682
30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end

Previous Next

Package: emacs;

Reported by: Felix <felix.dick <at> web.de>

Date: Wed, 5 Apr 2023 18:31:02 UTC

Severity: minor

Found in version 30.0.50

To reply to this bug, email your comments to 62682 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#62682; Package emacs. (Wed, 05 Apr 2023 18:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix <felix.dick <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 05 Apr 2023 18:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix <felix.dick <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil)
 at the end
Date: Wed, 05 Apr 2023 20:26:14 +0200

In GNU Emacs 30.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version
 3.24.37, cairo version 1.17.8) of 2023-04-05 built on
 felix-lifebooka531
Repository revision: 8678708ad10b17a4609c950a02cf39ab9ff86317
Repository branch: makepkg
Windowing system distributor 'The X.Org Foundation', version 11.0.12301001
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-modules --without-libotf --without-m17n-flt --without-gconf
 --enable-autodepend --enable-link-time-optimization
 --with-native-compilation=yes --with-xinput2 --with-x-toolkit=gtk3
 --without-xaw3d --with-sound=no --with-xwidgets --with-tree-sitter
 --without-gpm --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=native -mtune=generic -O3 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8

If the cursor is in some line at a column position that is lower than
the length of the prompt (e.g. ELISP> in ielm) and comint-clear-buffer
is used, the cursor ends up inside the prompt. This has been tested with
gdb and ielm on emacs 3.0.50 started with 'emacs -Q'

Thanks!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62682; Package emacs. (Thu, 06 Apr 2023 10:25:07 GMT) Full text and rfc822 format available.

Message #8 received at 62682 <at> debbugs.gnu.org (full text, mbox):

From: Charalampos Mitrodimas <charmitro <at> gmail.com>
To: Felix <felix.dick <at> web.de>
Cc: 62682 <at> debbugs.gnu.org
Subject: Re: bug#62682: 30.0.50; comint-clear-buffer should have a
 (move-end-of-line nil) at the end
Date: Thu, 6 Apr 2023 10:38:29 +0300
Is having a (move-end-f-line nil) in comint-clear-buffer wise?

What are the other use-cases of comint-clear-buffer? It
makes sense for IELM or Terminal buffers, but we need to
identify other use-cases of this, before we push a fix.

--
Charalampos

On 5/4/23 9:26 PM, Felix wrote:
>
> In GNU Emacs 30.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version
>   3.24.37, cairo version 1.17.8) of 2023-04-05 built on
>   felix-lifebooka531
> Repository revision: 8678708ad10b17a4609c950a02cf39ab9ff86317
> Repository branch: makepkg
> Windowing system distributor 'The X.Org Foundation', version 11.0.12301001
> System Description: Arch Linux
>
> Configured using:
>   'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
>   --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
>   --with-modules --without-libotf --without-m17n-flt --without-gconf
>   --enable-autodepend --enable-link-time-optimization
>   --with-native-compilation=yes --with-xinput2 --with-x-toolkit=gtk3
>   --without-xaw3d --with-sound=no --with-xwidgets --with-tree-sitter
>   --without-gpm --without-compress-install
>   '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
>   'CFLAGS=-march=native -mtune=generic -O3 -pipe -fno-plt -fexceptions
>   -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
>   -fstack-clash-protection -fcf-protection'
>   LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
>
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
> LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
> RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
> X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB
>
> Important settings:
>    value of $LANG: de_DE.UTF-8
>    locale-coding-system: utf-8
>
> If the cursor is in some line at a column position that is lower than
> the length of the prompt (e.g. ELISP> in ielm) and comint-clear-buffer
> is used, the cursor ends up inside the prompt. This has been tested with
> gdb and ielm on emacs 3.0.50 started with 'emacs -Q'
>
> Thanks!
>
>
>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62682; Package emacs. (Thu, 06 Apr 2023 10:25:07 GMT) Full text and rfc822 format available.

Message #11 received at 62682 <at> debbugs.gnu.org (full text, mbox):

From: Charalampos Mitrodimas <charmitro <at> gmail.com>
To: 62682 <at> debbugs.gnu.org
Cc: Felix <felix.dick <at> web.de>
Subject: Re: bug#62682: 30.0.50; comint-clear-buffer should have a
 (move-end-of-line nil) at the end
Date: Thu, 6 Apr 2023 10:44:35 +0300
Is having a (move-end-f-line nil) in comint-clear-buffer wise?

What are the other use-cases of comint-clear-buffer? It
makes sense for IELM or Terminal buffers, but we need to
identify other use-cases of this, before we push a fix.

-- 
Charalampos

On 5/4/23 9:26 PM, Felix wrote:
>
> In GNU Emacs 30.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version
>   3.24.37, cairo version 1.17.8) of 2023-04-05 built on
>   felix-lifebooka531
> Repository revision: 8678708ad10b17a4609c950a02cf39ab9ff86317
> Repository branch: makepkg
> Windowing system distributor 'The X.Org Foundation', version 11.0.12301001
> System Description: Arch Linux
>
> Configured using:
>   'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
>   --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
>   --with-modules --without-libotf --without-m17n-flt --without-gconf
>   --enable-autodepend --enable-link-time-optimization
>   --with-native-compilation=yes --with-xinput2 --with-x-toolkit=gtk3
>   --without-xaw3d --with-sound=no --with-xwidgets --with-tree-sitter
>   --without-gpm --without-compress-install
>   '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
>   'CFLAGS=-march=native -mtune=generic -O3 -pipe -fno-plt -fexceptions
>   -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
>   -fstack-clash-protection -fcf-protection'
>   LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
>
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
> LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
> RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
> X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB
>
> Important settings:
>    value of $LANG: de_DE.UTF-8
>    locale-coding-system: utf-8
>
> If the cursor is in some line at a column position that is lower than
> the length of the prompt (e.g. ELISP> in ielm) and comint-clear-buffer
> is used, the cursor ends up inside the prompt. This has been tested with
> gdb and ielm on emacs 3.0.50 started with 'emacs -Q'
>
> Thanks!
>
>
>




Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Sep 2023 23:39:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.