From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#3746: M-r in comint mode should use isearch Date: Sun, 5 Jul 2009 08:03:41 -0700 (PDT) Message-ID: <200907051503.n65F3fDv003169@godzilla.ics.uci.edu> References: <200907031326.n63DQfPA027629@godzilla.ics.uci.edu> <87zlblpajc.fsf@mail.jurta.org> Reply-To: Dan Nicolaescu , 3746@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246807170 30627 80.91.229.12 (5 Jul 2009 15:19:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2009 15:19:30 +0000 (UTC) Cc: 3746@emacsbugs.donarmstrong.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 17:19:23 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MNTUw-0000KG-8u for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2009 17:19:22 +0200 Original-Received: from localhost ([127.0.0.1]:46527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNTUv-0005jm-Dr for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2009 11:19:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNTTD-0004VS-AW for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2009 11:17:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNTT8-0004RT-CH for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2009 11:17:34 -0400 Original-Received: from [199.232.76.173] (port=43334 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNTT7-0004R7-Od for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2009 11:17:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56728) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MNTT7-0003K9-8D for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2009 11:17:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n65FHPp9012841; Sun, 5 Jul 2009 08:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n65F5AlL010152; Sun, 5 Jul 2009 08:05:10 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 05 Jul 2009 15:05:10 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3746 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3746-submit@emacsbugs.donarmstrong.com id=B3746.12468062369471 (code B ref 3746); Sun, 05 Jul 2009 15:05:10 +0000 Original-Received: (at 3746) by emacsbugs.donarmstrong.com; 5 Jul 2009 15:03:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n65F3qYB009454 for <3746@emacsbugs.donarmstrong.com>; Sun, 5 Jul 2009 08:03:53 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n65F3fbo006307; Sun, 5 Jul 2009 08:03:41 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n65F3fDv003169; Sun, 5 Jul 2009 08:03:41 -0700 (PDT) In-Reply-To: <87zlblpajc.fsf@mail.jurta.org> (Juri Linkov's message of "Sat, 04 Jul 2009 02:36:36 +0300") Original-Lines: 29 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n65F3fbo006307 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 05 Jul 2009 11:17:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29187 Archived-At: Juri Linkov writes: > > When using the minibuffer for example doing: > > > > M-x > > then > > C-r > > will use isearch to search the history. This is nice because it shows > > the items that are matched. > > > > M-r should to the same thing when used in comint, right now it's hard > > to tell if it matches anything before typing RET > > Do you mean implementing a bash-like history isearch > in comint/shell modes? I think it would be nice. Yep. > But maybe M-r is not the best key to start a shell history > isearch in the comint buffer. In the minibuffer M-r keeps > its old functionality, and C-s is used to isearch the > minibuffer history. The problem with that is that C-s (and C-r) already have bindings in comint modes, and changing them would not be liked by most users. Doing M-r and then C-s/C-r seems a bit cumbersome. IMHO just using M-r for incremental history search will provide no surprises for the user, and it seems like a natural extension of the current behavior.