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 #8 received at 39706 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Date: Fri, 21 Feb 2020 01:51:31 +0200
>
> Often logs files have numeric file extensions such as log.1, log.2, ...
> thus visited in nroff-mode. I don't care about the wrong mode since
> they are visited in read-only anyway just for a quick peek.
>
> But the problem is that nroff-mode steals the global prefix M-s
> used to run search commands.
>
> nroff-mode inherits from text-mode that puts 'center-line'
> on the key 'M-o M-s', so this is what nroff-mode should use as well:
Wouldn't it be more straight-forward and simple to add .log and .log.N
to auto-mode-alist, thus preventing nroff-mode from usurping these
files?
IOW, what you propose sounds like a very convoluted and indirect way
of fixing the problem you described, doesn't it?
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.