From unknown Mon Jun 23 04:11:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19055 <19055@debbugs.gnu.org> To: bug#19055 <19055@debbugs.gnu.org> Subject: Status: comint-previous-matching-input-from-input broken by fix for #13404 Reply-To: bug#19055 <19055@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:11:33 +0000 retitle 19055 comint-previous-matching-input-from-input broken by fix for #= 13404 reassign 19055 emacs submitter 19055 John Valente severity 19055 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 14 12:36:51 2014 Received: (at submit) by debbugs.gnu.org; 14 Nov 2014 17:36:52 +0000 Received: from localhost ([127.0.0.1]:32824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpKni-0006OP-SD for submit@debbugs.gnu.org; Fri, 14 Nov 2014 12:36:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47531) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpKQQ-0005fP-KF for submit@debbugs.gnu.org; Fri, 14 Nov 2014 12:12:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpKQG-0006Ys-5j for submit@debbugs.gnu.org; Fri, 14 Nov 2014 12:12:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKQG-0006Yi-2e for submit@debbugs.gnu.org; Fri, 14 Nov 2014 12:12:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKQ7-00007E-Ay for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:12:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpKPx-0006Gj-Ph for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:12:27 -0500 Received: from nm3-vm0.bullet.mail.bf1.yahoo.com ([98.139.212.154]:47129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKPx-0006GF-Jq for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:12:17 -0500 Received: from [66.196.81.170] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 14 Nov 2014 17:12:17 -0000 Received: from [98.139.215.230] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 14 Nov 2014 17:12:17 -0000 Received: from [127.0.0.1] by omp1070.mail.bf1.yahoo.com with NNFMP; 14 Nov 2014 17:12:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 997632.72895.bm@omp1070.mail.bf1.yahoo.com Received: (qmail 72434 invoked by uid 60001); 14 Nov 2014 17:12:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1415985136; bh=IrTnhlHFBQGiM+SirfkBgOW45Myfkp0EsCyZAJ0A6IM=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=dyugZUA/99ZE8oMUHolYde1LKgTSqqTfLPiatfO64N42bvruaYibHIl1w8gqFZvXIEZA+vx4pOakZRI7N+amdVxK3ma0sQrOdY+ACkLgTRZr6boyBE8l41oIVg+m5R5loCR50nQcrPIzxwzqnjuNr3Ayy0Mq/3h97WW9VU49q3c= X-YMail-OSG: 27GSivkVM1lZs_KR7VTOBzq.UWwrnhUIkGZ1mZoRSmsuZ6z F1xJMJnA2vRQOmNfoyyqlw4dUrA8zpvT2OIzZmeDsUBUbHIz4bKNtoxFSodN uTZgeobG1YWC6QYk_81EgyNQqOAMqDxLXNYRvDfZz7zgdQIW1CxbtBfAlPho ke0YMEX_0FO.5fCZTduzjxpbRSCuTgZA16XTHSYHTkOidUhJ3fTw_ZHwRXoS 8DItLVoSRWrilrv7znSuUzsJ2nK9unGn0xmGUj_7GfnkzQHAuM.pysn67rds 2MWfxIU1LtITj7cW4tW7P5uaxMKIHkMvxAWVw0oxqCoMo4ldZnnght.lb8FS 8taSACvk3yYq7UwSlbLGsJzydevxccK7uojE_V6IWI6ZbUOWXBwT1VRBDcDL _h1FdVWKPEUau_oCVBW6xJ8JU.sDV462BlrfTc5zvPRek0BtUCpq6t9ZV53s UR37NHX.GsEQHUs3V4h8X0O3gOZWsWLhf3ogBjar2X0HdDC9oFmKD2Fa3oxj gMyVVTq1FiQLsWnm0_zHFDM9txUHOrUa1ahvGzBOrI32X0EQvOjX2vp8- Received: from [54.240.196.169] by web162102.mail.bf1.yahoo.com via HTTP; Fri, 14 Nov 2014 09:12:16 PST X-Rocket-MIMEInfo: 002.001, CkJ1ZyAjMTM0MDQgY29tcGxhaW5lZCB0aGF0IGNvbWludC1wcmV2aW91cy1tYXRjaGluZy1pbnB1dC1mcm9tLWlucHV0IG1vdmVkIHRoZSBwb2ludCB0byB0aGUgZW5kIG9mIHRoZSBsaW5lLCBhbmQgdGhhdCB0aGlzIHdhcyBhIGJ1ZyBiZWNhdXNlIGl0IHdhcyBpbmNvbXBhdGlibGUgd2l0aCBiYXNoIGFuZCB6c2guCgpJIHJlYWxseSBoYXZlIG5vIGlkZWEgd2hlcmUgdGhpcyBjb21lcyBmcm9tLiAgQWN0dWFsbHksIGJhc2ggYW5kIHpzaCBkbyBtb3ZlIHRoZSBjdXJzb3IgdG8gdGhlIGVuZCBvZiB0aGUgaW4BMAEBAQE- X-Mailer: YahooMailWebService/0.8.203.733 Message-ID: <1415985136.73487.YahooMailNeo@web162102.mail.bf1.yahoo.com> Date: Fri, 14 Nov 2014 09:12:16 -0800 From: John Valente Subject: comint-previous-matching-input-from-input broken by fix for #13404 To: "bug-gnu-emacs@gnu.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1915525664-1332434295-1415985136=:73487" 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: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 14 Nov 2014 12:36:48 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: John Valente 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: -3.8 (---) --1915525664-1332434295-1415985136=:73487 Content-Type: text/plain; charset=us-ascii Bug #13404 complained that comint-previous-matching-input-from-input moved the point to the end of the line, and that this was a bug because it was incompatible with bash and zsh. I really have no idea where this comes from. Actually, bash and zsh do move the cursor to the end of the input. But even if they didn't, the "old" behavior is something that Emacs users have used and appreciated for many years. If someone wants behavior where the point doesn't move as you cycle through the history, that could be a reasonable request, but that should be controlled by a variable or a symbol property or something. To simply change the behavior, without providing a straightforward option to get back the old behavior, is absurd. Obviously there is a workaround: in my personal emacs files, I now define my own version of comint-previous-matching-input-from-input. But this is silly. I don't want to have to define my own version of basic functions. I suggest reverting the change. Thanks, John --1915525664-1332434295-1415985136=:73487 Content-Type: text/html; charset=us-ascii

Bug #13404 complained that comint-previous-matching-input-from-input moved the point to the end of the line, and that this was a bug because it was incompatible with bash and zsh.

I really have no idea where this comes from.  Actually, bash and zsh do move the cursor to the end of the input.  But even if they didn't, the "old" behavior is something that Emacs users have used and appreciated for many years.

If someone wants behavior where the point doesn't move as you cycle through the history, that could be a reasonable request, but that should be controlled by a variable or a symbol property or something.  To simply change the behavior, without providing a straightforward option to get back the old behavior, is absurd.

Obviously there is a workaround: in my personal emacs files, I now define my own version of comint-previous-matching-input-from-input.  But this is silly.  I don't want to have to define my own version of basic functions.

I suggest reverting the change.

Thanks,
John

--1915525664-1332434295-1415985136=:73487-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 10:22:08 2019 Received: (at 19055) by debbugs.gnu.org; 3 Aug 2019 14:22:08 +0000 Received: from localhost ([127.0.0.1]:59711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htuvA-0008Ak-An for submit@debbugs.gnu.org; Sat, 03 Aug 2019 10:22:08 -0400 Received: from quimby.gnus.org ([80.91.231.51]:48302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htuv8-0008Aa-N8 for 19055@debbugs.gnu.org; Sat, 03 Aug 2019 10:22:07 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htuv4-00057l-Vz; Sat, 03 Aug 2019 16:22:05 +0200 From: Lars Ingebrigtsen To: John Valente Subject: Re: bug#19055: comint-previous-matching-input-from-input broken by fix for #13404 References: <1415985136.73487.YahooMailNeo@web162102.mail.bf1.yahoo.com> Date: Sat, 03 Aug 2019 16:22:02 +0200 In-Reply-To: <1415985136.73487.YahooMailNeo@web162102.mail.bf1.yahoo.com> (John Valente's message of "Fri, 14 Nov 2014 09:12:16 -0800") Message-ID: <87v9vegwhh.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: John Valente writes: > Bug #13404 complained that comint-previous-matching-input-from-input > moved the point to the end of the line, and that this was a bug because it > was incompatible with bash and zsh. > > I really h [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19055 Cc: 19055@debbugs.gnu.org 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 (-) John Valente writes: > Bug #13404 complained that comint-previous-matching-input-from-input > moved the point to the end of the line, and that this was a bug because it > was incompatible with bash and zsh. > > I really have no idea where this comes from. Actually, bash and zsh do > move the cursor to the end of the input. But even if they didn't, the "old" > behavior is something that Emacs users have used and appreciated for > many years. > > If someone wants behavior where the point doesn't move as you cycle > through the history, that could be a reasonable request, but that should be > controlled by a variable or a symbol property or something. To simply > change the behavior, without providing a straightforward option to get back > the old behavior, is absurd. > > Obviously there is a workaround: in my personal emacs files, I now define > my own version of comint-previous-matching-input-from-input. But this is > silly. I don't want to have to define my own version of basic functions. (I'm going through old bug reports that unfortunately have not received any responses yet.) If I understand correctly, this bug was fixed by the patch below, and I'm closing this bug report. If this bug is still present, please reopen. commit afe2997119a5e6b108851f2e236037da1d4acef2 Author: Philipp Stephani Date: Thu Oct 27 00:28:34 2016 +0200 Comint: new user option for C-c M-r and C-c M-s This option allows the user to specify where to place point after these commands. * comint.el (comint-move-point-for-matching-input): New user option. (comint-previous-matching-input-from-input): Use user option. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 10:22:13 2019 Received: (at control) by debbugs.gnu.org; 3 Aug 2019 14:22:13 +0000 Received: from localhost ([127.0.0.1]:59714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htuvF-0008B2-Jo for submit@debbugs.gnu.org; Sat, 03 Aug 2019 10:22:13 -0400 Received: from quimby.gnus.org ([80.91.231.51]:48316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htuvE-0008Av-Rf for control@debbugs.gnu.org; Sat, 03 Aug 2019 10:22:13 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htuvC-00057t-7n for control@debbugs.gnu.org; Sat, 03 Aug 2019 16:22:12 +0200 Date: Sat, 03 Aug 2019 16:22:09 +0200 Message-Id: <87tvaygwha.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19055 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: close 19055 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 0.0 TVD_RCVD_IP Message was received from an IP address -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 (-) close 19055 quit From unknown Mon Jun 23 04:11:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Sep 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator