From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 15:34:21 2022 Received: (at submit) by debbugs.gnu.org; 16 Jul 2022 19:34:21 +0000 Received: from localhost ([127.0.0.1]:46084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCnYT-0004pq-AL for submit@debbugs.gnu.org; Sat, 16 Jul 2022 15:34:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:60502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCnYR-0004pi-Ek for submit@debbugs.gnu.org; Sat, 16 Jul 2022 15:34:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCnYR-0002b8-8c for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 15:34:19 -0400 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]:35595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCnYP-0002fU-Ol for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 15:34:19 -0400 Received: by mail-yb1-xb31.google.com with SMTP id e69so14074500ybh.2 for ; Sat, 16 Jul 2022 12:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=/JIppOkO7ScSpGfbVmEuUQKHEQSxYQ1xgvJCXXmVkRk=; b=h7uLle1SDjmwcnOwe0m0BgmXBbNXTrMvZyWbOV8Hxpaprzr4jY466i+l0cqoxA+q/a eXD2tx0XGB1UqPBGHW1WHHTWFuhLduFsj0i3SveimTJDCU1GXmzkokAoT0wc3n6vXxmZ 0A+pK7Ts0xsNp0W/m+9261gQ7s44huTVv0IFVuT3eyUoKyjDF7FQE3azQMXWIAwFsU7D z4CWBOMrmkBiPVodJ6my9lTCz4RRNf5lh0p3P3L50FQqLQz8XZKmwfL3XaSY1qVvgKfx k46veYq8cLYT9M1NOe/Trg9YmC9TAIZ5TaZXYvtx7SJ7Qel/9M1pBj81yy5WVt/I/JI7 4/tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/JIppOkO7ScSpGfbVmEuUQKHEQSxYQ1xgvJCXXmVkRk=; b=4fQ5q0mOFN3sySIfdyBUQWvvMLrPAaUQKYBM+cwHeSy/JgKG0g5cceHqd8G3xoxIwK XE16QZZGny/5bB3kUcpWTZ43kK2oR9fMlzWVY5zWBK9RQZy84c7DWzeL3Yf519Mb1CSv LIGknpwEHtj0Ct3HBZOCIIqlJzEsQymQpiIuvU4H21dK9TRYmg2KEUFDwVWOlw7X+SFg sLcroJlS+o9SJT5ax3SM2TV7MSJOpRKO3WHoyyX78GUlqWBxGXlgqILAN8lSwwxW62J7 zT6pzs7ukQH0yM8w7nSheUEJ6vHgaeah/kA6ul15eJwnhKvEtZ4AV//EpsQ5doa1a4uH 9k9A== X-Gm-Message-State: AJIora/WpN4SYVOQZPZ94WfPHdv729Yy3X1udGfgtwPrGpPaidNyjjkk pVV6al4Cx9++z/pZQ+Mvpwdp8rIXBYhbIlnfojuDfGIi7g== X-Google-Smtp-Source: AGRyM1slUu+5tkIek/kt2UQyiH/UzWZxSN8SZQ7+6b1fzzNpbWpP4jon+W92ttm9hJKcz95LsIt022A8SNhYgBJ7reU= X-Received: by 2002:a25:8901:0:b0:66e:a07e:465e with SMTP id e1-20020a258901000000b0066ea07e465emr19204363ybl.224.1658000055706; Sat, 16 Jul 2022 12:34:15 -0700 (PDT) MIME-Version: 1.0 From: Paul Pogonyshev Date: Sat, 16 Jul 2022 21:34:04 +0200 Message-ID: Subject: editing a file from an archive can die with a message that says nothing to a random user To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000005ba91605e3f13824" Received-SPF: pass client-ip=2607:f8b0:4864:20::b31; envelope-from=pogonyshev@gmail.com; helo=mail-yb1-xb31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) --0000000000005ba91605e3f13824 Content-Type: text/plain; charset="UTF-8" GNU Emacs 28.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.33, cairo version 1.16.0) of 2022-05-24 1. Open any archive (tested with JAR and TAR) 2. Open any file from said archive (in a separate buffer) 3. Switch to the archive buffer and kill it 4. Go to the file buffer from step 2, modify it and try to save 5. Saving dies with "Selecting deleted buffer" error I'm not sure what the behavior should be (most user-friendly: silently reopen the archive if it still exists), but it certainly shouldn't be "I will die with some internal error, let user decifer what that means". Paul --0000000000005ba91605e3f13824 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
GNU Emacs 28.1.50 (build 1, x86_64-pc-linux-gnu, GTK+= Version 2.24.33, cairo version 1.16.0) of 2022-05-24

1. Open any archive (tested with JAR and TAR)
2. Open any file from = said archive (in a separate buffer)
3. Switch to the archive buff= er and kill it
4. Go to the file buffer from step 2, modify it an= d try to save
5. Saving dies with "Selecting deleted buffer&= quot; error

I'm not sure what=C2=A0the behavio= r=C2=A0should be (most user-friendly: silently reopen the archive if it sti= ll exists), but it certainly shouldn't be "I will die with some in= ternal error, let user decifer what that means".

<= div>Paul
--0000000000005ba91605e3f13824-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 05:17:01 2022 Received: (at 56605) by debbugs.gnu.org; 17 Jul 2022 09:17:01 +0000 Received: from localhost ([127.0.0.1]:46651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD0Oa-00033l-Qt for submit@debbugs.gnu.org; Sun, 17 Jul 2022 05:17:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD0OZ-00033X-3v for 56605@debbugs.gnu.org; Sun, 17 Jul 2022 05:16:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MnY7EVD2X66B8edBpXQ1utpfd1ywZzbntzRv8vUoUN8=; b=UEPqquRIDh5eSTh0Uie0Z+R5BQ J5ki31G2cEjl1n2z7vGOdxuZdXHHgBGXANIkNUTttXH50c1D9IyEZk5y7fwjyDrlLqt6XZ5GjmUjg SouPhCn23S/LCj2jRYTRszUt5bgp5owCDJZkC34tiJXpbt49HKr+pfEyMlaaPHqFYQ9M=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oD0OQ-0005Gn-G3; Sun, 17 Jul 2022 11:16:52 +0200 From: Lars Ingebrigtsen To: Paul Pogonyshev Subject: Re: bug#56605: editing a file from an archive can die with a message that says nothing to a random user In-Reply-To: (Paul Pogonyshev's message of "Sat, 16 Jul 2022 21:34:04 +0200") References: X-Now-Playing: Fairport Convention's _Come All Ye (4)_: "Sweet Rock 'N' Roller" Date: Sun, 17 Jul 2022 11:16:48 +0200 Message-ID: <874jzgnlof.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Paul Pogonyshev writes: > I'm not sure what the behavior should be (most user-friendly: silently > reopen the archive if it still exists), but it certainly shouldn't be > "I will die with some internal error, let user decife [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 56605 Cc: 56605@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: -3.3 (---) Paul Pogonyshev writes: > I'm not sure what the behavior should be (most user-friendly: silently > reopen the archive if it still exists), but it certainly shouldn't be > "I will die with some internal error, let user decifer what that > means". I've now made the error message clearer in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 05:17:05 2022 Received: (at control) by debbugs.gnu.org; 17 Jul 2022 09:17:05 +0000 Received: from localhost ([127.0.0.1]:46655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD0Of-00034U-38 for submit@debbugs.gnu.org; Sun, 17 Jul 2022 05:17:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD0Od-00033d-9Z for control@debbugs.gnu.org; Sun, 17 Jul 2022 05:17:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ExTC+RFeRaUUoNrwu13Ls88R5VDc7PDtuefS/3UCDpo=; b=LrZ7XKzwJWENINnrNop42GEROx 5JLzPJwQOGSYtEVvjYbH8CH5K3ulFS4RLjZjjgRgduaYCR8GFshZyx4vTznZgGBYokiu23EIfbLcL I/Fj2TpICsXfBZ13eo5MerZP8s2Msxk6FW81ryBwMe2ET1hRJhRaF4B2/49jddohDelA=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oD0OV-0005Gw-AG for control@debbugs.gnu.org; Sun, 17 Jul 2022 11:16:57 +0200 Date: Sun, 17 Jul 2022 11:16:54 +0200 Message-Id: <8735f0nlo9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56605 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: close 56605 29.1 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: -2.3 (--) 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: -3.3 (---) close 56605 29.1 quit From unknown Sat Aug 16 19:19:56 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, 14 Aug 2022 11:24:04 +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