all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Matthew Leach <matthew@mattleach.net>
Cc: 19092@debbugs.gnu.org
Subject: bug#19092: 25.0.50; [PATCH] ispell-message spell checks marked parts of messages
Date: Tue, 18 Nov 2014 17:54:18 +0200	[thread overview]
Message-ID: <83r3x0a4id.fsf@gnu.org> (raw)
In-Reply-To: <87oas4bwwe.fsf@loki.home>

> 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.





  reply	other threads:[~2014-11-18 15:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 10:55 bug#19092: 25.0.50; [PATCH] ispell-message spell checks marked parts of messages Matthew Leach
2014-11-18 15:54 ` Eli Zaretskii [this message]
2014-11-18 19:53   ` Matthew Leach
2016-02-23 11:57     ` Lars Ingebrigtsen
2019-06-25 21:10       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r3x0a4id.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19092@debbugs.gnu.org \
    --cc=matthew@mattleach.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.