GNU bug report logs - #8594
23.2; flyspell ignores first line in message-mode

Previous Next

Packages: emacs, gnus;

Reported by: Peter Oliver <p.d.oliver <at> mavit.org.uk>

Date: Sat, 30 Apr 2011 15:39:01 UTC

Severity: minor

Tags: notabug, wontfix

Merged with 7987

Found in version 23.2

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8594 in the body.
You can then email your comments to 8594 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8594; Package emacs. (Sat, 30 Apr 2011 15:39:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Oliver <p.d.oliver <at> mavit.org.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 30 Apr 2011 15:39:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Oliver <p.d.oliver <at> mavit.org.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; flyspell ignores first line in message-mode
Date: Sat, 30 Apr 2011 16:38:09 +0100 (BST)
[Message part 1 (text/plain, inline)]
When using flyspell-mode with mail-mode or message-mode, the email header is ignored for spellchecking.

However, this incorrectly assumes that any such buffer will always begin with a header.  I use message-mode to edit the email body only, and I find that flyspell ignores the whole first paragraph of such a buffer.

Attached is a patch that causes flyspell to only try to skip over the header if the message really does begin with a header.

-- 
Peter Oliver
[flyspell-message-mode-headers.patch (text/plain, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8594; Package emacs. (Mon, 02 May 2011 16:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 8594 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Cc: 8594 <at> debbugs.gnu.org
Subject: Re: bug#8594: 23.2; flyspell ignores first line in message-mode
Date: Mon, 02 May 2011 13:05:11 -0300
> However, this incorrectly assumes that any such buffer will always begin
> with a header.  I use message-mode to edit the email body only, and I find
> that flyspell ignores the whole first paragraph of such a buffer.

You're misusing message-mode.  I'd be surprised if there aren't more
"bugs" in such a circumstance.  Why don't you solve the problem right by
using message-mode as intended: add a dummy header.


        Stefan




Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 02 May 2011 20:19:02 GMT) Full text and rfc822 format available.

Added tag(s) notabug and wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 02 May 2011 20:19:02 GMT) Full text and rfc822 format available.

Forcibly Merged 7987 8594. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 09 Jul 2011 19:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 Aug 2011 11:24:21 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.