Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 22 Apr 2022 14:19:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 22 10:19:12 2022 Received: from localhost ([127.0.0.1]:54436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nhu7s-00008Z-Ls for submit <at> debbugs.gnu.org; Fri, 22 Apr 2022 10:19:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nhu7r-00008H-6z for 35495 <at> debbugs.gnu.org; Fri, 22 Apr 2022 10:19:11 -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:In-Reply-To:Date: References: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=WPcHLiYiuRfb3tyw/fTDeLNSU9OrmWOxqNWuZGyuaiE=; b=ORrXmtNnAz73yXW8s9GJEm+PVC WcPxjzbKjj6SX6zweeBEcXi26A6lWDr08H/qP0O9JQHOEKU7D6yZrIRwxTt3/yu4ypgBZRmNE8cez OHV8T3iAgJxrWBYJ+OOyfViK4tCe2xaBshcu+LxsH1V+nSrIsiRTV15LRItfmqCTIwrA=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nhu7f-0007HD-Da; Fri, 22 Apr 2022 16:19:01 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87pml9z2fj.fsf@HIDDEN> <jwvlevxnspv.fsf-monnier+emacs@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEX76af9+/Ts1Zjf zZTwlFr1soXIt4atnnW9rYCsdEz////AgSwnAAAAAWJLR0QKaND0VgAAAAd0SU1FB+YEFg4SC2mD eO0AAAFwSURBVDjLddNRbuQgDABQ15GS9rM3QGTF/CKQSA/Q3gMNkt3vIuGeYK6w6m03M9N00sHr 5AP5KVjBBkCP522BMezzf962VYQhmB28bh94sPGowAC2RKtCkhgVAEjFaYDW+hkVcM2saJQaDRDU GhEQgwYASy4aDNYYrxUnEx30kNwxAO1+/RuGiK05ETzeA5p3TlIx3m+Fnuoi+ZG64j61l+qn1oMT bkaDkQ8NnHSQR+ICB1ZqEGU4iPkFc1wPI84eFvG/wF4QPJykdh2MDBmJyh0MPn0ZokSlxBQwJP9w hck/ffmFzlF4fWrYwGCdYiQSmrPnWm5wbjslEfExT38lP/z03IwshDadx64xbDCWl3f+bLdx2MAx nUROSwfr+VVpzB0gjE0qf3QwAwpxyx0EGKQJGwVG4XorsQOYuPkeAAxwAw0CLFEFDylosN7nYjQY PO6u+Q7GdbJ3ebyCO7/TBex3XGFNHeHnmqO5wPN/4h/0TGBZe5apxwAAACV0RVh0ZGF0ZTpjcmVh dGUAMjAyMi0wNC0yMlQxNDoxODoxMCswMDowMNt9A34AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjIt MDQtMjJUMTQ6MTg6MTArMDA6MDCqILvCAAAAAElFTkSuQmCC X-Now-Playing: Joni Mitchell's _Archives: The Early Years (1)_: "Nancy Whiskey" Date: Fri, 22 Apr 2022 16:18:58 +0200 In-Reply-To: <jwvlevxnspv.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Fri, 22 Apr 2022 09:40:25 -0400") Message-ID: <87zgkdw699.fsf@HIDDEN> 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: Stefan Monnier <monnier@HIDDEN> writes: >>> When untarring a file whose contents include a GPG keyring named with >>> a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the >>> keyring because the `write-region` call for this [...] 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: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >>> When untarring a file whose contents include a GPG keyring named with >>> a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the >>> keyring because the `write-region` call for this file gets handed to >>> `epa-file-write-region`. >> >> I'm unable to reproduce this on the current trunk -- but I can't >> reproduce it in Emacs 26.3/27.1 either. > > How have you tried to reproduce it? > > I did: > > emacs -Q .../test.tgz > M-x tar-untar-buffer RET > > and it prompted me (in a new *Keys* buffer) to choose a key to encrypt > some file. Sorry; didn't read the bug report closely enough -- I assumed just opening the tgz file would trigger it. With `M-x tar-untar-buffer' I can reproduce the problem on the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 22 Apr 2022 13:40:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 22 09:40:36 2022 Received: from localhost ([127.0.0.1]:52051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nhtWW-0004kI-0S for submit <at> debbugs.gnu.org; Fri, 22 Apr 2022 09:40:36 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:10360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1nhtWU-0004k2-2T for 35495 <at> debbugs.gnu.org; Fri, 22 Apr 2022 09:40:34 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D3C208065C; Fri, 22 Apr 2022 09:40:27 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8149B805B9; Fri, 22 Apr 2022 09:40:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1650634826; bh=l0Ct+/IFFinQJ+nlAPSNcWNN2L3qNc/pepHC7he8T7E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LCSl+FjWdc0sghaZK11GxoBIK3uGnSMNs2IuZOLTb9FGWq8WI7yTeotx01J0rqeze L931GHEa+KL7L3n2rMcylVzgmhwKNVnskZN6fEh2WLBdQlbpdbbWNkSQPfN9z2sE2v LzowE04a42lBV/jioW13V8BaF9egzaEei/CBjrUn8udlGDraanICk/ijONPhum5DTV ME8wUfoOrzO0yfvLAKaHTEu0dQZF20OeW1+b7FHsjPcdgJ2Z4oxQc7HwjlqX4sBVKW JpPvuy/TTx6zzUAnxoRcsiWS+LICz3eTBUl2ERA/ajavorqG6mMG+hajT1L/q0WZPG 6VwsYdmbZ8lfQ== Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4A9AE120802; Fri, 22 Apr 2022 09:40:26 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvlevxnspv.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87pml9z2fj.fsf@HIDDEN> Date: Fri, 22 Apr 2022 09:40:25 -0400 In-Reply-To: <87pml9z2fj.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri, 22 Apr 2022 15:13:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.063 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Lars Ingebrigtsen [2022-04-22 15:13:20] wrote: > Stefan Monnier <monnier@HIDDEN> writes: >> When untarring a file whose contents include a GPG keyring named with >> a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the >> keyring because the `write-region` call for this file gets handed to >> `epa-file-write-region`. > > I'm unable to reproduce this on the current trunk -- but I can't > reproduce it in Emacs 26.3/27.1 either. How have you tried to reproduce it? I did: emacs -Q .../test.tgz M-x tar-untar-buffer RET and it prompted me (in a new *Keys* buffer) to choose a key to encrypt some file. Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 22 Apr 2022 13:13:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 22 09:13:33 2022 Received: from localhost ([127.0.0.1]:51988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nht6L-00083E-E2 for submit <at> debbugs.gnu.org; Fri, 22 Apr 2022 09:13:33 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nht6J-00082w-3U for 35495 <at> debbugs.gnu.org; Fri, 22 Apr 2022 09:13:31 -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:In-Reply-To:Date: References: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=MDedlIMmIc7LN+hs735+OY2FUAfUZBGJ75HxAgcarPI=; b=t6/iuYxBy1R/RVj7u+et+ZlWva WdllNQq7OKS3UvJePrpnfUHWCnfUfh4791i4eXrCnNW3CbEjUHPMkVWWZcrHxrAUa0lLduu0OBH1M dLEnuCbYal4gN+dp1184ozhiANDL1Hj77d4qpNtZocFGy+afjHavR/qsmNOlXzatps+8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nht68-0006ku-Nn; Fri, 22 Apr 2022 15:13:22 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> X-Now-Playing: ELpH's _Protection_: "Untitled" Date: Fri, 22 Apr 2022 15:13:20 +0200 In-Reply-To: <jwvtveg4m1a.fsf@HIDDEN> (Stefan Monnier's message of "Mon, 29 Apr 2019 16:02:57 -0400") Message-ID: <87pml9z2fj.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Stefan Monnier <monnier@HIDDEN> writes: > When untarring a file whose contents include a GPG keyring named with > a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the > keyring because the `write-region` call for this file g [...] 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: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Stefan Monnier <monnier@HIDDEN> writes: > When untarring a file whose contents include a GPG keyring named with > a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the > keyring because the `write-region` call for this file gets handed to > `epa-file-write-region`. I'm unable to reproduce this on the current trunk -- but I can't reproduce it in Emacs 26.3/27.1 either. I'm using the following tar file as the test case. Is there anything more needed to reproduce the problem, or has it really gone away? --=-=-= Content-Type: application/x-gtar-compressed Content-Disposition: attachment; filename=test.tgz Content-Transfer-Encoding: base64 H4sIAAAAAAAAA+3aZVAdW6Lo8Y0H3djG3d2d4BDcnaDBCb5x9wCB4ME1uLtbcAvu7hbcIcg7mbnn 3XlTt+aeL/Nu3Sp+X7pq7V5VXdX/6t7dvczs7JjM7c0B/04sf+Di4Pi9ZeXmZPnH7R/YWLi5OQCs HGzsLJxsHKxcf4yzsrJzcgJIWP6tR/UfnMFORo4kJABrI0ew5b/Y77/7/X+pZEhkaENoQiQIVEAL G56UqMomGNqr3hhuitSE5TMdacOJi71okx7Pak+s9AzGk1unboG103qRd3ucD1X57K6AUQeJVs1b atzYphy8Wba8DxTa27ZPwBoFtU90sM1Fq7ozhDSyaJ48WzYGE1/wpYYDHaKWXUxs7pmL41MPaVoB dtTfhhg/TK88KV/Y0F+mm/6K4nr7qBEc5Ze4dkQVahQk/i0IawT+pKTckDtrbLXstp1IwTHEkIXD p94fwZi0OIRzwFBU7Saf/QXBMJHmm7UOm6zb3qRfHFF8PTdk2tT777galt7Egeo0UNomcF90JvM6 xI8rWTNNDJSTxw9oXIuGyIL2L8jFta+/wl1sUza3SUszFqxdOdRSJRxu2+iyuOPtbHE+RFanLGhg 4QRhY28J3WX1fkiNhojxguWEIhqtQiewasghI6LMktr+SbMI7J7uQl+wFdlfnlTIcoPPrjHfxFmT PY3DMSexXa+IaNnXXba8lab5oUt8vQNy25My4VMx5MAotNR3OxIximKups7lggNpOzt5lw6Aiwml g1Q700xLUw9BjgFOcJ8qd0KGjjNqvDazKZpcN2uZAEXFLfH9OzjE1SlJDtBjAYiBmZ/pZ+eVTn4A 3mhdK3d9KKfHgHwH3pVeix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CmLhsUdnvM1i5mwRGfhM9qwfoDMw1kJaTjtNrj3w/ngT3HsNIyiuE2pz+oBjNY PaL6dKoZTh6bdjSC713DE62DpbUOfLHdPeWwNaXrjFa6UaJKhZdIRUOi3bzJdAg9coqx9XBfZMKr toFrnH6W0r+F7zobiGLT9EE4XI7wLzOWur8BI0QOHLt+ZVxoYO0dmwBqPklHEO06WeClLX371Kp8 72tF+ExAsGxnDVdeChf109tQgaA3jJAXOZNd7ivH0IlY13XQr0y/eY0GRfkCZv1GFzaRvjEt8UDe nffOYGxVis18iBjz0Lx+zU77NUL7ea1gTZ3FnvAsuYjK/jM8h13XjNuuChCC6kjf9I0yZ2nYZLUc /wNpDM8EhN730pUrabhuO0ALDls6kmqjwxo0VrKv1d5g6mbe6VCM+V14HN+WM4RSsbQyVOY+gfO+ KP7wdsQmAguUAY1MTFktlXFlWO0XiD5R+zrhOLWbGGRNjRXM0/UKhLMspAcQ+KSp14g9MvTEeeAs oEl5Umy+wuz5XQ7WBdKJOSf/6qwHHzave+JZbF67JsJlGs7wOqvxzaK7LF5QJH4ot7ylmmXrR33j HsBEC/AwKAQ/w2ZDdP9Qc5FR2t+fVgUBA2tC9Las7arskZIyhv7RCfMuawx/Og5kc1LVALgAUmmg BgdZLTYFQkVMCHcsoExI3G7DkXweQdHAMSEbSsSDjgwTbe6S/QyxyZ+aQ8DzWRzZrkUng1LF61vk feAdGkM0olnowoxodmeZvwZeXBJl6u/1H06mYKe//UH5N/rX639+4/y/63/YWFl/r//h5GZ9Xf/z /8Pv84/wP30Qr169evXq1atXr169evXq1atXr169evXq1atXr169evXq1atXr169evXq1atXr/6y /wOeCeEVAFAAAA== --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 12 May 2019 15:58:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 12 11:58:23 2019 Received: from localhost ([127.0.0.1]:43147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPqrn-0004xP-F1 for submit <at> debbugs.gnu.org; Sun, 12 May 2019 11:58:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hPqrl-0004xD-MX for 35495 <at> debbugs.gnu.org; Sun, 12 May 2019 11:58:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hPqre-0001qn-Om; Sun, 12 May 2019 11:58:16 -0400 Received: from [176.228.60.248] (port=3607 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hPqrb-0001QU-Df; Sun, 12 May 2019 11:58:13 -0400 Date: Sun, 12 May 2019 18:57:52 +0300 Message-Id: <83lfzbbr7j.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> In-reply-to: <jwvftpj66ys.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sun, 12 May 2019 11:23:26 -0400) Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> <83y33dcf9a.fsf@HIDDEN> <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> <83mujtcbq6.fsf@HIDDEN> <jwvwoiw6acj.fsf-monnier+emacs@HIDDEN> <8336lkcnhc.fsf@HIDDEN> <jwvftpj66ys.fsf-monnier+emacs@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: federicotedin@HIDDEN, 35495 <at> debbugs.gnu.org, ueno@HIDDEN > Date: Sun, 12 May 2019 11:23:26 -0400 > > IOW since we don't have any > `insert-file-contents-literally-but-please-do-the-coding-system-decoding`, > I don't think we want a `write-region-literally-but-not-quite`. The use cases are quite different, so analogies are not necessarily helpful in designing the new primitive. But okay, I guess when/if a suitable use case comes up, we can always change this later.
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 12 May 2019 15:23:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 12 11:23:37 2019 Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPqK8-000445-Su for submit <at> debbugs.gnu.org; Sun, 12 May 2019 11:23:37 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:22639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPqK6-00043t-S5 for 35495 <at> debbugs.gnu.org; Sun, 12 May 2019 11:23:35 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 532D844222D; Sun, 12 May 2019 11:23:29 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0F3AE44222A; Sun, 12 May 2019 11:23:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557674608; bh=qHyN1j3mSmPCvm5UAJUhkru8x2NyvWyuKg76tjmdPrY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FDSuPOoed+Hu207UmiGZMWxxsd3tf9oYxqCnuWiaHm9f+hhdCsvyckJxrDi+S7XKx ROBtI/98+q6mLQ84PbdErAS0HZVCOZs+5WueL2bdP/WIJgfuVoWJ6lG7F2jHqb7gIT mnM+OLs9/GjJ5bA53Y5f5rGbWmtYymkS7m0BY/pbP5QpFMHnNLgoiP8eOJb9HC3ems PNACGimb8SurODbV4CAOSG72WTgb+F/FatRdNJSdJfGsZaWl6OYrXAiyzoosgbetnH 0KeaOkNyYJsSVlxsyn1RJSZ4I2v+uoqt5PPGNX9J1D3QVOr7+rlJS3Qyp0yE6afAyn rIDG9VbOnt2wA== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id C40C7120D6D; Sun, 12 May 2019 11:23:27 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvftpj66ys.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> <83y33dcf9a.fsf@HIDDEN> <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> <83mujtcbq6.fsf@HIDDEN> <jwvwoiw6acj.fsf-monnier+emacs@HIDDEN> <8336lkcnhc.fsf@HIDDEN> Date: Sun, 12 May 2019 11:23:26 -0400 In-Reply-To: <8336lkcnhc.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 12 May 2019 07:20:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >> In the absence of a file-name-handler, it should just defer to write-reg= ion. > I'm confused: I thought we were talking about features implemented via > file-name handlers. jka-compr is, for example. Here's how I hope for it to work: write-region-literally checks file-name-handler, finds HANDLER and delegates to it, if HANDLER has a special handler for it (e.g. jka), then that handler will presumably end up calling write-region, but if it doesn't, then it rebinds inhibit-file-name-operation=E2=80=99 and =E2=80=98inhibit-file-name-handlers=E2=80=99 and calls write-region-literal= ly again which this time won't find this file-name-handler. > For the present use case, sure. But we are discussing a more general > solution, right? The question is, will all of them want to disable > those conversions? I'm suggesting to add write-region-literally and the "inverse" or insert-file-contents-literally. Just like it is the case for insert-file-contents(-literally), there are in theory middle points, but in practice those can be reached by manually performing the extra encoding/decoding that the `-literally` version doesn't do but that we'd need in this case. IOW since we don't have any `insert-file-contents-literally-but-please-do-the-coding-system-decoding`, I don't think we want a `write-region-literally-but-not-quite`. Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 12 May 2019 04:21:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 12 00:21:18 2019 Received: from localhost ([127.0.0.1]:41564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPfzA-0001R9-QC for submit <at> debbugs.gnu.org; Sun, 12 May 2019 00:21:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hPfz8-0001Qw-Ak for 35495 <at> debbugs.gnu.org; Sun, 12 May 2019 00:21:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hPfz2-0003F5-8K; Sun, 12 May 2019 00:21:08 -0400 Received: from [176.228.60.248] (port=3780 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hPfz1-00020L-JA; Sun, 12 May 2019 00:21:07 -0400 Date: Sun, 12 May 2019 07:20:47 +0300 Message-Id: <8336lkcnhc.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> In-reply-to: <jwvwoiw6acj.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sat, 11 May 2019 15:55:01 -0400) Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> <83y33dcf9a.fsf@HIDDEN> <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> <83mujtcbq6.fsf@HIDDEN> <jwvwoiw6acj.fsf-monnier+emacs@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: federicotedin@HIDDEN, 35495 <at> debbugs.gnu.org, ueno@HIDDEN > Date: Sat, 11 May 2019 15:55:01 -0400 > > >> So this FIXME suggests maybe we should introduce a new file operation > >> `write-region-literally`? > > Probably. But the question of what should that do (since you rejected > > tweaking inhibit-file-name-operation for that) still stands, I think. > > In the absence of a file-name-handler, it should just defer to write-region. I'm confused: I thought we were talking about features implemented via file-name handlers. jka-compr is, for example. Or are you saying write-region-literally shouldn't even try file-name handlers? That'd be different from what insert-file-contents-literally does. > > And I'm not sure we will always want to disable encoding and EOL > > conversion, so that should be an add-on for "truly" literal I/O. > > I am. For the present use case, sure. But we are discussing a more general solution, right? The question is, will all of them want to disable those conversions?
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 19:55:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 15:55:12 2019 Received: from localhost ([127.0.0.1]:41212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPY5Q-0003tY-JQ for submit <at> debbugs.gnu.org; Sat, 11 May 2019 15:55:12 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPY5N-0003tD-FY for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 15:55:10 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 051F44421F4; Sat, 11 May 2019 15:55:04 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1BCA94421F2; Sat, 11 May 2019 15:55:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557604503; bh=X/doHMBqqyeTfMIifWq+aO8IM7XoeAGbZH1MpTNAyzM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Y/rtHKkb0U8mY8Gwz6Jga7/xyEkaebbzlloXiRKRJNnr+b3NRVr8F2BX97jcmza+x wW7E/UF8koe7IOlz6HeponbvZ7JG3VRdT4tFYKzbTL4vT88veLV61YMyXkyJgaSngD 5ElIB4SaT4AufIp5lmiLrcEBcuxfIYC6VeUsTve9hwHOwq+80mQJhTBFLZ/NoLUKGU Wx8Hd9k6dzfos0KNBd7qkMdwfkgUlkLs8gBro0fMA1OE24gGVU0flCOt3LcRlujOUx eh4T8+kDJS6eAs8QWN/JbpEClIsZpBA5pq+gI7ZYbCBgA9lNvCZUKz9xHMljbesuVD dp3WSd5W8J3uQ== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id D80DF120892; Sat, 11 May 2019 15:55:02 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvwoiw6acj.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> <83y33dcf9a.fsf@HIDDEN> <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> <83mujtcbq6.fsf@HIDDEN> Date: Sat, 11 May 2019 15:55:01 -0400 In-Reply-To: <83mujtcbq6.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 11 May 2019 17:22:25 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >> So this FIXME suggests maybe we should introduce a new file operation >> `write-region-literally`? > Probably. But the question of what should that do (since you rejected > tweaking inhibit-file-name-operation for that) still stands, I think. In the absence of a file-name-handler, it should just defer to write-region. > And I'm not sure we will always want to disable encoding and EOL > conversion, so that should be an add-on for "truly" literal I/O. I am. I'd even say it should signal an error if the buffer isn't unibyte. Anything else would be asking for trouble. Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 16:24:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 12:24:48 2019 Received: from localhost ([127.0.0.1]:40882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPUno-0006y5-8M for submit <at> debbugs.gnu.org; Sat, 11 May 2019 12:24:48 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:40025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <federicotedin@HIDDEN>) id 1hPUnm-0006xq-Ck for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 12:24:46 -0400 Received: by mail-qt1-f182.google.com with SMTP id k24so5215830qtq.7 for <35495 <at> debbugs.gnu.org>; Sat, 11 May 2019 09:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eOpslDAG99fw4mqRDmqbmR0G4xO3FEG/5fepDh16sFs=; b=tUOzvEWm2gw8D33LLz1g3Zx2D4elVDNcA6C1KNg4PvpsL83hv2gAodGrib2OliKiHB lQHkBRammfPw8RI6K14ocQX6OdNDRnlr+QoRYfN1Drg0tZt5hqWdw/Xpjv3SdH0Qzo5L 7B7oLEhSl6DdA3IxiE9RWMZKLSEtlEwiNF2Vxt6aMd6u042HszG/i4Q3mWtgJjNNfeZB KtXXDmfBsew7ppopp38ilnqC2SrP28ZHKPewo1/5OOiJC7OydCO1aUAXO6PkwP+ygw02 5whjoJNRiEoH8ClP6ABcmpaaEnVb7hXDZwodkjEpA8KpzG6hUxSVGvGWrt6Y8phif5Ny PuBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=eOpslDAG99fw4mqRDmqbmR0G4xO3FEG/5fepDh16sFs=; b=oYu2AMOe/+6jmmQ6ygJRfu1oczx6PIOE+Kwmga7BXV63B1AJNrfQ9YH+9IIWKYWbWF jlH64cj2+rpphzlas8uPEJvK3GA1tXeGPYHS2MULdhQUxBwD7EXofITgr9e+2eHFEgAA 5N/7IWKr049elkMQaaXFRDcuTMCaB8mmexEFUz07BYqfKB1L3FmE56Ppw3uRx3XKUC/h rdZIL2bJlyxCrm4OEuOfwtJG0DXDxLIBXG5suj8wfTCUOXZijTIMIx4epSZeOaHONFlS b03JXHwe2uJhSSl5SnGuWtEAeHXPUojhXnV9jdwCuO2Egrpownw1rNjHZ56vmAEEXB/s Du4Q== X-Gm-Message-State: APjAAAWneQhoNSG+54OJ13MmXC6cR4IjPsOMI8RH4VC+iYXCmYNYMSn5 bQPAu73E97TIapLwGeF16PU= X-Google-Smtp-Source: APXvYqyu2JXQHiwF8RiEDDbyUbsKHoIkvkXD+0othqjna99rWLJdMQD7RrwdZqn6JQvSoqSz+Wl9aQ== X-Received: by 2002:ac8:23d0:: with SMTP id r16mr4812367qtr.247.1557591880797; Sat, 11 May 2019 09:24:40 -0700 (PDT) Received: from hideo ([181.170.211.157]) by smtp.gmail.com with ESMTPSA id t58sm5014546qtj.4.2019.05.11.09.24.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 May 2019 09:24:39 -0700 (PDT) From: Federico Tedin <federicotedin@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <87tve196pi.fsf@HIDDEN> <jwv4l61akte.fsf-monnier+emacs@HIDDEN> <87mujt9368.fsf@HIDDEN> <jwvy33d92z7.fsf-monnier+emacs@HIDDEN> <87d0kp91fn.fsf@HIDDEN> <jwvmujt88c7.fsf-monnier+emacs@HIDDEN> Date: Sat, 11 May 2019 13:24:36 -0300 In-Reply-To: <jwvmujt88c7.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Sat, 11 May 2019 08:54:47 -0400") Message-ID: <878svd7yd7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: > All files use dynamically scoped variables. `lexical-binding` only > determines the scoping to use for those vars that aren't declared as > dynamically scoped. The fact that tar-mode.el hasn't (yet) been > converted to use lexical-binding has no effect on the above example > (because I presume there that write-region-provides-raw-file-contents > would be a variable declared somewhere in files.el as being dynamically > scoped, like file-name-handler-alist). Ok, didn't know this. I have some reading to do regarding the specifics of `lexical-binding` and how it affects (or not) defvar, defcustom, etc. > I know. Maybe we can extend it to allow the source to be a buffer? > >> Looking at the source in fileio.c, it also seems like it uses >> `find-file-name-handler` for `FILE` or `NEWNAME`, so it's possible it >> won't be useful for us. > > Not sure why you think that could make it not useful. > >> If we added a new argument to `write-region` like you mentioned, say >> `RAW`, could we then use symbol properties to decide whether the found >> file name handler can be used or not? > > No, no: we do want the file-name-handler to be called. > We just want it to receive enough info to determine how it will do its > job (e.g. whether it needs to compress/encrypt the data or not). Both my points were made assuming that we didn't want the file-name-handlers to be called; but now that you mention that we do want them to be called, they no longer apply.
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 14:22:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 10:22:38 2019 Received: from localhost ([127.0.0.1]:40776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPSta-0001uL-BC for submit <at> debbugs.gnu.org; Sat, 11 May 2019 10:22:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hPStY-0001u8-C0 for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 10:22:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hPStS-0004nZ-SD; Sat, 11 May 2019 10:22:30 -0400 Received: from [176.228.60.248] (port=3336 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hPStR-0003jf-OV; Sat, 11 May 2019 10:22:30 -0400 Date: Sat, 11 May 2019 17:22:25 +0300 Message-Id: <83mujtcbq6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> In-reply-to: <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sat, 11 May 2019 10:10:37 -0400) Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> <83y33dcf9a.fsf@HIDDEN> <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: federicotedin@HIDDEN, 35495 <at> debbugs.gnu.org, ueno@HIDDEN > Date: Sat, 11 May 2019 10:10:37 -0400 > > Hmm... I think you're referring to the question of what this new > "write-region-provides-raw-file-contents" should precisely mean, so that > maintainers of file-name-handlers can decide how to implement it. Yes. > Here's one attempt: "the data provided to write-region reflects the actual > bytes that should be placed into the file rather than the data returned > by `insert-file-contents`". Well, we'll need to make this more accurate, to exclude encoding, EOL conversion, and the likes, but okay. (And "raw" sounds like a wrong word for this.) > ;; FIXME: Yuck!! We should turn insert-file-contents-literally > ;; into a file operation instead! > (append '(jka-compr-handler image-file-handler epa-file-handler) > (and (eq inhibit-file-name-operation 'insert-file-contents) > inhibit-file-name-handlers))) > (inhibit-file-name-operation 'insert-file-contents)) > (insert-file-contents filename visit beg end replace))) > > So this FIXME suggests maybe we should introduce a new file operation > `write-region-literally`? Probably. But the question of what should that do (since you rejected tweaking inhibit-file-name-operation for that) still stands, I think. And I'm not sure we will always want to disable encoding and EOL conversion, so that should be an add-on for "truly" literal I/O.
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 14:10:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 10:10:47 2019 Received: from localhost ([127.0.0.1]:40752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPSi6-0007y2-PD for submit <at> debbugs.gnu.org; Sat, 11 May 2019 10:10:47 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:59133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPSi5-0007xp-BC for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 10:10:45 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CD6A98107A; Sat, 11 May 2019 10:10:39 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 74903809F2; Sat, 11 May 2019 10:10:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557583838; bh=AmC6JqsRrNqWyFsca5O+gqgNAE80Cdwb0+vZlObktLc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KsG/yIB6xr1oT6cNps9UmTmqD3Rk8vf/yckSHc7rVidMoOBBOR45xtfAF+D/MWyFB JjRuyDBwRIblbD53XwM2ayOyHtlXSiUDTPXssuxNlpmzCjGy6uMGGORSiNY6JV/SmL Fz8hwpeho46TNu7395oV2htZbtwH5wv8bvsncy+ojOYcNUUyX+bCOdw4lmjgrge9P3 pMqqkKZOjj4gPY5jkYfmtMbK0uXFIrC8YB4MEWg0o9ov677a54VyLjoKAW+nVRTe6y m7GYWAcVjw25o+y2G2lOKh4D1q7s3irNHs7CZdDc70vHnmcYeVxdSXRwYN7sUHIlg5 IT6gl9/GhIbaQ== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id 0C25C12001E; Sat, 11 May 2019 10:10:38 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwv8svd6qh6.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> <83y33dcf9a.fsf@HIDDEN> Date: Sat, 11 May 2019 10:10:37 -0400 In-Reply-To: <83y33dcf9a.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 11 May 2019 16:06:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >> > It isn't clear to me how you distinguish between the file-name >> > handlers that should and shouldn't be disabled here. >> Each file-name handler will make that decision on its own. > Will each handler also write code to implement that decision? Well, the handler will execute code rather than write it, but yes, someone will have to change jka and epa to implement this new behavior of write-region. > If so, we can stop being bothered by that issue. But if someone of us > will have to implement that decision, the question still stands, > doesn't it? Hmm... I think you're referring to the question of what this new "write-region-provides-raw-file-contents" should precisely mean, so that maintainers of file-name-handlers can decide how to implement it. Here's one attempt: "the data provided to write-region reflects the actual bytes that should be placed into the file rather than the data returned by `insert-file-contents`". Maybe another way to define it would be: "the data provided to write-region reflects the data one would like to get from `insert-file-contents-literally` rather than that returned by `insert-file-contents`" And that made me discover that we have another occurrence of the same problem in `insert-file-contents-literally`: (defun insert-file-contents-literally (filename &optional visit beg end replace) "Like `insert-file-contents', but only reads in the file literally. See `insert-file-contents' for an explanation of the parameters. A buffer may be modified in several ways after reading into the buffer, due to Emacs features such as format decoding, character code conversion, `find-file-hook', automatic uncompression, etc. This function ensures that none of these modifications will take place." (let ((format-alist nil) (after-insert-file-functions nil) (coding-system-for-read 'no-conversion) (coding-system-for-write 'no-conversion) (inhibit-file-name-handlers ;; FIXME: Yuck!! We should turn insert-file-contents-literally ;; into a file operation instead! (append '(jka-compr-handler image-file-handler epa-file-handler) (and (eq inhibit-file-name-operation 'insert-file-contents) inhibit-file-name-handlers))) (inhibit-file-name-operation 'insert-file-contents)) (insert-file-contents filename visit beg end replace))) So this FIXME suggests maybe we should introduce a new file operation `write-region-literally`? Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 13:06:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 09:06:30 2019 Received: from localhost ([127.0.0.1]:40053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPRht-0006Hr-PE for submit <at> debbugs.gnu.org; Sat, 11 May 2019 09:06:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hPRhs-0006Hf-7k for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 09:06:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hPRhm-0001ca-CZ; Sat, 11 May 2019 09:06:23 -0400 Received: from [176.228.60.248] (port=2518 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hPRhe-00006v-IR; Sat, 11 May 2019 09:06:18 -0400 Date: Sat, 11 May 2019 16:06:09 +0300 Message-Id: <83y33dcf9a.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> In-reply-to: <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sat, 11 May 2019 08:55:55 -0400) Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: federicotedin@HIDDEN, 35495 <at> debbugs.gnu.org, ueno@HIDDEN > Date: Sat, 11 May 2019 08:55:55 -0400 > > > It isn't clear to me how you distinguish between the file-name > > handlers that should and shouldn't be disabled here. > > Each file-name handler will make that decision on its own. Will each handler also write code to implement that decision? If so, we can stop being bothered by that issue. But if someone of us will have to implement that decision, the question still stands, doesn't it?
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 12:56:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 08:56:05 2019 Received: from localhost ([127.0.0.1]:40045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPRXp-00060k-9f for submit <at> debbugs.gnu.org; Sat, 11 May 2019 08:56:05 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPRXn-00060K-97 for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 08:56:03 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id F1A314421D4; Sat, 11 May 2019 08:55:57 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0B1844421D1; Sat, 11 May 2019 08:55:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557579357; bh=+BvK79WykkqXisnHSGdfsydu1MUx4My/u/SoJy6VSSU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aEmuo8svEaZ8gqV6VZ7xEpCTUEEXzw3sc02O7vaGU1EwjG8MPZ2wy7jPQSfebLib+ m9cHYCNnoQZBA+79H6VpC2MV/c/vCsoEEF9bteZiRWldcc7Q0KmmJUGakz5/7oCCvx Qf++OTZ+6GpjjxYq9tWu6U44eRPk05ZF2YFH8txMkKvgy6lcgK8Y4KR2Y5RLpcB05S YY6m6kqt4hRIP1jbZ7pMYNa+He8g1p1bGZpUTSEaeRk1boteQD1YsaIiUbETwA6iAg gPOkI7LtzqNvt2R0e8JTLn5bvKiHbX3hO75OlQBRq0Y8yW4PSA4AbfcRO+oTIonFwW 4SSQP+QUIAvDA== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id A34AE120AC4; Sat, 11 May 2019 08:55:56 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvh8a1881y.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <83imuhebb4.fsf@HIDDEN> Date: Sat, 11 May 2019 08:55:55 -0400 In-Reply-To: <83imuhebb4.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 11 May 2019 09:48:31 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > It isn't clear to me how you distinguish between the file-name > handlers that should and shouldn't be disabled here. Each file-name handler will make that decision on its own. Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 12:55:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 08:55:03 2019 Received: from localhost ([127.0.0.1]:40039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPRWo-0005zB-OU for submit <at> debbugs.gnu.org; Sat, 11 May 2019 08:55:03 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPRWm-0005yj-HQ for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 08:55:01 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C63C28107A; Sat, 11 May 2019 08:54:54 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6FD6E80BB5; Sat, 11 May 2019 08:54:49 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557579289; bh=4FdHOOSsVj0UynGyshEdU7VcVjdbmDRFeCc+pAJwn8c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=GXZhvsMUc9CI3leUQFw+1DxdXiorxFsQis4Y7u1xE11PF2DhnavmsRtG2SWKyQ1u0 GmUHGqo9eX5Umnzl3KVi+vnAkORig+C6hYDcVid1byV0b4xvJBEdQGZfGJ353yJoXi hL6vQFVNoMkgx6FzWLJMLYBSi07Q2k/l3RY7f52DrdQ9dC+jZCRzm9MsITn49chQlh S9ExLc1PLb6P11k1rhPfE31wOWx5BEcc9RbU6409wM0ZbaweLDAHnTreNJVpsuQShJ 4Ly3axD/kFTYEK4dFAKN/mOAUXbPujOIaLgl/g43jleqs6Z3qitQPqxYDqRaCJHwnF pLY9C7xxSc1mQ== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id 33896120B02; Sat, 11 May 2019 08:54:49 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Federico Tedin <federicotedin@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvmujt88c7.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <87tve196pi.fsf@HIDDEN> <jwv4l61akte.fsf-monnier+emacs@HIDDEN> <87mujt9368.fsf@HIDDEN> <jwvy33d92z7.fsf-monnier+emacs@HIDDEN> <87d0kp91fn.fsf@HIDDEN> Date: Sat, 11 May 2019 08:54:47 -0400 In-Reply-To: <87d0kp91fn.fsf@HIDDEN> (Federico Tedin's message of "Fri, 10 May 2019 23:20:44 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >> Instead, you should state the property you want, and then let each >> file-name-handler decide how to handle that property. E.g.: >> >> (let ((write-region-provides-raw-file-contents t)) >> (write-region ...)) >> >> Of course, the problem here is that by using dynamic scoping, this var >> will affect all write-regions that will take place during this call, >> which might lead to more problems. > > I see, I hadn't realized that tar-mode still used dynamic scoping (I > imagine converting it to lexical is a lot of work). All files use dynamically scoped variables. `lexical-binding` only determines the scoping to use for those vars that aren't declared as dynamically scoped. The fact that tar-mode.el hasn't (yet) been converted to use lexical-binding has no effect on the above example (because I presume there that write-region-provides-raw-file-contents would be a variable declared somewhere in files.el as being dynamically scoped, like file-name-handler-alist). >> Maybe it would be better to have it as an argument to `write-region`, or >> to introduce a new function? >> >> Or maybe, not use `write-region` but `copy-file` instead (which already >> provides the expected semantics (i.e. it doesn't (un)compress or >> (en/de)crypt, IIUC). > > It looks like `copy-file` only deals with files and not buffers, so we > would need to find a way to use it from tar-mode. I know. Maybe we can extend it to allow the source to be a buffer? > Looking at the source in fileio.c, it also seems like it uses > `find-file-name-handler` for `FILE` or `NEWNAME`, so it's possible it > won't be useful for us. Not sure why you think that could make it not useful. > If we added a new argument to `write-region` like you mentioned, say > `RAW`, could we then use symbol properties to decide whether the found > file name handler can be used or not? No, no: we do want the file-name-handler to be called. We just want it to receive enough info to determine how it will do its job (e.g. whether it needs to compress/encrypt the data or not). Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 06:48:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 02:48:44 2019 Received: from localhost ([127.0.0.1]:39747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPLoK-0003GO-5A for submit <at> debbugs.gnu.org; Sat, 11 May 2019 02:48:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hPLoJ-0003GB-0B for 35495 <at> debbugs.gnu.org; Sat, 11 May 2019 02:48:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hPLoD-0006Gc-HH; Sat, 11 May 2019 02:48:37 -0400 Received: from [176.228.60.248] (port=2034 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hPLoD-0000ka-0r; Sat, 11 May 2019 02:48:37 -0400 Date: Sat, 11 May 2019 09:48:31 +0300 Message-Id: <83imuhebb4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> In-reply-to: <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Thu, 09 May 2019 20:24:02 -0400) Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, ueno@HIDDEN, federicotedin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Date: Thu, 09 May 2019 20:24:02 -0400 > Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> > > I think there should be a way to tell `write-region` that the content > should be written as-is into the file (and hence override jka-compr and > epa but not tramp). It isn't clear to me how you distinguish between the file-name handlers that should and shouldn't be disabled here. I assume you are aware that Tramp doesn't necessarily send the file's contents verbatim over the wire? One way of teaching find-file-name-handler to distinguish between various handlers is to have some properties on the handlers' symbols. Then we could bind some variable to the list of properties to filter out "unwanted" handlers. But we should come up with a useful list of properties first, and for that we need a clear distinction I ask about above.
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 02:20:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 10 22:20:55 2019 Received: from localhost ([127.0.0.1]:39550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPHd9-0004C3-IB for submit <at> debbugs.gnu.org; Fri, 10 May 2019 22:20:55 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:41651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <federicotedin@HIDDEN>) id 1hPHd8-0004Br-9o for 35495 <at> debbugs.gnu.org; Fri, 10 May 2019 22:20:54 -0400 Received: by mail-qk1-f170.google.com with SMTP id g190so2771254qkf.8 for <35495 <at> debbugs.gnu.org>; Fri, 10 May 2019 19:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=3udSzVPUcFtyssG6ADQP+mFKgqOxgHQxAuhlKz0YzRY=; b=svaWbUmzfOUm4MI2if7OHoNkhxac9/Dy9HTrmN5uuOr1jhoIuJPLL3WUORzBiH2DZn s/XnA4PSRk8neR6rPLnWSyqEGxHuCAHF1ZVcKTt0QwEcX4cCbUTXpVBGFct8oRIuVS3L gyzfcOABwGWuviGRdyXeigM6wOi3BQaC8jHMTjRyNwT1mmnYhybFQdOWI3qXwCGLCoB1 Ntsq4j+ZoMPi0BvHvDB6a6rRKLUkBa8mDwJkG9LThcOHURoznu8eKK/+DKAaFeymikOR OvpzYjBam9tza2PxxQmJYrGLgaoMvjeS5XjbzLsCd9lpZ0Zi2sNWd1kJTKfQ/osWmO7V jRrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=3udSzVPUcFtyssG6ADQP+mFKgqOxgHQxAuhlKz0YzRY=; b=MpsXM4rYtgz6yvib6vlzBHEEjizqhnoYbHaaNsoqJvWvwgP+GGs5vgoIu9QT8o484i H816R4QSbmOJ6Pr6SaBR9pAKuA8HburiTnNdjn4m4VoKjRDe9R3xfGTRoKsUmoFgty9e ++x5Id6JLauqiDyrCmkO4QrCeFYnOPQQRD7FrJ2ksuho9IvG0+3EHOjMbKRUpxCBG3gl JIIkvy/TliuJklDVi90KFAvCoiE5tCk1RqS7XaKwdgpCxMrvo+qFrYMI2aB/CYZO0LZQ cmvlXY+i5QA+cohl5lFimx/KhEmTAMSbKwqyuxQCBDBGWnbcxpl0ay7d//QqUkqSmiPl qb1A== X-Gm-Message-State: APjAAAVA97eHQKS9PUUB0B7ww51JJ8wUnqYocMba/CBMntXho8qBmdlv tr7f5Tf2dRaTGod1ufwnBkM= X-Google-Smtp-Source: APXvYqzEdnKz1pcVbaY74CNkVslI9hEjZaVJ0SHLazFLcweWuHc43iNHguFHRY9Jc5z760IsASbn9w== X-Received: by 2002:a37:a5d3:: with SMTP id o202mr12264852qke.301.1557541247743; Fri, 10 May 2019 19:20:47 -0700 (PDT) Received: from hideo ([181.170.211.157]) by smtp.gmail.com with ESMTPSA id k127sm3666111qkb.96.2019.05.10.19.20.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 19:20:46 -0700 (PDT) From: Federico Tedin <federicotedin@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <87tve196pi.fsf@HIDDEN> <jwv4l61akte.fsf-monnier+emacs@HIDDEN> <87mujt9368.fsf@HIDDEN> <jwvy33d92z7.fsf-monnier+emacs@HIDDEN> Date: Fri, 10 May 2019 23:20:44 -0300 In-Reply-To: <jwvy33d92z7.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Fri, 10 May 2019 21:54:03 -0400") Message-ID: <87d0kp91fn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: >> I realize that in this case I'm hard-coding the specific >> file name handlers that *can* be used. > > Exactly, it's no better. > >> I'm not sure how to express "only use these file handlers" without >> explicitly mentioning them. > > Instead, you should state the property you want, and then let each > file-name-handler decide how to handle that property. E.g.: > > (let ((write-region-provides-raw-file-contents t)) > (write-region ...)) > > Of course, the problem here is that by using dynamic scoping, this var > will affect all write-regions that will take place during this call, > which might lead to more problems. I see, I hadn't realized that tar-mode still used dynamic scoping (I imagine converting it to lexical is a lot of work). > Maybe it would be better to have it as an argument to `write-region`, or > to introduce a new function? > > Or maybe, not use `write-region` but `copy-file` instead (which already > provides the expected semantics (i.e. it doesn't (un)compress or > (en/de)crypt, IIUC). It looks like `copy-file` only deals with files and not buffers, so we would need to find a way to use it from tar-mode. Looking at the source in fileio.c, it also seems like it uses `find-file-name-handler` for `FILE` or `NEWNAME`, so it's possible it won't be useful for us. If we added a new argument to `write-region` like you mentioned, say `RAW`, could we then use symbol properties to decide whether the found file name handler can be used or not? Like so: (put 'jka-compr-handler 'provides-raw-file-contents nil) (put 'epa-file-handler 'provides-raw-file-contents nil) (put 'tramp-file-name-handler 'provides-raw-file-contents t) (put 'tramp-completion-file-name-handler 'provides-raw-file-contents t) (put 'file-name-non-special 'provides-raw-file-contents t) The downside being that anyone adding a new file name handler must remember to set the property to t if needed.
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 01:54:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 10 21:54:14 2019 Received: from localhost ([127.0.0.1]:39526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPHDJ-0003QT-Qg for submit <at> debbugs.gnu.org; Fri, 10 May 2019 21:54:14 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPHDI-0003QE-2e for 35495 <at> debbugs.gnu.org; Fri, 10 May 2019 21:54:12 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 4884581159; Fri, 10 May 2019 21:54:06 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F28CC80BCF; Fri, 10 May 2019 21:54:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557539645; bh=/LLlLT3/txKv2/bN/mrF0nrOqgkxNZynkuwQiaHfRCI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=de3WpzqkicnsQY/0r8sDZEqlUPe7zKOvqpq4Fh3z8uUINBcFNkOMbNVhwIiJVMEBP dUD8ju0xrqlEGwTf+5/SpdLCk8k+bOGLIP/+d6i69s7poADAF3BtKb8Yojg4CS3+0Z EItclZPBvW38p919EkHTFTANFc5r5riKc6ZFbUd7IPhTC5L+8fbGq+c1EKlZ1iUO8y w8jdL+ofFi19ooq9rQgp2SGy6bZQAbHOkb6LbnMzgt5rzsc1zptOvLC6usvf3zWScQ ah8S8pm1J5MvfFFPPJSwJy4ncB5RDF2rFUP7e6pHCYMIkqk/GeVdyt/QEXVmhwpfc/ xxFj6NmIKpmeA== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id B2E8F120D79; Fri, 10 May 2019 21:54:04 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Federico Tedin <federicotedin@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvy33d92z7.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <87tve196pi.fsf@HIDDEN> <jwv4l61akte.fsf-monnier+emacs@HIDDEN> <87mujt9368.fsf@HIDDEN> Date: Fri, 10 May 2019 21:54:03 -0400 In-Reply-To: <87mujt9368.fsf@HIDDEN> (Federico Tedin's message of "Fri, 10 May 2019 22:43:11 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > I realize that in this case I'm hard-coding the specific > file name handlers that *can* be used. Exactly, it's no better. > I'm not sure how to express "only use these file handlers" without > explicitly mentioning them. Instead, you should state the property you want, and then let each file-name-handler decide how to handle that property. E.g.: (let ((write-region-provides-raw-file-contents t)) (write-region ...)) Of course, the problem here is that by using dynamic scoping, this var will affect all write-regions that will take place during this call, which might lead to more problems. Maybe it would be better to have it as an argument to `write-region`, or to introduce a new function? Or maybe, not use `write-region` but `copy-file` instead (which already provides the expected semantics (i.e. it doesn't (un)compress or (en/de)crypt, IIUC). Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 01:43:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 10 21:43:21 2019 Received: from localhost ([127.0.0.1]:39516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPH2n-00037Q-Mj for submit <at> debbugs.gnu.org; Fri, 10 May 2019 21:43:21 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:39657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <federicotedin@HIDDEN>) id 1hPH2m-00037F-7Y for 35495 <at> debbugs.gnu.org; Fri, 10 May 2019 21:43:20 -0400 Received: by mail-qt1-f176.google.com with SMTP id y42so8803768qtk.6 for <35495 <at> debbugs.gnu.org>; Fri, 10 May 2019 18:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Awmw5Io/wi3gtQUAA3iMAivDbmkuvK69usaV3Pjb/9w=; b=PxSDL7/sAkYHM3XmGqOFAA7u/kwQE0LxYFxvVttTwkpqo8BCUIk5f+PN6eWjw8T0w7 mOJG28CaoHNr5CWtMzZCyPBloemDW9lvJ0veB+VYemPSBnqpYYMvyLbXe2fNWh4XSNER +saGlYoa8/akaUD0KI6qGctqE4P0LEGjwiqqr331To3CF4UAZSg2EFihE5ZtD3nsT6jg zutT3izm736wpwvRJownEodGXsmZuMMBbF7QizcY0+gdwKW+ZrwEt2DuSHzu5gm4oaSy 53GZ4IY8EeBfOgspHwnhCOA0dM+xiTGAHk4hj0ItMqLEbfIf2r41V0WHErRzteajc16b cXKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Awmw5Io/wi3gtQUAA3iMAivDbmkuvK69usaV3Pjb/9w=; b=BJAbPekPw14r133l8F55OY+gT1jwL/3OwfwNU9F89qmGr8UynGqhkSY5mwpIIdvem0 9jX3Nkr3TcbwfSTGfFZsbOicinfl8u+qt4n0uz9YQMHFZfraIS8XM7nLwpVyJIBpZSde zaClB+OgkNgdhlJ4YGUHfUydFNwJNf+TxG9FAn/eXOUClzMoDAosJTup68h6TStKPj1T semrRb31QuQyWFXPHdyAfW6SydVvGXco8rBmzgBjQu/xMrq/iA8EJrsdAIUrJJhtXfcu hNfR06CjzRSb3rgOVk+bR2H2B60fYCeFnyUsh/N15QtT4pfilE6S+uE85bTgzb8todb7 qEwQ== X-Gm-Message-State: APjAAAXABU+jLhCRVbY7iZUYQ5oNr1I7gzZa+hEZiWZnYPvlr07+JiNT +DtM94hOv2vA+SlKhUU7iVU= X-Google-Smtp-Source: APXvYqzGarPxuDaCmmX8pfeh1A5M1O0i0CsJYB7EC8xcuupocyVsxcEdfKm5aX29nQD7/xEIDmk/gA== X-Received: by 2002:ac8:7544:: with SMTP id b4mr12778039qtr.134.1557538994590; Fri, 10 May 2019 18:43:14 -0700 (PDT) Received: from hideo ([181.170.211.157]) by smtp.gmail.com with ESMTPSA id p27sm4032646qte.25.2019.05.10.18.43.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 18:43:13 -0700 (PDT) From: Federico Tedin <federicotedin@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <87tve196pi.fsf@HIDDEN> <jwv4l61akte.fsf-monnier+emacs@HIDDEN> Date: Fri, 10 May 2019 22:43:11 -0300 In-Reply-To: <jwv4l61akte.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Fri, 10 May 2019 20:37:46 -0400") Message-ID: <87mujt9368.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: >> (let ((inhibit-file-name-handlers '(jka-compr-handler epa-file-handler)) > > I don't like hard-coding a specific set of file-name-handler names. Ok, I see. How about: (defmacro with-literal-file-name-handlers (&rest body) `(let* ((allowed-file-name-handlers '(tramp-completion-file-name-handler tramp-file-name-handler file-name-non-special)) (file-name-handler-alist (seq-filter (lambda (c) (memq (cdr c) allowed-file-name-handlers)) file-name-handler-alist))) ,@body)) I realize that in this case I'm hard-coding the specific file name handlers that *can* be used. I'm not sure how to express "only use these file handlers" without explicitly mentioning them. I'm also not sure if we only care for `tramp-file-name-handler`, or for the three I listed above.
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 00:37:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 10 20:37:57 2019 Received: from localhost ([127.0.0.1]:39482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPG1V-0001El-JI for submit <at> debbugs.gnu.org; Fri, 10 May 2019 20:37:57 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:36196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hPG1T-0001EX-2y for 35495 <at> debbugs.gnu.org; Fri, 10 May 2019 20:37:56 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 025784421A0; Fri, 10 May 2019 20:37:49 -0400 (EDT) Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D245744217C; Fri, 10 May 2019 20:37:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1557535067; bh=q8sMi9cmSvW8qWmakr10cOs9JJrv5RUZ49l1DUdabwM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=juXowWNtSGnKm8SDfmThhE8dW2iMGljO/zhewovTMeJqJQ5KtK/rDc04qzYre5YYi 0wajZmuEFLqbXL1fQ0eJpoMYhVJjRmpeCcESijdqbUhaiRvt0e5xl0t6quJeOOcckr ESXKG4xZrHjD1rH8Fb2LaidqWHzgLaUt1OBzKEJxO/euDr8bYSs1OcevYh9O6ImCN6 yFFKPTR+99lk/lb9OcWujG0LMafA1h2tLfT3tMEaBrqe8aa+T361s3Qj3XuuquMSwS tW/lyzzfD6DG/3F4GUE5qPuFhWTa3akjjji0hLaT9tgVLmjhX2hqOv1xqjQtjBOM5Q kSR8aHdjU0hng== Received: from pastel (69-196-155-191.dsl.teksavvy.com [69.196.155.191]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id A15C0120900; Fri, 10 May 2019 20:37:47 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Federico Tedin <federicotedin@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwv4l61akte.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> <87tve196pi.fsf@HIDDEN> Date: Fri, 10 May 2019 20:37:46 -0400 In-Reply-To: <87tve196pi.fsf@HIDDEN> (Federico Tedin's message of "Fri, 10 May 2019 21:26:49 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > (let ((inhibit-file-name-handlers '(jka-compr-handler epa-file-handler)) I don't like hard-coding a specific set of file-name-handler names. Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 11 May 2019 00:27:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 10 20:27:01 2019 Received: from localhost ([127.0.0.1]:39472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hPFqv-0000xu-Ho for submit <at> debbugs.gnu.org; Fri, 10 May 2019 20:27:01 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:38527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <federicotedin@HIDDEN>) id 1hPFqt-0000xh-UX for 35495 <at> debbugs.gnu.org; Fri, 10 May 2019 20:27:00 -0400 Received: by mail-qt1-f170.google.com with SMTP id d13so1561243qth.5 for <35495 <at> debbugs.gnu.org>; Fri, 10 May 2019 17:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qOGEv8poJ84ZQ8jfdA21fUDFX6G1+SjqI4D9Ys3L5uI=; b=oHh23CEwTCY3v8Ic4HfRC1goKMedyQoKNB7lp7TXRomhunh70eeI7d3+h5yALS43TN o95AP4105visu2n2RhL3gUgnrx6z8SHlj11kVk37iu7CxkVtEcmJL6h2WbpKvTN9Mj44 VUCfMuF7shdD3uv8SzqfUt2lkgIE3nvzmPXXgBaI93baB9XiBFwCdhN+C9JXFespHiJe 04Ns5cspQmjzCG39CvdK5BMHo801JP0WcvfSLw9lQnaqQXTKOw2Gh3TNGpImmkL+8aZy wA9mTwjSD6vK7GgEs/0HXUXNODrrG/Pc8SgFheZALJfiEccKDDGD8lSrLfOHSceFunP8 Yntg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qOGEv8poJ84ZQ8jfdA21fUDFX6G1+SjqI4D9Ys3L5uI=; b=tteTI8TyN4LdioFsL50pGauAhbZjyYAHS8E1xuqMjHjUwVjshyZXUxcIR5/VI+HeVG kq9mSCDPlBNWZRLnCpWMZRjZPjz14UVtMYAYnkYvlWOWoi0IbafDmlcwOiyvUZgmw7Oc 6T6b+OG+WFBc8aRVZMMn6bpOxQDmAw2AO+mmqkO4/XBltZi1Mfbf5YyJ5KBoafvuCkGg CkdHwoPQ7iKsX2s8er8bqTJJXgZ9EV3lCcc4NlmtecKTctWkYe2jQH/pSxG414bsAJ0u a4VdyjgTs7vdhy6ujISTQaozjAktNzb1TVkt8FGRV1ft+roGRIvUOvLjs9AtADuZ0GhY ALGA== X-Gm-Message-State: APjAAAXCcudRGauiWWAzWm1WuYZkhh7ydv53x7KCmsxdE8Zj0mxM1cVB cUzNEdt2PVsXXKaUJ6ibvxQ= X-Google-Smtp-Source: APXvYqylkyTcyHhF8x/c9HmNh2pJdVsGSQFwvJ6mgVUm4hGnGyOD2EYt8Jbrzhm3sRzvpFJfGFun+w== X-Received: by 2002:aed:2314:: with SMTP id h20mr12736848qtc.24.1557534414300; Fri, 10 May 2019 17:26:54 -0700 (PDT) Received: from hideo ([181.170.211.157]) by smtp.gmail.com with ESMTPSA id s7sm3848099qkg.70.2019.05.10.17.26.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 17:26:52 -0700 (PDT) From: Federico Tedin <federicotedin@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> Date: Fri, 10 May 2019 21:26:49 -0300 In-Reply-To: <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Thu, 09 May 2019 20:24:02 -0400") Message-ID: <87tve196pi.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > I think there should be a way to tell `write-region` that the content > should be written as-is into the file (and hence override jka-compr and > epa but not tramp). I don't think there is such a thing yet, tho, so > we'll have to invent it. Could this be achieved by doing: (let ((inhibit-file-name-handlers '(jka-compr-handler epa-file-handler)) (inhibit-file-name-operation 'write-region)) ...) or is there a reason why a specific mechanism for this is needed?
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 10 May 2019 00:24:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 20:24:08 2019 Received: from localhost ([127.0.0.1]:36725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hOtKa-000671-BC for submit <at> debbugs.gnu.org; Thu, 09 May 2019 20:24:08 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:43238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hOtKX-00066s-LK for 35495 <at> debbugs.gnu.org; Thu, 09 May 2019 20:24:07 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x4A0O3u6027193; Thu, 9 May 2019 20:24:03 -0400 Received: by ceviche.home (Postfix, from userid 20848) id B790266259; Thu, 9 May 2019 20:24:02 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Federico Tedin <federicotedin@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvh8a3b1wh.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> <871s179qsl.fsf@HIDDEN> Date: Thu, 09 May 2019 20:24:02 -0400 In-Reply-To: <871s179qsl.fsf@HIDDEN> (Federico Tedin's message of "Thu, 09 May 2019 20:00:42 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6543=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6543> : inlines <7074> : streams <1821069> : uri <2842518> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > It looks like `jka-compr-write-region` does not do any compression if > `file`'s extension does not match any of the extensions defined in > `jka-compr-compression-info-list`. Writing to a file ending in ".gpg" > just uses `epa-file-handler`, then. Yes, of course, but the question is what it does when the tar's content has a name that ends in `.gz` or something like that. I now see that it has a hack in write-region which looks at the contents to detect if it's already compressed. [ I guess this can lead to problem in odd cases such as when you manipulate a file of type "foo.mypkg" where mypkg is defined as a format that is always gz-compressed: if you save it as "foo.mypkg.gz" jka-compr won't re-compress it, but then when you open it, it will uncompress it before trying to handle it as a ".mypkg" at which point the mypkg tool might signal an error because it expected the ".mypkg" to be compressed. If this will ever happen is anyone's guess, but it look sufficiently contrived that I'm not too worried. ] > I found that `tar-copy` has the same problem that `tar-untar-buffer` > has. However, `tar-copy` has a small check where if the source file is > compressed and the destination file should be compressed, the jka-compr > file handler is disabled, as no conversion needs to be done. Maybe > something similar could be done for .gpg files. If the file inside the > tarfile is already encrypted and it is being extracted to > <somewhere>.gpg, then the regular `write-region` should be used > (i.e. just copy bytes from one place to another). I think there should be a way to tell `write-region` that the content should be written as-is into the file (and hence override jka-compr and epa but not tramp). I don't think there is such a thing yet, tho, so we'll have to invent it. Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 9 May 2019 23:00:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 19:00:54 2019 Received: from localhost ([127.0.0.1]:36669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hOs22-000478-Dl for submit <at> debbugs.gnu.org; Thu, 09 May 2019 19:00:54 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:39205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <federicotedin@HIDDEN>) id 1hOs21-00046v-2Z for 35495 <at> debbugs.gnu.org; Thu, 09 May 2019 19:00:53 -0400 Received: by mail-qt1-f170.google.com with SMTP id y42so4527838qtk.6 for <35495 <at> debbugs.gnu.org>; Thu, 09 May 2019 16:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1N6HnbsA2pdwWda35lOnjKZ1DWJmEE8GWTjTz43lwmg=; b=Q+w0Ig+gipVBWIg0kbzZVrApa+pkL9hm1VV12CWu1W2Og1PP+9MaZeQnm79TbMJK5q jQtyLEZ0yhiDEBXZ68VwmIlKRfXctDCgL0g89a7/G8vBRHKVrE7lDgyI6eL7d/d48tc3 rD3VHI/fW/5IFiL4VJmereYxedE3TrTgPryiLJpvJqGKS6T7GS9W/7v2K2ZzRVK9EeR1 TrpdX3N8L4dzc/UCezZgrfJ73uXaOUKhh/CMhLqf/csqDA8HGKbIBTruncg4FubudCwo limqOosw5GIV8rP+dx5bobL8pcGicfu7XnTowaFH9z6tAlabFi8zDa/nY1GNLe7fG6nf 9DvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1N6HnbsA2pdwWda35lOnjKZ1DWJmEE8GWTjTz43lwmg=; b=E3qIoX3W1bNK7cB4Zwgavz/mqCysw/9yX8OYDbiDaJITFe0qP5ykRYzVnasyyJfjiF 8aZtX/hZJqPwNVdhYgdDZzivriPGxmB8n1SepevbE5utR6EBm3SDLFph68t2zDnqu/3L YsPhAchmw/lYYdruu/wam27cgz7jhX/uEYDk0gUkGjU7wcRJSx7wZ0/Z4GsODhzxU1Wv 6b5CbpLgDLxUy6VHUd5SQC5AlyFv1+KbgaRlOoeCNe1SKnlaSGdkj191XlsKNtDqnzSy 26YRGSPVfgjWSbV984JYgz/Qr4sBFb5gATOOcmTIiovV8blFwYnCicVL71eyx4O2t6gJ +Zsg== X-Gm-Message-State: APjAAAUBg022JhA5Icz1gfMzTJ+3KWPutiH5GweJIwK1KH5z4KBp/vom uSZrPvk3dkd0ZfyyKkjs/ao= X-Google-Smtp-Source: APXvYqz6XzEv4/l9x4wQHAtLPxMe64M0yN+4UCC+axOEg2QkGfwCIEND9ihOSbZfOppyzm7UN2r21g== X-Received: by 2002:a0c:ea43:: with SMTP id u3mr6077721qvp.28.1557442846338; Thu, 09 May 2019 16:00:46 -0700 (PDT) Received: from hideo ([181.170.211.157]) by smtp.gmail.com with ESMTPSA id y189sm1761681qke.34.2019.05.09.16.00.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 May 2019 16:00:45 -0700 (PDT) From: Federico Tedin <federicotedin@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> Date: Thu, 09 May 2019 20:00:42 -0300 In-Reply-To: <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Wed, 08 May 2019 20:53:18 -0400") Message-ID: <871s179qsl.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: >> Would it be OK to just remove the `epa-file-handler` from >> `file-name-handler-alist` while extracting? > > I don't like this idea. How does jka-compr do it? > > > Stefan (My attempt at understanding what's causing the issue) It looks like `jka-compr-write-region` does not do any compression if `file`'s extension does not match any of the extensions defined in `jka-compr-compression-info-list`. Writing to a file ending in ".gpg" just uses `epa-file-handler`, then. I found that `tar-copy` has the same problem that `tar-untar-buffer` has. However, `tar-copy` has a small check where if the source file is compressed and the destination file should be compressed, the jka-compr file handler is disabled, as no conversion needs to be done. Maybe something similar could be done for .gpg files. If the file inside the tarfile is already encrypted and it is being extracted to <somewhere>.gpg, then the regular `write-region` should be used (i.e. just copy bytes from one place to another).
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 9 May 2019 00:53:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 20:53:28 2019 Received: from localhost ([127.0.0.1]:34347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hOXJQ-0007YL-Dp for submit <at> debbugs.gnu.org; Wed, 08 May 2019 20:53:28 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:34820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hOXJO-0007YC-LJ for 35495 <at> debbugs.gnu.org; Wed, 08 May 2019 20:53:27 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x490rOOS022303; Wed, 8 May 2019 20:53:24 -0400 Received: by pastel.home (Postfix, from userid 20848) id 788DF6AD8D; Wed, 8 May 2019 20:53:18 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Federico Tedin <federicotedin@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Message-ID: <jwvv9yktpo3.fsf-monnier+emacs@HIDDEN> References: <jwvtveg4m1a.fsf@HIDDEN> <87imuk4m7u.fsf@HIDDEN> Date: Wed, 08 May 2019 20:53:18 -0400 In-Reply-To: <87imuk4m7u.fsf@HIDDEN> (Federico Tedin's message of "Wed, 08 May 2019 19:26:13 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6542=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6542> : inlines <7074> : streams <1820976> : uri <2842149> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Would it be OK to just remove the `epa-file-handler` from > `file-name-handler-alist` while extracting? I don't like this idea. How does jka-compr do it? Stefan
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at 35495) by debbugs.gnu.org; 8 May 2019 22:26:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 18:26:27 2019 Received: from localhost ([127.0.0.1]:34223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hOV18-00027z-A0 for submit <at> debbugs.gnu.org; Wed, 08 May 2019 18:26:27 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:40281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <federicotedin@HIDDEN>) id 1hOV15-00027h-Vh for 35495 <at> debbugs.gnu.org; Wed, 08 May 2019 18:26:24 -0400 Received: by mail-qt1-f193.google.com with SMTP id k24so328827qtq.7 for <35495 <at> debbugs.gnu.org>; Wed, 08 May 2019 15:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Gz/HxiJET2OXD8Ek9m1Q5zAVykDRFQTMqdW0qirMtaY=; b=TgKHcbX2GI967JoyYMsikHVN+IOJsE0xYb4lbMNmadmRicIpud+zbU/Ubrc7j2v8fR cRajatyL5KfZRGH+tcB0iphyaCNZ7BfnwUO5AiOSymbfZLBnrw9w+UdELKoeSbetQLk2 QLbYGVppuX9IQtatRpz87tS9phjQUQlhd0armAxt3Fc7HVi5pZtEBsDb0rPsunzY0unx 3w7okyZNrAcscmeYITS7Tlw1/k7rMXU6EMnlgESE/JZ6oBS3+rZw/GCjt5JWfH0Oyib+ Un66bbOYu06EohuMdues0kodtZeE2ljVj+bYHtmP5qztm4wZMCDH+G4YguWcqVvUjOOS 9afA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Gz/HxiJET2OXD8Ek9m1Q5zAVykDRFQTMqdW0qirMtaY=; b=bDN4y/o8EPzg0HjcTDgIPivZdajfi/1sOQ0ixbn+obhIPDkMIAKPkvwOJU12/cvaZ4 DItcR6EQ3v7cvB1Lzf5QYOZ9vr0h+uPpfidae6U01SRJ2/FSs2BuwgYflKNkoQD0JM/P AKhrOb7dR/agjnlkAuz/1O81BhZ17xX0mXFyPzSJFzPpvWmH993y9vXm9JzqpyPmfBry DUPSzXo0qmvoULn6cAS1FN9nQpds7V3KcYq9Hckq3P56saaM1BdBH7/wa0cw2KGzJfLn GwyxB1hkZgNpijvmMwUd97+z/0ph5UzmdnznhTyjQaMkpFfN/HL90dtFXRMAwCI6x1S6 O4nQ== X-Gm-Message-State: APjAAAW9ZCXyhR0MsVTWv3Sp4Cc2lhrZkrfmv7VBf15f2lkOHIHif6SV 8TKM9WlDfJF1/3LWeC3Xmtw= X-Google-Smtp-Source: APXvYqykg7hoEca72F2at4bUpS/SPZn7tTzHo3C6iUOE8QONMhJk7vR+5U91JkUkwesLDRnSYMqRTQ== X-Received: by 2002:aed:23ca:: with SMTP id k10mr501917qtc.224.1557354377913; Wed, 08 May 2019 15:26:17 -0700 (PDT) Received: from hideo ([181.170.211.157]) by smtp.gmail.com with ESMTPSA id 3sm120383qtm.37.2019.05.08.15.26.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 May 2019 15:26:17 -0700 (PDT) From: Federico Tedin <federicotedin@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside References: <jwvtveg4m1a.fsf@HIDDEN> Date: Wed, 08 May 2019 19:26:13 -0300 In-Reply-To: <jwvtveg4m1a.fsf@HIDDEN> (Stefan Monnier's message of "Mon, 29 Apr 2019 16:02:57 -0400") Message-ID: <87imuk4m7u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35495 Cc: 35495 <at> debbugs.gnu.org, Daiki Ueno <ueno@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: > Package: Emacs > Version: 27.0.50 > > > When untarring a file whose contents include a GPG keyring named with > a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the > keyring because the `write-region` call for this file gets handed to > `epa-file-write-region`. > > > Stefan > > > > In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2019-04-18 built on pastel > Repository revision: 058df7a477bfd9798fc96332dd9a7adcd4a7c2b0 > Repository branch: work > Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 > System Description: Debian GNU/Linux 9 (stretch) > > Recent messages: > user-error: No cross-reference here > Warning: hide-sublevels is obsolete! > Mark saved where search started [3 times] > Making completion list... > Warning: hide-sublevels is obsolete! > Mark saved where search started > Mark set > Mark saved where search started > <nil> <down-mouse-3> is undefined > <nil> <mouse-3> is undefined I've tried wrapping the call to `write-region` with `(let (file-name-handler-alist) ...)` in tar-mode.el:548 and it fixes the problem. On the other hand, it breaks TRAMP support. Would it be OK to just remove the `epa-file-handler` from `file-name-handler-alist` while extracting?
bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Apr 2019 20:03:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 29 16:03:08 2019 Received: from localhost ([127.0.0.1]:39818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hLCUW-0006dT-7R for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 16:03:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1hLCUT-0006cW-Sz for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 16:03:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:55818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1hLCUO-0002Cp-Pc for submit <at> debbugs.gnu.org; Mon, 29 Apr 2019 16:03:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1hLCUN-0003q1-QH for bug-gnu-emacs@HIDDEN; Mon, 29 Apr 2019 16:03:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1hLCUM-0002Bm-Uj for bug-gnu-emacs@HIDDEN; Mon, 29 Apr 2019 16:02:59 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:50259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1hLCUM-0002Ap-Pl for bug-gnu-emacs@HIDDEN; Mon, 29 Apr 2019 16:02:58 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x3TK2vvC030027 for <bug-gnu-emacs@HIDDEN>; Mon, 29 Apr 2019 16:02:57 -0400 Received: by pastel.home (Postfix, from userid 20848) id 2B3F26AD2C; Mon, 29 Apr 2019 16:02:57 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 27.0.50; Untarring an archive with a keyring.gpg inside X-Debbugs-Cc: Daiki Ueno <ueno@HIDDEN> Date: Mon, 29 Apr 2019 16:02:57 -0400 Message-ID: <jwvtveg4m1a.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.9 X-NAI-Spam-Rules: 5 Rules triggered BEC_TRC1=0.4, BEC_TRC1_W_GEN_SPAM_FEATRE=0.4, GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6535=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6535> : inlines <7062> : streams <1820097> : uri <2838602> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Package: Emacs Version: 27.0.50 When untarring a file whose contents include a GPG keyring named with a `.gpg` extension, `tar-untar-buffer` ends up trying to encrypt the keyring because the `write-region` call for this file gets handed to `epa-file-write-region`. Stefan In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2019-04-18 built on pastel Repository revision: 058df7a477bfd9798fc96332dd9a7adcd4a7c2b0 Repository branch: work Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9 (stretch) Recent messages: user-error: No cross-reference here Warning: hide-sublevels is obsolete! Mark saved where search started [3 times] Making completion list... Warning: hide-sublevels is obsolete! Mark saved where search started Mark set Mark saved where search started <nil> <down-mouse-3> is undefined <nil> <mouse-3> is undefined
Stefan Monnier <monnier@HIDDEN>
:ueno@HIDDEN, bug-gnu-emacs@HIDDEN
.
Full text available.ueno@HIDDEN, bug-gnu-emacs@HIDDEN
:bug#35495
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.