[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17488: 24.3; mail-sendmail-undelimit-header doesn't respect mail-hea
From: |
Katsumi Yamaoka |
Subject: |
bug#17488: 24.3; mail-sendmail-undelimit-header doesn't respect mail-header-separator |
Date: |
Tue, 17 Apr 2018 15:26:18 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-unknown-cygwin) |
On Mon, 16 Apr 2018 13:42:02 -0400, Lars Ingebrigtsen wrote:
> branch: scratch/prop-search
> commit e1a0cbbcf8389c76f67048e69139b5b0adf2cf38
> Author: Lars Ingebrigtsen <larsi@gnus.org>
> Commit: Lars Ingebrigtsen <larsi@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. ;-)