From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73815: 29.4; message-narrow-to-headers-or-head is void in mml-to-mime Date: Sat, 19 Oct 2024 11:58:17 +0300 Message-ID: <86msj0lb9y.fsf@gnu.org> References: <84sesx201v.fsf@uddeborg.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3282"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73815-done@debbugs.gnu.org To: =?UTF-8?Q?G=C3=B6ran?= Uddeborg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 19 10:59:59 2024 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 1t25JX-0000dY-2i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Oct 2024 10:59:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t25JF-00047d-Ht; Sat, 19 Oct 2024 04:59:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t25JD-00047E-VA for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 04:59:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t25JD-0008Bq-Mv for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 04:59:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=KCmGOHBO/JbOFatsSBTvkf0vVdei5jJzN6RuqwhoCOY=; b=K2L7gSALY8qwyg8LmTKsq6vCdEDgOuKRQG8MriyYPXR6gouwmwP21x/lng+VtTEt7jx9FGV9UzgyUXJMiONlLic5X7ebrpLK/rRsO2NF3KC0jkcA/5YyZYTzjdM3BSnQ7ai34RUONOR8NeRmvuZ7NjUHhmi6RHnS064IebOAq59X8GCYBWcDPJT3PIggRj0n/CDm37sp+ibYpHXkR2dYPIbUXkd6Vb6H+agVH5ZmpfFQSSxD6NlogCAT1aNXDtmDqPX9Oa4d2bfkWkewmp0R0rcJrSeR9/7RKyGW7gXMPylo5iFz/KnhQDbrYhMxHswfyt1wXxbTeerzruoqNQHcZw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t25Jb-00042V-3V for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 05:00:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73815 X-GNU-PR-Package: emacs Mail-Followup-To: 73815@debbugs.gnu.org, eliz@gnu.org, goeran@uddeborg.se Original-Received: via spool by 73815-done@debbugs.gnu.org id=D73815.172932834515420 (code D ref 73815); Sat, 19 Oct 2024 09:00:02 +0000 Original-Received: (at 73815-done) by debbugs.gnu.org; 19 Oct 2024 08:59:05 +0000 Original-Received: from localhost ([127.0.0.1]:41399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t25If-00040e-1j for submit@debbugs.gnu.org; Sat, 19 Oct 2024 04:59:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t25Id-000408-7J for 73815-done@debbugs.gnu.org; Sat, 19 Oct 2024 04:59:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t25I8-00086q-1b; Sat, 19 Oct 2024 04:58:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=KCmGOHBO/JbOFatsSBTvkf0vVdei5jJzN6RuqwhoCOY=; b=I47wKnGZcVAEmW1N0fTh q81T35BgYxUsEp4m6ORfpU6rNS78mWmUWc6Y2+EOKwUNev4ZfJX6cSKECQD4t3HuM/bxSZeHw+SAQ GBP1/fHWql/lgY70srh0mkVi9nw9+bRVqtEH4LzsNfHa1enF3mVxmpGotuADJ/J5cSVlTbEf1QXkE 2L3dyqTS5EbcCpW00kOYopu7esC0B7L7fpeWnZDsnFH+0m9XH5FAp65K1HLGqEi5/w/PvQVOfFA0C fZ9pcWzqHGBy0Y9VcSBJJ8WLoJRYa9wie3nvSbBkPl+5Bnx3o6e8Iisb7zpGEI2DDfzkfP/LbHEBB NucG8Ae3ZH7pHA==; In-Reply-To: <84sesx201v.fsf@uddeborg.se> (message from =?UTF-8?Q?G=C3=B6ran?= Uddeborg on Tue, 15 Oct 2024 11:22:04 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293858 Archived-At: > From: Göran Uddeborg > Date: Tue, 15 Oct 2024 11:22:04 +0200 > > While working on debugging the VM package, I hit what I believe is a bug > in Emacs itself. To reproduce the problem, run the following steps. > > 1. emacs -Q > 2. C-x b a > 3. C-x i b u g b r e v > 4. M-x m a i l - s e n d > > I attach the "bugbrev" file used above. (It is a very stripped down > version of a spam I got and tried to forward to Spamcop.) > > What happens is I get the error message > > mml-to-mime: Symbol’s function definition is void: message-narrow-to-headers-or-head > > My elisp skills are quite limited, but from what I understand, this is > triggered by the very long line in the forwarded message, which causes > mail-send to call mml-to-mime. The latter calls > message-narrow-to-headers-or-head but that is not available in this > situation. Shoudn't there be an autoload of that function too? > > (autoload 'message-narrow-to-headers-or-head "message") Yes, there should be. I've now added that on the emacs-30 branch, and I'm therefore closing this bug.