GNU bug report logs -
#39706
28.0.50; Search prefix nroff-mode
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Fri, 21 Feb 2020 00:11:03 UTC
Severity: normal
Tags: fixed, patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 39706 <at> debbugs.gnu.org (full text, mbox):
> Could you perhaps describe the root cause again, this time focusing on
> the actual problem? Your original description made me think the
> program was with log files, and nroff-mode just got in the way, but
> you seem to be talking about a genuine problem in nroff-mode. What is
> that problem?
Sorry for an unclear bug report. What I described earlier is the case
that exposed the problem in nroff-mode. The problem itself is that
the global search prefix keymap ‘M-s’ (search-map) is shadowed
in nroff-mode by a keybinding that bounds the same key ‘M-s’
in nroff-mode-map to ‘center-line’.
The solution already exists in text-mode from which nroff-mode inherits:
text-mode binds ‘center-line’ to ‘M-o M-s’. Thus just removing the
keybinding ‘M-s’ from nroff-mode will make the search prefix ‘M-s’
of search-map available in nroff-mode, whereas ‘M-o M-s’ will call
‘center-line’ previously bound to ‘M-s’.
This bug report was last modified 4 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.