From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#13404: comint-previous-matching-input-from-input is broken (as compared to bash/zsh) Date: Wed, 18 Dec 2013 11:03:20 +0800 Message-ID: <87haa6zwqv.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387335857 18582 80.91.229.3 (18 Dec 2013 03:04:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2013 03:04:17 +0000 (UTC) Cc: 13404-done@debbugs.gnu.org To: Le Wang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 18 04:04:22 2013 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 1Vt7Qr-0004rA-05 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 04:04:21 +0100 Original-Received: from localhost ([::1]:36712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vt7Qq-00016s-CF for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 22:04:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vt7Qg-0000s2-1F for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 22:04:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vt7QY-0005BI-O4 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 22:04:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vt7QY-0005BC-K2 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 22:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vt7QY-0000g9-Ft for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 22:04:02 -0500 Resent-From: Chong Yidong Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Dec 2013 03:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 13404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 13404@debbugs.gnu.org, cyd@gnu.org, l26wang@gmail.com Original-Received: via spool by 13404-done@debbugs.gnu.org id=D13404.13873358082542 (code D ref 13404); Wed, 18 Dec 2013 03:04:02 +0000 Original-Received: (at 13404-done) by debbugs.gnu.org; 18 Dec 2013 03:03:28 +0000 Original-Received: from localhost ([127.0.0.1]:56357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vt7Py-0000et-Nv for submit@debbugs.gnu.org; Tue, 17 Dec 2013 22:03:27 -0500 Original-Received: from mail-pd0-f169.google.com ([209.85.192.169]:54184) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vt7Pw-0000ek-TG for 13404-done@debbugs.gnu.org; Tue, 17 Dec 2013 22:03:25 -0500 Original-Received: by mail-pd0-f169.google.com with SMTP id v10so6682589pde.0 for <13404-done@debbugs.gnu.org>; Tue, 17 Dec 2013 19:03:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=lzz2Qqmtf9OiMxzJFHu1KkkkQXLb9++GD00ftKNeWck=; b=ZCRHqYBjTnHeDqikyackePY44UumYtJ1mahSo4KV8SrEJ4aHRTlrMBxj4eV+Dl1IFH mQiHc6eW/LZqBNMSQJrcB9gX+KqRflfT18r8XcT+npSH4hykJLjFm4ZwURJNIVPjINyF NVzKmAyg2NHQiVsabFNam7gGvSJOxzgySuCPG64OIBu+i2jCa9T1Y9+Y4iOE8P2t4bc5 lfMJEDLtwQ6ODCU3jzyr2G44eHRq0S0delk/kL+kjdTJiZf/TqthxWjWioiaHU7lLUBN 1OesHfqESj5gMXtqTNi+JBvDj5dPYyvRTOVlGUCeXE9Fw1t5Hkp2iUWHn5liz54ZEUVh YdTQ== X-Received: by 10.68.230.137 with SMTP id sy9mr31205851pbc.126.1387335803762; Tue, 17 Dec 2013 19:03:23 -0800 (PST) Original-Received: from tsparkle ([155.69.19.37]) by mx.google.com with ESMTPSA id sd3sm37252708pbb.42.2013.12.17.19.03.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Dec 2013 19:03:22 -0800 (PST) In-Reply-To: (Le Wang's message of "Thu, 10 Jan 2013 23:18:30 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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:82161 Archived-At: Le Wang writes: > I like to bind comint-previous-matching-input-from-input to M-p, > however the current behavior is to find the first match and move the > point to the end of the line. > > The point should not be moved so that I can press M-p again to find > the next match. > > This is how this command works in zsh and bash. Looks reasonable. I've committed your patch, thanks.