all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Charalampos Mitrodimas <charmitro@gmail.com>
To: 62682@debbugs.gnu.org
Cc: Felix <felix.dick@web.de>
Subject: 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	[thread overview]
Message-ID: <22154d18-90bb-0b25-e05b-3272b05c3a82@gmail.com> (raw)
In-Reply-To: <87o7o2w5h5.fsf@web.de>

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





      parent reply	other threads:[~2023-04-06  7:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22154d18-90bb-0b25-e05b-3272b05c3a82@gmail.com \
    --to=charmitro@gmail.com \
    --cc=62682@debbugs.gnu.org \
    --cc=felix.dick@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.