From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#17488: 24.3; mail-sendmail-undelimit-header doesn't respect mail-header-separator Date: Tue, 17 Apr 2018 15:26:18 +0900 Organization: Emacsen advocacy group Message-ID: References: <87in8s8hp2.fsf@mouse.gnus.org> <87604r4bcm.fsf@mouse.gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1523946312 21267 195.159.176.226 (17 Apr 2018 06:25:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2018 06:25:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-unknown-cygwin) Cc: Russ Allbery , 17488@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 17 08:25:07 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 1f8K39-0005QO-1M for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 08:25:07 +0200 Original-Received: from localhost ([::1]:45289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8K5F-0005qp-Qb for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 02:27:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8K55-0005pO-CY for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 02:27:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8K50-0003wk-Ez for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 02:27:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48688) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8K50-0003wT-AR for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 02:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8K50-0007Cd-0n for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 02:27:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 06:27:01 +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: fixed Original-Received: via spool by 17488-submit@debbugs.gnu.org id=B17488.152394640427662 (code B ref 17488); Tue, 17 Apr 2018 06:27:01 +0000 Original-Received: (at 17488) by debbugs.gnu.org; 17 Apr 2018 06:26:44 +0000 Original-Received: from localhost ([127.0.0.1]:56585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8K4e-0007C2-R5 for submit@debbugs.gnu.org; Tue, 17 Apr 2018 02:26:44 -0400 Original-Received: from gecko.birch.relay.mailchannels.net ([23.83.209.66]:25300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8K4Y-0007Bo-9F for 17488@debbugs.gnu.org; Tue, 17 Apr 2018 02:26:38 -0400 X-Sender-Id: tih5qno0ow|x-authuser|yamaoka@hampton.hostforweb.net Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0F42B5E07E4; Tue, 17 Apr 2018 06:26:29 +0000 (UTC) Original-Received: from hampton.hostforweb.net (unknown [100.96.25.18]) (Authenticated sender: tih5qno0ow) by relay.mailchannels.net (Postfix) with ESMTPA id 736E35E06E8; Tue, 17 Apr 2018 06:26:28 +0000 (UTC) X-Sender-Id: tih5qno0ow|x-authuser|yamaoka@hampton.hostforweb.net Original-Received: from hampton.hostforweb.net (hampton.hostforweb.net [172.19.51.240]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.14.1); Tue, 17 Apr 2018 06:26:29 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: tih5qno0ow|x-authuser|yamaoka@hampton.hostforweb.net X-MailChannels-Auth-Id: tih5qno0ow X-Lettuce-Eyes: 35d6b1d9130948bb_1523946388929_1195341638 X-MC-Loop-Signature: 1523946388929:1848961140 X-MC-Ingress-Time: 1523946388929 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1f8K4I-002E6J-OZ; Tue, 17 Apr 2018 01:26:24 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:ypm3Puin4AkSHN0N7wgiItogO+A= X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: yamaoka@hampton.hostforweb.net 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:145474 Archived-At: On Mon, 16 Apr 2018 13:42:02 -0400, Lars Ingebrigtsen wrote: > branch: scratch/prop-search > commit e1a0cbbcf8389c76f67048e69139b5b0adf2cf38 > Author: Lars Ingebrigtsen > Commit: Lars Ingebrigtsen > 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. ;-)