From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Graner Newsgroups: gmane.emacs.bugs Subject: bug#70338: message-fcc-externalize-attachments has no effect Date: Sat, 20 Apr 2024 19:29:25 +0200 Message-ID: <878r18t022.fsf@graner.name> References: <8634rs6plb.fsf@graner.name> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8982"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, 70338@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 20 19:30:09 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 1ryEXR-00028c-VA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Apr 2024 19:30:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryEX8-0007Jw-1u; Sat, 20 Apr 2024 13:29:50 -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 1ryEX6-0007Ji-AU for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 13:29:48 -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 1ryEX6-0003DF-2P for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 13:29:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryEXK-0000aV-PD for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Graner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2024 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70338 X-GNU-PR-Package: emacs Original-Received: via spool by 70338-submit@debbugs.gnu.org id=B70338.17136341872119 (code B ref 70338); Sat, 20 Apr 2024 17:30:02 +0000 Original-Received: (at 70338) by debbugs.gnu.org; 20 Apr 2024 17:29:47 +0000 Original-Received: from localhost ([127.0.0.1]:37323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryEX5-0000Y7-A2 for submit@debbugs.gnu.org; Sat, 20 Apr 2024 13:29:47 -0400 Original-Received: from ns1.ouvaton.coop ([194.36.166.20]:40989 helo=smtp.ouvaton.coop) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryEX0-0000XC-S5 for 70338@debbugs.gnu.org; Sat, 20 Apr 2024 13:29:46 -0400 Original-Received: from hypra-graner (lfbn-idf2-1-328-90.w82-123.abo.wanadoo.fr [82.123.48.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ouvalternc.octopuce.fr (Postfix) with ESMTPSA id 0A10D562E2; Sat, 20 Apr 2024 19:29:25 +0200 (CEST) In-Reply-To: <87y198hwqf.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Sat, 20 Apr 2024 08:36:40 -0700) 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:283744 Archived-At: Eric Abrahamsen wrote on 2024-04-20 08:36: > So far I don't see that this option would actually do anything in an FCC > context. `message-fcc-externalize-attachments' is only used in > `message-do-fcc`, where its value is let-bound to > `mml-externalize-attachments'. > > But `mml-externalize-attachments' is only consulted in > `gnus-inews-do-gcc', which already doesn't sound very promising. That > function first let-binds `mml-externalize-attachments' to nil, before > doing its own setting, so any dynamic value is getting overridden > anyway. > > I tried starting with `gnus-gcc-externalize-attachments' and sending a > message with an attachment, just to see how it's supposed to work. > Nothing seemed to happen. > > Can you tell me what the desired effect is supposed to be? Does the > "gcc" version of this option work for you? > > Eric When you attach a file to a mail message you are writing, only an anchor with the file name is inserted in the message buffer. When the message is sent, the anchor is replaced with the actual MIME-encoded contents of the attached file. The copy of the message that is written to the FCC file also includes the MIME-encoded attached file. I was expecting that externalization would mean that the copy in the FCC file would only include an anchor rather than the attachment, which would be extremely useful. I must admit this was only a guess (wishful thinking?) since the documentation is not explicit at all. I don't use gnus. To test the gnus version of the variable, I guess I would need access to a free, public NNTP server, which I don't know where to find. Can you help? Nicolas