unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62682: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end
@ 2023-04-05 18:26 Felix
  2023-04-06  7:38 ` Charalampos Mitrodimas
  2023-04-06  7:44 ` Charalampos Mitrodimas
  0 siblings, 2 replies; 3+ messages in thread
From: Felix @ 2023-04-05 18:26 UTC (permalink / raw)
  To: 62682



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!





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#62682: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end
  2023-04-05 18:26 bug#62682: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end Felix
@ 2023-04-06  7:38 ` Charalampos Mitrodimas
  2023-04-06  7:44 ` Charalampos Mitrodimas
  1 sibling, 0 replies; 3+ messages in thread
From: Charalampos Mitrodimas @ 2023-04-06  7:38 UTC (permalink / raw)
  To: Felix; +Cc: 62682

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!
>
>
>





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#62682: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end
  2023-04-05 18:26 bug#62682: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end Felix
  2023-04-06  7:38 ` Charalampos Mitrodimas
@ 2023-04-06  7:44 ` Charalampos Mitrodimas
  1 sibling, 0 replies; 3+ messages in thread
From: Charalampos Mitrodimas @ 2023-04-06  7:44 UTC (permalink / raw)
  To: 62682; +Cc: Felix

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!
>
>
>





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-06  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 18:26 bug#62682: 30.0.50; comint-clear-buffer should have a (move-end-of-line nil) at the end Felix
2023-04-06  7:38 ` Charalampos Mitrodimas
2023-04-06  7:44 ` Charalampos Mitrodimas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).