From unknown Sat Jun 21 03:18:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36864 <36864@debbugs.gnu.org> To: bug#36864 <36864@debbugs.gnu.org> Subject: Status: hitting r deletes attachment rather than replying Reply-To: bug#36864 <36864@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:18:28 +0000 retitle 36864 hitting r deletes attachment rather than replying reassign 36864 gnus submitter 36864 Par Kurlberg severity 36864 normal tag 36864 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 19:42:50 2019 Received: (at submit) by debbugs.gnu.org; 30 Jul 2019 23:42:50 +0000 Received: from localhost ([127.0.0.1]:51375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsblZ-0001ks-0V for submit@debbugs.gnu.org; Tue, 30 Jul 2019 19:42:49 -0400 Received: from smtp-3.sys.kth.se ([130.237.48.192]:54996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsbSP-0001IN-Hd for submit@debbugs.gnu.org; Tue, 30 Jul 2019 19:23:02 -0400 Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id 7365E9E11 for ; Wed, 31 Jul 2019 01:22:59 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s2CN24MRx2qo; Wed, 31 Jul 2019 01:22:58 +0200 (CEST) Received: from nine.math.kth.se (nine.math.kth.se [130.237.227.65]) by smtp-3.sys.kth.se (Postfix) with ESMTPS id 27ADE934E; Wed, 31 Jul 2019 01:22:57 +0200 (CEST) Received: by nine.math.kth.se (Postfix, from userid 2100625) id 7A6352C498E; Wed, 31 Jul 2019 01:22:57 +0200 (CEST) From: Par Kurlberg To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: hitting r deletes attachment rather than replying X-Debbugs-Version: 5.13 X-Debbugs-Package: gnus Date: Wed, 31 Jul 2019 01:22:56 +0200 Message-ID: <87lfwff6pb.fsf@math.kth.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 30 Jul 2019 19:42:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, I've been bit by the following a couple of times: I read a message with an attachment, then look at the attachment (say by placing the cursor over it and hitting RET or similar), and then want to reply to the message by hitting r (which usually sets up a buffer for writing a reply). However, when the cursor is on the attachment button this invokes gnus-mime-replace-part with the result of the attachment effectively being deleted. (Supposedly it is saved somewhere on disk but this does not seem to work.) In any case, even if saved somewhere I'm not sure that the "lost" attachment can be reattached into the message. (I have looked but not found a way to undo gnus-mime-replace-part, perhaps I missed some easy solution here?) Bug report/feature request: could you *PLEASE* have "r" asking for confirmation? Meanwhile I'll try to figure out how rebind "r" or just redefine gnus-mime-replace-part in my config. :-) Best, P=C3=A4r=20 Gnus v5.13 GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-09-20 on lcy01-07, modified by Debian From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 23 01:03:36 2019 Received: (at 36864) by debbugs.gnu.org; 23 Aug 2019 05:03:36 +0000 Received: from localhost ([127.0.0.1]:38850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i11jc-0000dH-I2 for submit@debbugs.gnu.org; Fri, 23 Aug 2019 01:03:36 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i11ja-0000d7-B3 for 36864@debbugs.gnu.org; Fri, 23 Aug 2019 01:03:35 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i11jV-0003yb-SA; Fri, 23 Aug 2019 07:03:32 +0200 From: Lars Ingebrigtsen To: Par Kurlberg Subject: Re: bug#36864: hitting r deletes attachment rather than replying References: <87lfwff6pb.fsf@math.kth.se> Date: Fri, 23 Aug 2019 07:03:29 +0200 In-Reply-To: <87lfwff6pb.fsf@math.kth.se> (Par Kurlberg's message of "Wed, 31 Jul 2019 01:22:56 +0200") Message-ID: <87lfvkfp7i.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Par Kurlberg writes: > I've been bit by the following a couple of times: I read a message with > an attachment, then look at the attachment (say by placing the cursor > over it and hitting RET or similar), and then want t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36864 Cc: 36864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Par Kurlberg writes: > I've been bit by the following a couple of times: I read a message with > an attachment, then look at the attachment (say by placing the cursor > over it and hitting RET or similar), and then want to reply to the > message by hitting r (which usually sets up a buffer for writing a > reply). However, when the cursor is on the attachment button this > invokes gnus-mime-replace-part with the result of the attachment > effectively being deleted. (Supposedly it is saved somewhere on disk > but this does not seem to work.) In any case, even if saved somewhere > I'm not sure that the "lost" attachment can be reattached into the > message. (I have looked but not found a way to undo > gnus-mime-replace-part, perhaps I missed some easy solution here?) > > Bug report/feature request: could you *PLEASE* have "r" asking for > confirmation? Meanwhile I'll try to figure out how rebind "r" or just > redefine gnus-mime-replace-part in my config. :-) The command does prompt you for a file name to replace the MIME part with, so I don't think asking for another confirmation will make much difference. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 23 01:03:41 2019 Received: (at control) by debbugs.gnu.org; 23 Aug 2019 05:03:41 +0000 Received: from localhost ([127.0.0.1]:38853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i11jg-0000dX-R3 for submit@debbugs.gnu.org; Fri, 23 Aug 2019 01:03:41 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i11je-0000dP-Sg for control@debbugs.gnu.org; Fri, 23 Aug 2019 01:03:39 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i11jc-0003yi-Cs for control@debbugs.gnu.org; Fri, 23 Aug 2019 07:03:38 +0200 Date: Fri, 23 Aug 2019 07:03:36 +0200 Message-Id: <87k1b4fp7b.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36864 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36864 wontfix close 36864 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 36864 wontfix close 36864 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 25 01:58:55 2019 Received: (at 36864) by debbugs.gnu.org; 25 Aug 2019 05:58:55 +0000 Received: from localhost ([127.0.0.1]:43475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1lYF-0000LL-0P for submit@debbugs.gnu.org; Sun, 25 Aug 2019 01:58:55 -0400 Received: from quimby.gnus.org ([80.91.231.51]:57924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1lYC-0000LE-H2 for 36864@debbugs.gnu.org; Sun, 25 Aug 2019 01:58:53 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1lY8-0001bG-Ld; Sun, 25 Aug 2019 07:58:51 +0200 From: Lars Ingebrigtsen To: Par Kurlberg Subject: Re: bug#36864: hitting r deletes attachment rather than replying References: <87lfwff6pb.fsf@math.kth.se> <87lfvkfp7i.fsf@gnus.org> <87ftlsm6n4.fsf@math.kth.se> Date: Sun, 25 Aug 2019 07:58:48 +0200 In-Reply-To: <87ftlsm6n4.fsf@math.kth.se> (Par Kurlberg's message of "Fri, 23 Aug 2019 14:02:39 +0200") Message-ID: <87h865946f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Par Kurlberg writes: > I have the habit of quickly hitting return right after hitting r (in > order to make a blank line at the top of the reply message). The > minibuffer, after hitting r, contains a string with the curr [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36864 Cc: 36864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Par Kurlberg writes: > I have the habit of quickly hitting return right after hitting r (in > order to make a blank line at the top of the reply message). The > minibuffer, after hitting r, contains a string with the current > directory in order to start a prompt for the file name to save the > attachment in. If you hit return then, the attachment is gone and > what's worse: there is no file in the selected directory - i.e., the > attachment does not seem to be saved at all. (I might be looking in the > wrong place but it's not clear at all if/where the attachment is indeed > saved.) Ah, yes the command should check whether the file exists before removing the MIME part and substituting with nothing. This has now been fixed on the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 21 03:18:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Sep 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator