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: Thu, 09 Jul 2009 02:27:45 +0300 Organization: JURTA Message-ID: <87zlbf1kr0.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> <30EDDB5AC92A422E87D113B0A49C500E@us.oracle.com> 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 1247096267 1714 80.91.229.12 (8 Jul 2009 23:37:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 23:37:47 +0000 (UTC) Cc: 3746@emacsbugs.donarmstrong.com, 'Dan Nicolaescu' To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 09 01:37:40 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 1MOgho-0004zK-5M for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jul 2009 01:37:40 +0200 Original-Received: from localhost ([127.0.0.1]:58367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOghn-0003Je-EQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 19:37:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOghi-0003J8-Sf for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 19:37:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOghd-0003GL-IH for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 19:37:33 -0400 Original-Received: from [199.232.76.173] (port=41712 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOghd-0003GA-Ad for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 19:37:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52002) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOghc-0007Ek-QY for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 19:37: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 n68NbQQk029623; Wed, 8 Jul 2009 16:37:26 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n68NZ4ek029033; Wed, 8 Jul 2009 16:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Jul 2009 23:35:03 +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.124709575528215 (code B ref 3746); Wed, 08 Jul 2009 23:35:03 +0000 Original-Received: (at 3746) by emacsbugs.donarmstrong.com; 8 Jul 2009 23:29:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n68NTADw028201 for <3746@emacsbugs.donarmstrong.com>; Wed, 8 Jul 2009 16:29:12 -0700 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.68.68.cable.starman.ee [82.131.68.68]) by mx1.starman.ee (Postfix) with ESMTP id 8ECC83F4139; Thu, 9 Jul 2009 02:29:04 +0300 (EEST) In-Reply-To: <30EDDB5AC92A422E87D113B0A49C500E@us.oracle.com> (Drew Adams's message of "Tue, 7 Jul 2009 22:53:29 -0700") 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: Wed, 08 Jul 2009 19:37:33 -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:29267 Archived-At: > The general objection is rather Occam's razor: _Why_ add such complexity? > What is gained? Occasionally the added convenience of having a single key > to use makes a DWIM command worth it. But usually not. This case is an exception. C-r is the most frequent key I use in bash running in xterm because it is very convenient to search for old commands in the shell history. I suppose the same is true for other users. Using a different key in Emacs for the same functionality will cause too much trouble. Just imagine when you have a habit typing C-r to search on the shell history, typing it in the Emacs shell buffer will not do what you mean. This recalls that Emacs has a different key M-r. Then switching back to xterm and typing M-r: Ahh, that M-r is valid only in Emacs, but in xterm it is C-r. Arrrgh! I think having two different keys for the same functionality (C-r and M-r for Isearch on the history) is worse than having the same key for different contexts (the shell prompt or the rest of the shell buffer). -- Juri Linkov http://www.jurta.org/emacs/