From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#21737: 24.5; Minor feature request: `comint-previous-matching-input-from-input' and point Date: Thu, 22 Oct 2015 16:29:15 -0400 Message-ID: <22057.18203.537000.988338@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445545833 17126 80.91.229.3 (22 Oct 2015 20:30:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 20:30:33 +0000 (UTC) Cc: Chong Yidong , Le Wang To: 21737@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 22 22:30:20 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 1ZpMV5-00023C-18 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 22:30:15 +0200 Original-Received: from localhost ([::1]:34442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpMV4-0005D8-6F for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 16:30:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpMV0-0005Bo-1O for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:30:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpMUw-0006ys-Ld for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:30:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpMUw-0006yg-Hs for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:30:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZpMUw-0001V7-54 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:30:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2015 20:30:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21737 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.14455457715661 (code B ref -1); Thu, 22 Oct 2015 20:30:05 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2015 20:29:31 +0000 Original-Received: from localhost ([127.0.0.1]:33254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpMUN-0001TF-7X for submit@debbugs.gnu.org; Thu, 22 Oct 2015 16:29:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50555) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpMUL-0001T4-Cw for submit@debbugs.gnu.org; Thu, 22 Oct 2015 16:29:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpMUK-0006PN-5U for submit@debbugs.gnu.org; Thu, 22 Oct 2015 16:29:28 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpMUK-0006PG-1n for submit@debbugs.gnu.org; Thu, 22 Oct 2015 16:29:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpMUI-00056E-LD for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:29:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpMUF-0006Lf-4I for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:29:26 -0400 Original-Received: from mail-qg0-f49.google.com ([209.85.192.49]:35893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpMUF-0006LG-1V for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 16:29:23 -0400 Original-Received: by qgad10 with SMTP id d10so67572026qga.3 for ; Thu, 22 Oct 2015 13:29:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:cc:subject; bh=XT0vEK81+dro7YwN/bijExUwMRdV4J0+ViZuioHNjRc=; b=McL1atl2C1C67R5u/wj1u84js3TiX+DA0JTgVfTHgajNZkUW0cmHve/4wpsBxHVAMm s2s2rPg6erMKFNpeg+QPw663EZCcuqMqZfA0/2YNFg4cVpanX0bwd+Vq6WxGwidne4q+ XHh65KUcxJCZB8g9+f0SnZ21ag82rs3bI/0dJkrlI04MPkAfXylR7Iz/jrVNP/nOj85k 94lQAxD9UxQ98NDQTwYuycNB3NSmOFpibwIFmjAeUqDX0maKluYk42ze3Ebucmtr3lAN q7C2ne9C0njL5D9dsHRjfXi3oiL/O+MIBXz3fe1S1jJQnUH972Gqpp2BgZtguxvTdSF5 polg== X-Gm-Message-State: ALoCoQllur5G1YR7b6W+L78juhSMsmANWfwuaXFr19nAy8JpQACXWhMdFNS/U0wbz1d5rZpnI+bN X-Received: by 10.140.109.6 with SMTP id k6mr20982025qgf.28.1445545762498; Thu, 22 Oct 2015 13:29:22 -0700 (PDT) Original-Received: from SHLEPTOP ([50.153.130.146]) by smtp.gmail.com with ESMTPSA id k136sm6028243qhk.2.2015.10.22.13.29.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2015 13:29:21 -0700 (PDT) X-Mailer: VM 8.2.0a under 24.5.1 (i686-pc-mingw32) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:107869 Archived-At: `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. -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life!