From 72cf60e9dc8bcfa05157e6f5909c61037c3f7b0f Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 25 Feb 2020 02:38:33 +0200 Subject: [PATCH] * lisp/textmodes/nroff-mode.el (nroff-mode-map): Remove key 'M-s' (bug#39706) --- admin/release-process | 9 ++------- etc/NEWS | 6 ++++++ lisp/textmodes/nroff-mode.el | 1 - 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/admin/release-process b/admin/release-process index b3dfad58729..1ed7a2e29e7 100644 --- a/admin/release-process +++ b/admin/release-process @@ -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' (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 +3. 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'. +4. Rmail binds '\es' to 'rmail-search'/'rmail-summary-search'. * DOCUMENTATION diff --git a/etc/NEWS b/etc/NEWS index 5ca054363d2..93b90d47d37 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -162,6 +162,12 @@ key binding * 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 diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index 62e8b1f0934..bb2582cf7a2 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el @@ -50,7 +50,6 @@ (let ((map (make-sparse-keymap)) (menu-map (make-sparse-keymap))) (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 "\n" 'nroff-electric-newline) (define-key map "\en" 'nroff-forward-text-line)