From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Valente Newsgroups: gmane.emacs.bugs Subject: bug#19055: comint-previous-matching-input-from-input broken by fix for #13404 Date: Fri, 14 Nov 2014 09:12:16 -0800 Message-ID: <1415985136.73487.YahooMailNeo@web162102.mail.bf1.yahoo.com> Reply-To: John Valente NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="1915525664-1332434295-1415985136=:73487" X-Trace: ger.gmane.org 1415986657 27673 80.91.229.3 (14 Nov 2014 17:37:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 17:37:37 +0000 (UTC) To: 19055@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 18:37:30 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XpKoK-0002lZ-7e for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 18:37:28 +0100 Original-Received: from localhost ([::1]:37405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKoJ-00058y-Mh for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 12:37:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKo5-00057f-LH for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:37:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpKnu-0007zh-Vc for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:37:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKnu-0007zd-Qq for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XpKnu-0006Ow-Eh for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Valente Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Nov 2014 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19055 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.141598661224582 (code B ref -1); Fri, 14 Nov 2014 17:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Nov 2014 17:36:52 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: from [66.196.81.170] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 14 Nov 2014 17:12:17 -0000 Original-Received: from [98.139.215.230] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 14 Nov 2014 17:12:17 -0000 Original-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 Original-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- Original-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 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96029 --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--