GNU bug report logs -
#38185
isearch-yank-word-or-char grabs periods at ends of words when used on man pages
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Tue, 12 Nov 2019 20:38:02 UTC
Severity: normal
Tags: wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Juri Linkov <juri <at> linkov.net> writes:
> isearch-yank-word-or-char was intended to yank exactly the same text
> as navigated by forward-word.
And I guess we don't really want to change the syntax class of "." in
Man buffers, so there isn't really anything to fix here, and I'm closing
this bug report.
> However, I can't reproduce this issue in Man buffers: forward-word
> doesn't consider "." as part of a word. Ah, this is because I fixed
> this long ago in the init file ~/.emacs as:
>
> ;; Don't use `man-mode-syntax-table' that sets word syntax to `.', `_', `:'.
> (add-hook 'Man-mode-hook
> (lambda ()
> (set-syntax-table text-mode-syntax-table)))
(And Dan can do this if he wants a more text-mode like behaviour.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.