From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#3746: M-r in comint mode should use isearch Date: Fri, 10 Jul 2009 01:19:11 +0300 Organization: JURTA Message-ID: <87ljmxo5pw.fsf@mail.jurta.org> References: <200907031326.n63DQfPA027629@godzilla.ics.uci.edu> <87zlblpajc.fsf@mail.jurta.org> <200907051503.n65F3fDv003169@godzilla.ics.uci.edu> <87ab3hxprg.fsf@mail.jurta.org> <200907070121.n671LmLt029754@godzilla.ics.uci.edu> <87skh8ynnm.fsf@mail.jurta.org> <200907082349.n68NnKRj025444@godzilla.ics.uci.edu> Reply-To: Juri Linkov , 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 1247179085 7438 80.91.229.12 (9 Jul 2009 22:38:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 22:38:05 +0000 (UTC) Cc: 3746@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 00:37:58 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 1MP2FZ-0006jn-M3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2009 00:37:57 +0200 Original-Received: from localhost ([127.0.0.1]:55167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP2FZ-0001Y7-4e for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jul 2009 18:37:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MP2FF-0001Mt-61 for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:37:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MP2FA-0001Jr-0X for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:37:35 -0400 Original-Received: from [199.232.76.173] (port=39857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP2F9-0001JS-9M for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:37:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47657) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MP2F8-0007n0-12 for bug-gnu-emacs@gnu.org; Thu, 09 Jul 2009 18:37:30 -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 n69MbQ4G030073; Thu, 9 Jul 2009 15:37:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n69MU5QA028734; Thu, 9 Jul 2009 15:30:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Jul 2009 22:30:05 +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.124717832328253 (code B ref 3746); Thu, 09 Jul 2009 22:30:05 +0000 Original-Received: (at 3746) by emacsbugs.donarmstrong.com; 9 Jul 2009 22:25:23 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx2.starman.ee (smtp-out2.starman.ee [85.253.0.4]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n69MPHIN028242 for <3746@emacsbugs.donarmstrong.com>; Thu, 9 Jul 2009 15:25:19 -0700 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.30.18.cable.starman.ee [82.131.30.18]) by mx2.starman.ee (Postfix) with ESMTP id 39D823F40F9; Fri, 10 Jul 2009 01:25:09 +0300 (EEST) In-Reply-To: <200907082349.n68NnKRj025444@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 8 Jul 2009 16:49:20 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 09 Jul 2009 18:37:35 -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:29284 Archived-At: > > Both bash and the Emacs minibuffer activate Isearch on C-s, so it > > would be natural to do the same in shell buffers. We could try the > > same context-dependent dwim approach used by the option of > > `dired-isearch-filenames', i.e. "When point is on a file name > > initially, search file names". So when point is on the shell prompt > > then run Isearch on the shell history, otherwise run Isearch on the > > shell buffer. > > That sounds fine, but it's not exclusive with M-r being an incremental > search too. > > We are at the beginning of a release cycle, so we can experiment, if the > users hate the change, there's enough time to change back. Ok, since all approaches are shaky, let's try all of them. I'll post a patch soon. -- Juri Linkov http://www.jurta.org/emacs/