From: Miles Bader <miles@gnu.org>
Subject: Re: flyspell.el patch
Date: Thu, 16 Oct 2003 13:12:09 -0400 [thread overview]
Message-ID: <20031016171209.GA24087@fencepost> (raw)
In-Reply-To: <m3r81dw4e1.fsf@quimbies.gnus.org>
On Thu, Oct 16, 2003 at 06:09:42PM +0200, Lars Magne Ingebrigtsen wrote:
> The following patch fixes the in-headers predicated -- if
> mail-header-separator is "", it was true on most bodies as well.
> Reversing the logic (kinda) should do the trick...
>
> (let ((in-headers (save-excursion
> ! (not (re-search-backward mail-header-separator nil t))))
It still seems wrong -- according to the documentation, mail-header-separator
is _not_ a regexp, so the above code is going to simply always return true for
a typical value like "" (which I use).
I guess it needs to be something like (note no `re-'):
(not (search-backward (concat "\n" mail-header-separator "\n") nil t))
-Miles
--
P.S. All information contained in the above letter is false,
for reasons of military security.
next prev parent reply other threads:[~2003-10-16 17:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 16:09 flyspell.el patch Lars Magne Ingebrigtsen
2003-10-16 17:12 ` Miles Bader [this message]
2003-10-16 17:29 ` Lars Magne 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031016171209.GA24087@fencepost \
--to=miles@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).