From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Ecay Newsgroups: gmane.emacs.bugs Subject: bug#15195: 24.3.50; message-make-in-reply-to out of compliance with RFC2822 Date: Mon, 26 Aug 2013 17:47:01 -0400 Message-ID: <871u5gazvu.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1377553707 21826 80.91.229.3 (26 Aug 2013 21:48:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2013 21:48:27 +0000 (UTC) To: 15195@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 26 23:48:29 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VE4eA-0004BA-5R for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Aug 2013 23:48:26 +0200 Original-Received: from localhost ([::1]:53155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE4e9-0002gi-R3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Aug 2013 17:48:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE4dy-0002bk-Eu for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:48:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE4dm-0001SG-MT for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:48:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE4dm-0001SC-IZ for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VE4dl-00033E-Vq for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Ecay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Aug 2013 21:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15195 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137755365511678 (code B ref -1); Mon, 26 Aug 2013 21:48:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Aug 2013 21:47:35 +0000 Original-Received: from localhost ([127.0.0.1]:57653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VE4dK-00032H-Hu for submit@debbugs.gnu.org; Mon, 26 Aug 2013 17:47:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53918) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VE4dH-000328-Ut for submit@debbugs.gnu.org; Mon, 26 Aug 2013 17:47:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE4d9-0001Lr-67 for submit@debbugs.gnu.org; Mon, 26 Aug 2013 17:47:31 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE4d9-0001Ln-3P for submit@debbugs.gnu.org; Mon, 26 Aug 2013 17:47:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE4d0-00029c-Me for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:47:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE4cp-0001Jy-4G for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:47:14 -0400 Original-Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:52345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE4cp-0001Js-0F for bug-gnu-emacs@gnu.org; Mon, 26 Aug 2013 17:47:03 -0400 Original-Received: by mail-qa0-f41.google.com with SMTP id n20so967693qaj.7 for ; Mon, 26 Aug 2013 14:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=rJ/NrsSS+k/LmROMT0oNNTYssbDDY8NSlOzcPQLT4sc=; b=SFhuueb3idmEeEcPgxPuLjaKf/y2DveqRG6Aj0cymDId+GC2jG8MhiWZmfSjxIU5Qt lowbdDs/QEZ78Qga7DM3seF6gW1cY4+aN3sdjH0hivo6btApXBrh0UXW4dlyEtXt9CC6 ae6xkUJMazOrGDUmhN7PAJ9Frmiwi7RA/QxmnTY4DvicH5wb9+3r1uLj7vrr67yBQLc0 1sbeQ0j5IfQ7oy5Cfwymx2BA3Omob+W4vLS3+JCvS4srH8Astlj7IDOo5GOmR4W/+HAg gaBm3j+6DeZxyXK13Ks+r5JNYMAkwY6ClD9dYSS29pv4nWadfLV18z65ECm1umLvHoi1 JQTA== X-Received: by 10.49.4.101 with SMTP id j5mr19776131qej.7.1377553622269; Mon, 26 Aug 2013 14:47:02 -0700 (PDT) Original-Received: from localhost (vagvlan532.089.wlan.wireless-pennnet.upenn.edu. [128.91.71.218]) by mx.google.com with ESMTPSA id s9sm23260482qev.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 26 Aug 2013 14:47:01 -0700 (PDT) User-Agent: Notmuch/0.15.2+171~ge2f30a2 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77752 Archived-At: The `message-make-in-reply-to' function generates In-Reply-To headers of the form: " (John Smith's message of DATE)" However, RFC2822 (pp. 22-23) states that the In-Reply-To field should contain only 1 msg-id token (possibly more than one in some cases), but not any other material. The following implementation of the function inserts just the parent message=E2=80=99s ID, in compliance with the RFC: ,---- | (defun message-make-in-reply-to () | "Return the In-Reply-To header for this message." | (when message-reply-headers | (mail-header-id message-reply-headers))) `---- --=20 Aaron Ecay