From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21737: 24.5; Minor feature request: `comint-previous-matching-input-from-input' and point Date: Fri, 23 Oct 2015 09:26:04 +0300 Message-ID: <83si52rthf.fsf@gnu.org> References: <22057.18203.537000.988338@gargle.gargle.HOWL> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445581707 9763 80.91.229.3 (23 Oct 2015 06:28:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 06:28:27 +0000 (UTC) Cc: 21737@debbugs.gnu.org, cyd@gnu.org, l26wang@gmail.com To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 08:28:16 2015 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 1ZpVpg-0007kF-AL for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 08:28:08 +0200 Original-Received: from localhost ([::1]:36370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpVpa-0008Fc-Hb for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 02:28:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpVoh-00079q-35 for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 02:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpVod-0001zf-Pc for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 02:27:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpVod-0001zL-Mo for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 02:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZpVoc-0006Sj-Vg for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 02:27:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Oct 2015 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21737 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21737-submit@debbugs.gnu.org id=B21737.144558156724778 (code B ref 21737); Fri, 23 Oct 2015 06:27:02 +0000 Original-Received: (at 21737) by debbugs.gnu.org; 23 Oct 2015 06:26:07 +0000 Original-Received: from localhost ([127.0.0.1]:33696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpVnh-0006RZ-To for submit@debbugs.gnu.org; Fri, 23 Oct 2015 02:26:06 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:63089) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpVne-0006R8-Tm for 21737@debbugs.gnu.org; Fri, 23 Oct 2015 02:26:03 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NWN00800TO70P00@a-mtaout22.012.net.il> for 21737@debbugs.gnu.org; Fri, 23 Oct 2015 09:26:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWN0073NTVCYQ40@a-mtaout22.012.net.il>; Fri, 23 Oct 2015 09:26:01 +0300 (IDT) In-reply-to: <22057.18203.537000.988338@gargle.gargle.HOWL> X-012-Sender: halo1@inter.net.il 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: 208.118.235.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:107890 Archived-At: > From: Eli Barzilay > Date: Thu, 22 Oct 2015 16:29:15 -0400 > Cc: Chong Yidong , Le Wang > > `comint-previous-matching-input-from-input' used to insert a match and > leave the point at the end of the line. I found that behavior much > better than zsh and bash since when recalling old commands I edit the > last part of the command much more often. (In fact, I think that > comint used to leave the point where it was years ago, since I > remember having to tweak emacs to put it at the end.) > > A few years ago, there was a bug & a patch reported by Le Wang about > keeping the point at the same place -- something that I find really > annoying... The problem with this patch is that it has no option to > leave the point at the end, forcing me to duplicate the whole function > if I want that behavior. > > So, this is a feature request to add such an option with a new custom > variable. Thanks. Would you like to prepare a patch along these lines?