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#11482: 24.0.96; Keep `M-s' as a prefix key for search (conflict with Gnus) Date: Thu, 17 May 2012 03:14:15 +0300 Organization: JURTA Message-ID: <87r4ujwtns.fsf@mail.jurta.org> References: <703E3EF0C68345F2BC8A537EDBB42E54@us.oracle.com> <873971gqxa.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337213764 26117 80.91.229.3 (17 May 2012 00:16:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 May 2012 00:16:04 +0000 (UTC) Cc: 11482@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 17 02:16:02 2012 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 1SUoNn-0000Y8-Mv for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 May 2012 02:15:55 +0200 Original-Received: from localhost ([::1]:56366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUoNn-0003k5-2K for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2012 20:15:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUoNk-0003jo-1Z for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 20:15:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUoNi-0005Yd-9w for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 20:15:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUoNi-0005YH-29 for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 20:15:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SUoNt-0001fN-U3 for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 20:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 May 2012 00:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11482 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11482-submit@debbugs.gnu.org id=B11482.13372137216360 (code B ref 11482); Thu, 17 May 2012 00:16:01 +0000 Original-Received: (at 11482) by debbugs.gnu.org; 17 May 2012 00:15:21 +0000 Original-Received: from localhost ([127.0.0.1]:58285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUoNF-0001eX-Ci for submit@debbugs.gnu.org; Wed, 16 May 2012 20:15:21 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:60583 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUoND-0001eP-1s for 11482@debbugs.gnu.org; Wed, 16 May 2012 20:15:19 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 6B11E451C8E3; Wed, 16 May 2012 17:15:05 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Tue, 15 May 2012 13:27:17 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:60093 Archived-At: >> > But if Gnus binds `M-s' to a command, that conflicts with >> > the general use of `M-s' as a prefix key (for search). >> > That is the bug: Gnus should not bind `M-s' to a command. >> > `M-s' should remain a prefix key (for search). >> >> Gnus could bind `gnus-summary-search-article-forward' to `M-s M-s'. >> It is still easy to type. > > Obviously not what I was hoping for, since, as I say, Icicles uses `M-s M-s' as > a prefix key for all of its many (Icicles) search commands. For Icicles you could use a key prefix with Icicles specific mnemonics like `M-s I'. > But it does satisfy the bug report, at least: it does not make `M-s' a simple > command binding. There are more currently conflicting modes listed in admin/FOR-RELEASE: ** Check for modes which bind M-s that conflicts with a new global binding M-s and change key bindings where necessary. The current list of modes: 1. Gnus binds `M-s' to `gnus-summary-search-article-forward'. 2. Minibuffer binds `M-s' to `next-matching-history-element' (not useful any more since C-s can now search in the history). 3. `center-line' in Text mode was already moved to the text formatting keymap as `M-o M-s' (thus this binding is not necessary any more in `nroff-mode-map' too and can be removed now from the nroff mode because it can now use the global key binding `M-o M-s' `center-line'). 4. PCL-CVS binds `M-s' to `cvs-status', and log-edit-mode binds it to `log-edit-comment-search-forward'. Perhaps search commands on the global key binding `M-s' are useless in these modes. 5. Rmail binds `\es' to `rmail-search'/`rmail-summary-search'. (If this problem is not release-critical then it should be removed from admin/FOR-RELEASE. It is recorded now here in bug#11482.) Like the proposed keybinding `M-s M-s' for Gnus, the minibuffer could rebind `next-matching-history-element' to `M-s M-s'. And perhaps Shell could bind `comint-history-isearch-forward-regexp' to `M-s M-s' as well. However, I have doubts about rebinding `rmail-search' to `M-s M-s' because of the comment in rmail.el: ;; I find I can't live without the default M-r command -- rms. Does this statement apply to `M-s' too?