1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* lisp/textmodes/nroff-mode.el (nroff-mode-map): Remove key 'M-s' (bug#39706)

This commit is contained in:
Juri Linkov 2020-02-25 02:38:33 +02:00
parent 29eb93e3c3
commit 72cf60e9dc
3 changed files with 8 additions and 8 deletions

View File

@ -197,16 +197,11 @@ and change key bindings where necessary. The current list of modes:
2. Minibuffer binds 'M-s' to 'next-matching-history-element' 2. Minibuffer binds 'M-s' to 'next-matching-history-element'
(not useful any more since C-s can now search in the history). (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 3. PCL-CVS binds 'M-s' to 'cvs-status', and log-edit-mode binds it to
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 'log-edit-comment-search-forward'. Perhaps search commands
on the global key binding 'M-s' are useless in these modes. on the global key binding 'M-s' are useless in these modes.
5. Rmail binds '\es' to 'rmail-search'/'rmail-summary-search'. 4. Rmail binds '\es' to 'rmail-search'/'rmail-summary-search'.
* DOCUMENTATION * DOCUMENTATION

View File

@ -162,6 +162,12 @@ key binding
* New Modes and Packages in Emacs 28.1 * New Modes and Packages in Emacs 28.1
* Incompatible Editing Changes in Emacs 28.1
** In nroff mode, 'center-line' is rebound from 'M-s' to 'M-o M-s',
so now the search prefix map 'M-s' is available in this mode.
* Incompatible Lisp Changes in Emacs 28.1 * Incompatible Lisp Changes in Emacs 28.1

View File

@ -50,7 +50,6 @@
(let ((map (make-sparse-keymap)) (let ((map (make-sparse-keymap))
(menu-map (make-sparse-keymap))) (menu-map (make-sparse-keymap)))
(define-key map "\t" 'tab-to-tab-stop) (define-key map "\t" 'tab-to-tab-stop)
(define-key map "\es" 'center-line)
(define-key map "\e?" 'nroff-count-text-lines) (define-key map "\e?" 'nroff-count-text-lines)
(define-key map "\n" 'nroff-electric-newline) (define-key map "\n" 'nroff-electric-newline)
(define-key map "\en" 'nroff-forward-text-line) (define-key map "\en" 'nroff-forward-text-line)