Hi Eli, Eli Zaretskii writes: >> From: Matthew Leach >> Date: Tue, 18 Nov 2014 10:55:45 +0000 >> >> emacs -Q >> >> C-x m >> C-c C-b >> some wrong spelllling. >> C- >> 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.) Ah, yes sorry about that. The revised patch fixes that. > > > >> 2014-11-18 Matthew Leach >> >> * 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). Ah, missed that one, sorry. Revised ChangeLogs below. Thanks, Matt lisp/ChangeLog: 2014-11-18 Matthew Leach * textmodes/ispell.el (ispell-message-check-marked-regions): New. (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. etc/ChangeLog: 2014-11-18 Matthew Leach * NEWS: Mention ispell-message now skips marked message parts when `ispell-message-check-marked-regions' is nil.