From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Charalampos Mitrodimas Newsgroups: gmane.emacs.bugs 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:38:29 +0300 Message-ID: <24976237-221b-b2c7-576e-54db3ff759aa@gmail.com> References: <87o7o2w5h5.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13138"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Cc: 62682@debbugs.gnu.org To: Felix Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 06 12:25:37 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pkMoB-00032O-0k for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Apr 2023 12:25:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkMnq-0003vy-MY; Thu, 06 Apr 2023 06:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkMnn-0003tK-Gd for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 06:25:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkMnj-00007S-Dm for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 06:25:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkMnj-00086L-6f for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 06:25:07 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Charalampos Mitrodimas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Apr 2023 10:25:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62682 X-GNU-PR-Package: emacs Original-Received: via spool by 62682-submit@debbugs.gnu.org id=B62682.168077669631037 (code B ref 62682); Thu, 06 Apr 2023 10:25:07 +0000 Original-Received: (at 62682) by debbugs.gnu.org; 6 Apr 2023 10:24:56 +0000 Original-Received: from localhost ([127.0.0.1]:53499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkMnV-00084V-Q7 for submit@debbugs.gnu.org; Thu, 06 Apr 2023 06:24:56 -0400 Original-Received: from mail-ed1-f42.google.com ([209.85.208.42]:38428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkKCb-0003DA-Ot for 62682@debbugs.gnu.org; Thu, 06 Apr 2023 03:38:39 -0400 Original-Received: by mail-ed1-f42.google.com with SMTP id r11so147167796edd.5 for <62682@debbugs.gnu.org>; Thu, 06 Apr 2023 00:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680766711; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pvcdydXgIJrC1+KdeMO8JAfnW4awQfvXrq6n5ac72J8=; b=H9kevSv8x1aB7hfZPyC3TrJ8yLIr2uSmiP6JOJaag9b7spNjNXr7yhR6Vj5WfZdfkK DCAgtXufght0CjM0dJUgFn5bN+jcxCfzLnvilmJwTb824/vbFumtOZ/ybkNRZOmn1G7W FnM2HlT3DM7tUUA+DJaCnP8Z4Xu88Spt+oQ8avNjJS6lvX/uq12fqA5uV9VidECk7o/T 54sYpzSl9kDOuudpOVoLGj6FZk04UwBGCq1fNKXZf3lIVEokpj7sRnhAcl4Qte/iDUag Pf9/01DcLv2iQZwHPFbV9/clvCmTpUjGWyR41C+cPSqZIOmSn7LuS/dpX8ixgxBJ0Wsh OGKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680766711; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pvcdydXgIJrC1+KdeMO8JAfnW4awQfvXrq6n5ac72J8=; b=pLlGHe+k2XRQ1tDvzJZN8MR6Ms9a92n2vygQxFvdWZkkI+sdW5jUcs2lHw9V252OVH gKjBNCVF/oCnwLBCuzGmuwYzdH2mxgu4LYY4qTcs1QxtZAN1bZkpzhXumhfUc1GJbNYG 31pR+qUVfgf4dD5WFOnILsBe8T70akLIz7ml9TECCPkhEB2N12BWQGX9XesnnHAtD/YL FzWre9TBenzKBuxW0h7qiXY71NfuGGWfMbnjnIJc2xMSPIJriazRBH5hwMTgUJxDeDHk gtKOYprsJ3+GTE6K6DtEDKhy7tv2+k7kmpqdTftshV+QA8Puq/NFudCBudPe4ofaQvBd iS2A== X-Gm-Message-State: AAQBX9fVdEWo5jk0M0J9vRlBQNyWm9aFL8+guF5GlPLdJgYNPFYErnzy 1aMMt9nvXgYKnDaNxk9PfrQ= X-Google-Smtp-Source: AKy350a/BLgWYwKjD8Gh1Xlez+ZBEjN6rClbZIyAD2XT3W951tGPpMopOupUA5HjjR7kg2udPfHcYQ== X-Received: by 2002:a17:906:8049:b0:948:6e9c:273e with SMTP id x9-20020a170906804900b009486e9c273emr5421240ejw.62.1680766711489; Thu, 06 Apr 2023 00:38:31 -0700 (PDT) Original-Received: from [192.168.1.4] ([91.132.134.133]) by smtp.gmail.com with ESMTPSA id q18-20020a1709063d5200b0093237bd4bc3sm433090ejf.116.2023.04.06.00.38.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 00:38:31 -0700 (PDT) Content-Language: en-US In-Reply-To: <87o7o2w5h5.fsf@web.de> X-Mailman-Approved-At: Thu, 06 Apr 2023 06:24:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259309 Archived-At: 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! > > >