[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19092: 25.0.50; [PATCH] ispell-message spell checks marked parts of
From: |
Eli Zaretskii |
Subject: |
bug#19092: 25.0.50; [PATCH] ispell-message spell checks marked parts of messages |
Date: |
Tue, 18 Nov 2014 17:54:18 +0200 |
> From: Matthew Leach <matthew@mattleach.net>
> Date: Tue, 18 Nov 2014 10:55:45 +0000
>
> emacs -Q
>
> C-x m
> C-c C-b
> some wrong spelllling. <RET>
> C-<SPC>
> C-p
> C-c M-m
> M-x ispell-message
>
> you should now be prompted to spell check the word spelllling. Since
> text in the marked parts of messages is usually quoted -- be it text,
> code or otherwise -- I propose that we skip spell checking on these
> parts of messages. It can be a real hassle when quoting a large body
> of code or text.
>
> Attached is a patch to implement this. Any comments welcome.
This changes behavior, so I think we should have a defcustom that
could be used to get the old behavior back. (And the NEWS entry
should describe that.)
> 2014-11-18 Matthew Leach <matthew@mattleach.net>
>
> * textmodes/ispell.el (ispell-message): add regexp versions of
> `message-mark-insert-begin' and `message-mark-insert-end' to
> `ispell-skip-region-alist' to skip marked message parts.
ChangeLog entries should start with a capital letter (as any English
sentence).
Thanks.