GNU bug report logs - #17488
24.3; mail-sendmail-undelimit-header doesn't respect mail-header-separator

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Wed, 14 May 2014 01:30:05 UTC

Severity: normal

Tags: fixed

Found in version 24.3

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

Bug is archived. No further changes may be made.

Full log


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

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Russ Allbery <eagle <at> eyrie.org>, 17488 <at> debbugs.gnu.org
Subject: Re: bug#17488: 24.3;
 mail-sendmail-undelimit-header doesn't respect mail-header-separator
Date: Tue, 17 Apr 2018 15:26:18 +0900
On Mon, 16 Apr 2018 13:42:02 -0400, Lars Ingebrigtsen wrote:
> branch: scratch/prop-search
> commit e1a0cbbcf8389c76f67048e69139b5b0adf2cf38
> Author: Lars Ingebrigtsen <larsi <at> gnus.org>
> Commit: Lars Ingebrigtsen <larsi <at> gnus.org>

>     Make mail-sendmail-undelimit-header actually remove the delimiter

>     * lisp/mail/sendmail.el (mail-sendmail-undelimit-header): Actually
>     remove the mail header separator (bug#17488).  In all the cases
>     where this is called, the separator will probably already have
>     been removed, so the only thing this does is place point at the
>     end of the headers.

This change caused the following error:

Debugger entered--Lisp error: (search-failed "^--text follows this line--\n")
  re-search-forward("^--text follows this line--\n")
  mail-sendmail-undelimit-header()
  smtpmail-send-it()
  message-smtpmail-send-it()

So, I've added ``nil t'' to the re-search form.  ;-)




This bug report was last modified 7 years and 31 days ago.

Previous Next


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