From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#17488: 24.3; mail-sendmail-undelimit-header doesn't respect mail-header-separator Date: Mon, 16 Apr 2018 13:52:41 +0200 Message-ID: <87604r4bcm.fsf@mouse.gnus.org> References: <87in8s8hp2.fsf@mouse.gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523879473 2330 195.159.176.226 (16 Apr 2018 11:51:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2018 11:51:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Russ Allbery , 17488@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 16 13:51:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f82f6-0000W4-CG for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Apr 2018 13:51:08 +0200 Original-Received: from localhost ([::1]:40146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f82hC-0004HV-Vo for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Apr 2018 07:53:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f82h2-0004FG-8c for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 07:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f82gx-0002yT-EQ for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 07:53:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47209) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f82gx-0002yN-AB for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 07:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f82gx-0005By-3C for bug-gnu-emacs@gnu.org; Mon, 16 Apr 2018 07:53:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Apr 2018 11:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17488 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17488-submit@debbugs.gnu.org id=B17488.152387958219946 (code B ref 17488); Mon, 16 Apr 2018 11:53:03 +0000 Original-Received: (at 17488) by debbugs.gnu.org; 16 Apr 2018 11:53:02 +0000 Original-Received: from localhost ([127.0.0.1]:55104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f82gw-0005Bb-2m for submit@debbugs.gnu.org; Mon, 16 Apr 2018 07:53:02 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:51970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f82gt-0005BM-R8 for 17488@debbugs.gnu.org; Mon, 16 Apr 2018 07:53:00 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f82gq-00038c-P2; Mon, 16 Apr 2018 13:52:59 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f82gg-0006Yx-WB; Mon, 16 Apr 2018 13:52:47 +0200 In-Reply-To: (Katsumi Yamaoka's message of "Mon, 16 Apr 2018 11:28:56 +0900") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145435 Archived-At: Katsumi Yamaoka writes: >> So `mail-sendmail-undelimit-header' should consult that variable, I >> think, instead of using `rfc822-goto-eoh'? > > I think it will work, but I changed my mind. That is, > `rfc822-goto-eoh' should be used with an RFC2822 mail, and a mail > composing software should replace the `mail-header-separator' with > an empty line before sending a mail to the `sendmail-function', > like Gnus does. Yes, they should, so `mail-sendmail-undelimit-header' will normally be a function that does absolutely nothing (as it is today :-)). So it should either be removed, or adjusted to do what it says it does (i.e., find the delimited and remove it). I'll do the latter, and we can contemplate the former... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no