[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Major mode and implementation of expected editing facilities

From: Noam Postavsky
Subject: Re: Major mode and implementation of expected editing facilities
Date: Tue, 28 May 2019 16:20:36 -0400

On Tue, 28 May 2019 at 15:52, Daniele Nicolodi <address@hidden> wrote:

> By the way, what is M-s supposed to do? It is not bind in the couple of
> modes I looked at.

I think it's a leftover that should be removed from that manual
section; from what I found in NEWS.23, M-s used to be bound in a few
modes but is now reserved for isearch and shouldn't be bound by major
modes (unless it's such a strange mode that using isearch in it
doesn't make sense, but that seems fairly unlikely).

** Shell (and other comint modes)
*** M-s is no longer bound to `comint-next-matching-input'.
** In Isearch mode, a special case of typing `C-w' at the beginning of
the minibuffer that toggles word search (i.e. using key sequences
`C-s RET C-w' or `C-s M-e C-w') is obsolete.  You can use the global key
`M-s w' to start word search, or type `M-s w' in Isearch mode to
toggle word search.  To start nonincremental word search you can now use
`M-s w RET' and `M-s w C-r RET' instead of `C-s RET C-w' and `C-r RET C-w'.
** In Info, `Info-search' is unbound from `M-s' to allow using `M-s w'
for word search as well as other search commands from the global prefix
key `M-s'.
** In Text mode, `center-line' and `center-paragraph' are rebound from
`M-s' and `M-S' to global keys `M-o M-s' and `M-o M-S' on the global
prefix map `M-o', which is intended for such formatting commands.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]