From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Lillibridge Newsgroups: gmane.emacs.bugs Subject: bug#13329: 24.2 post patch for #9521; Rmail forward does not correctly handle MIME messages containing "From " lines Date: Mon, 10 Oct 2022 13:37:03 -0700 Message-ID: <87sfjve7ps.fsf@alum.mit.edu> References: <87r4m4tucm.fsf@foil.strangled.net> Reply-To: mdl@alum.mit.edu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 13329@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 22:38:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohzXN-0006IF-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 22:38:09 +0200 Original-Received: from localhost ([::1]:55474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohzXM-00061M-3S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 16:38:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohzXG-00060q-7a for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 16:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohzXF-0002Jw-WF for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 16:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohzXF-0005pO-Ra for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 16:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Lillibridge Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2022 20:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13329-submit@debbugs.gnu.org id=B13329.166543423522298 (code B ref 13329); Mon, 10 Oct 2022 20:38:01 +0000 Original-Received: (at 13329) by debbugs.gnu.org; 10 Oct 2022 20:37:15 +0000 Original-Received: from localhost ([127.0.0.1]:50074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohzWV-0005na-4b for submit@debbugs.gnu.org; Mon, 10 Oct 2022 16:37:15 -0400 Original-Received: from mail-bn8nam11on2040.outbound.protection.outlook.com ([40.107.236.40]:33313 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohzWU-0005nN-4W for 13329@debbugs.gnu.org; Mon, 10 Oct 2022 16:37:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NBDfzpviDG/69vs9AENsdQWhfcN3SUTYmck1iomNEdPe4oZKVOtx/zmGqsrX9S9NQliBl8mT80ie2l1GYGpv5HYX8cJnWBGr8idJMfTo78EdcYYRzYLw0l0Lw4tA6FBjdtVcie5amKKAcNsa0ENXkslINoy1B60LIaR3jGIF10zHNv1+D6cRPDo3J2CNglXCnAesUoPasAlLE7ipa7z7ld0K9l+7GRD4cLOcMTJGOEkAe0y0EVupGZT44/yYkM8Mo96jV8Rx6n5feeIRmzdo5/6hVRCcyplB05G8tqep2nuINGPril+8+A89gPnK/ATJ8ZMItG7ZCXrRG8HZofCFFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aQPfBzkY3o5Xnc2NNPFUa5eCbgZq5ejKXhP1hwYLbr8=; b=HBSgKiIE+FkUGs1AUHfkcp/bSivE9fWgLT6F6KY14HHsUk12ev7YKJbU0a3O2yqlpC8AZl35F0KojTN6SzPvMmG7A0HRrLTbFBsPRQ0oH4+WZLgY2ZuyrWixB3e5HzhLfixSMb1UdtPkJ4uN5NrsA9Tu8GcdeGrU6s/FGGesI8rOILdiJ0VW8Tjt81QdviXx6d0q888oceTAbtGIbPha85vePnrSEhYnwtfU+K9wD5fAw7FjI62h7tEzXSJDuJhDXA0fahzeMOx9k+Tn4CG1I4aAqJWMZyBuaXXDZ1vBqxgwbbNI2fFalgv5b2dSlouxmlI/F47zBa9suXI02oXy2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 18.7.68.33) smtp.rcpttodomain=gnu.org smtp.mailfrom=alum.mit.edu; dmarc=pass (p=none sp=none pct=100) action=none header.from=alum.mit.edu; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aQPfBzkY3o5Xnc2NNPFUa5eCbgZq5ejKXhP1hwYLbr8=; b=TwQ7xss5HIUUL9JZRIefFjbHz/F4Hl+eWdQ5D1nXDBi9T1OgwN9RnoGUevN+ahgK8BckJRBgfwLWLm+B3VDZF1G/OFyvjR+o9r8v5KlMINw0AF1RKBUIm6DltF77cEeRdh768PUpA5MxpTm4dzAZ5YCfNCcHrqLLWzgf0GAcu/k= Original-Received: from DM6PR07CA0084.namprd07.prod.outlook.com (2603:10b6:5:337::17) by IA1PR12MB7520.namprd12.prod.outlook.com (2603:10b6:208:42f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Mon, 10 Oct 2022 20:37:07 +0000 Original-Received: from DM3NAM02FT010.eop-nam02.prod.protection.outlook.com (2603:10b6:5:337:cafe::ef) by DM6PR07CA0084.outlook.office365.com (2603:10b6:5:337::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15 via Frontend Transport; Mon, 10 Oct 2022 20:37:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33) smtp.mailfrom=alum.mit.edu; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=alum.mit.edu; Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates 18.7.68.33 as permitted sender) receiver=protection.outlook.com; client-ip=18.7.68.33; helo=outgoing-alum.mit.edu; pr=C Original-Received: from outgoing-alum.mit.edu (18.7.68.33) by DM3NAM02FT010.mail.protection.outlook.com (10.13.5.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.10 via Frontend Transport; Mon, 10 Oct 2022 20:37:07 +0000 Original-Received: from foil (c-71-198-24-3.hsd1.ca.comcast.net [71.198.24.3]) (authenticated bits=0) (User authenticated as mdl@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 29AKb4hQ008217 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Oct 2022 16:37:05 -0400 In-Reply-To: <83v8orfokv.fsf@gnu.org> (message from Eli Zaretskii on Mon, 10 Oct 2022 15:47:22 -0400) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM3NAM02FT010:EE_|IA1PR12MB7520:EE_ X-MS-Office365-Filtering-Correlation-Id: dfe332d8-7682-40d9-3ca8-08daaaff32e6 X-LD-Processed: 3326b102-c043-408b-a990-b89e477d582f,ExtAddr,ExtFwd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mzhyqI2XBnvfOgFCPIy5R1/2QGKnbm79pmz8TYEkkKYtc/4RtXQSxtwgH3nPZoMwsaPWFzXuLwmghFRlIqrA1rlOtc1yvj9IdJBUBloj7/9B+t7fTSHHoI/++dVKu19BfQ3x/KlO5+7RbFU+KnIcjautBfqZdDehjH33erCaBV9b+ES1zpp33wDBh9rY9INI9cxS1yz47/AUskhhZBKmXqG6RbChHTKmXqoManNlKpK5F3mHMneUanHjYU6Tj31wsyQCPPTtAr5SWBob1/w48J7jTPJqLhudp3buGIYYHjkx+gqBTEwzpa9bOGlpQ6lkISKyQRk+kt9ocn/+H3dUMTq+8bxy6i2WJCkwW4yjf05Mr8nZBeyCZkL/dC//1sycTXdhWgXHWhIxtv/o/cmbKCsaXB+2bzqBPArEYJ2RFJ9sd0nhaNQdR7fKbTztWLkAmd48j6B86jlUOPvyo0YDyYL1ccHzd/Sl93F9O2eZsBzt8TH+83K0J0pG6ZMAPwQIggjpu2uDDEC9Ta3y+4KkmbcWGCEbfbayqe2uZZykVsvIF4YF9NeJYI540TLJq9k7XVnF76020AvTOHlmJZGmfNpLSMM3xH4PvPWsS5hByv3ihf0moJYr4CeMGq0UJdPHjN11C+imQ5u59xmXW8ymkftSgA3MN+XPXkt595TySHZkWRRHn9CNkDY7PPaoDjV881hBTzqrqgjkDoum1MRYmXHiJC/N+Qjm+QonoSX3s25RnL0Euj2DXiHPPslda w8YvO6pHvsownHy4HZoJrBpmw== X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu; CAT:NONE; SFS:(13230022)(346002)(136003)(39860400002)(396003)(376002)(451199015)(46966006)(40470700004)(36840700001)(8676002)(4326008)(70586007)(70206006)(82740400003)(41320700001)(41300700001)(3450700001)(15650500001)(2906002)(8936002)(316002)(82310400005)(6916009)(786003)(956004)(26005)(2616005)(186003)(336012)(83380400001)(47076005)(5660300002)(40460700003)(36860700001)(478600001)(7596003)(356005)(86362001)(75432002)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: alum.mit.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2022 20:37:07.1647 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dfe332d8-7682-40d9-3ca8-08daaaff32e6 X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33]; Helo=[outgoing-alum.mit.edu] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT010.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7520 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245049 Archived-At: Eli Zaretskii writes: > > Cc: larsi@gnus.org, 13329@debbugs.gnu.org > > Date: Mon, 10 Oct 2022 22:03:51 +0300 > > From: Eli Zaretskii > > > > > From: Mark Lillibridge > > > Cc: eliz@gnu.org, larsi@gnus.org, 13329@debbugs.gnu.org > > > Date: Mon, 10 Oct 2022 11:25:55 -0700 > > > > > > > > > If you don't want to start with an existing mbox, send a message to > > > yourself containing a line like "From nothing" in the body. You will > > > see that a > incorrectly shows up in the Rmail display due to bug > > > #13328. > > > > I just did, and I don't see the bug (in Emacs 28.2). The mbox file I > > get does include a line that begins with ">From", but in the message > > buffer presented by Rmail to me I see just "From", with the ">" > > removed. > > > > I see the same in Emacs 28.1, so I'm unsure why you see the problem > > there. Maybe the reproduction recipe above is too simple, and > > something else is missing to reproduce the problem? > > And now I've also sent to myself a message with a MIME attachment, > where the attachment was a text that included a line that began with a > "From". In the message I received, if I tell Rmail to show the > attachment, I see that line without any leading ">" before "From". So > again, I'm unable to reproduce the problem you are describing. How did your mailer encode the attachment? If it used base64, then I don't expect you'll see the bug. > Are you sure you are using rmail.el which came with Emacs 28? For the test with the existing mbox, yes. I downloaded and built from source Emacs 28.1 and invoked it with -q, which should mean it looks at none of my elisp. - Mark