all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 11482@debbugs.gnu.org
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	[thread overview]
Message-ID: <87r4ujwtns.fsf@mail.jurta.org> (raw)
In-Reply-To: <E87D83206F20430886CDE619EA7A72F0@us.oracle.com> (Drew Adams's message of "Tue, 15 May 2012 13:27:17 -0700")

>> > 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?





  reply	other threads:[~2012-05-17  0:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 19:05 bug#11482: 24.0.96; Keep `M-s' as a prefix key for search (conflict with Gnus) Drew Adams
2012-05-15 19:55 ` Juri Linkov
2012-05-15 20:27   ` Drew Adams
2012-05-17  0:14     ` Juri Linkov [this message]
2012-05-17  4:44       ` Drew Adams
2012-05-17 15:23         ` Drew Adams
2014-02-09  4:09 ` Lars Ingebrigtsen
2014-02-10 22:51   ` Drew Adams
2014-02-12 14:16   ` Michael Heerdegen
2016-02-07  7:05     ` Lars Ingebrigtsen
2016-02-07  8:03       ` Drew Adams
2016-02-07 16:47         ` John Wiegley
2016-02-08  1:34           ` Lars Ingebrigtsen
2016-02-20  6:22             ` John Wiegley
2016-02-20  7:50               ` Lars Ingebrigtsen
2016-02-20  8:03                 ` John Wiegley
2016-02-20 16:40                   ` Drew Adams
2016-02-20 19:28                     ` John Wiegley
2016-02-20 20:20                       ` Drew Adams
2016-02-20 20:43                         ` John Wiegley
2016-02-20 20:41                 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4ujwtns.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=11482@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.