[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 72cf60e: * lisp/textmodes/nroff-mode.el (nroff-mode-map): Remove
From: |
Juri Linkov |
Subject: |
master 72cf60e: * lisp/textmodes/nroff-mode.el (nroff-mode-map): Remove key 'M-s' (bug#39706) |
Date: |
Mon, 24 Feb 2020 19:38:40 -0500 (EST) |
branch: master
commit 72cf60e9dc8bcfa05157e6f5909c61037c3f7b0f
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>
* 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 b3dfad5..1ed7a2e 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 5ca0543..93b90d4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -163,6 +163,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
** 'equal' no longer examines some contents of window configurations.
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index 62e8b1f..bb2582c 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 72cf60e: * lisp/textmodes/nroff-mode.el (nroff-mode-map): Remove key 'M-s' (bug#39706),
Juri Linkov <=