From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Date: Sat, 11 May 2019 09:48:31 +0300 Message-ID: <83imuhebb4.fsf@gnu.org> References: <87imuk4m7u.fsf@gmail.com> <871s179qsl.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214728"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35495@debbugs.gnu.org, ueno@unixuser.org, federicotedin@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 11 08:49:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPLom-000thL-1D for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 08:49:12 +0200 Original-Received: from localhost ([127.0.0.1]:55164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPLok-0004ok-Pm for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 02:49:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPLod-0004oc-7l for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 02:49:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPLoc-0006Zm-Aj for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 02:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPLoc-0006Zh-7H for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 02:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPLoc-0003H5-1q for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 02:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2019 06:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35495 X-GNU-PR-Package: emacs Original-Received: via spool by 35495-submit@debbugs.gnu.org id=B35495.155755732412552 (code B ref 35495); Sat, 11 May 2019 06:49:02 +0000 Original-Received: (at 35495) by debbugs.gnu.org; 11 May 2019 06:48:44 +0000 Original-Received: from localhost ([127.0.0.1]:39747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPLoK-0003GO-5A for submit@debbugs.gnu.org; Sat, 11 May 2019 02:48:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPLoJ-0003GB-0B for 35495@debbugs.gnu.org; Sat, 11 May 2019 02:48:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPLoD-0006Gc-HH; Sat, 11 May 2019 02:48:37 -0400 Original-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 ) id 1hPLoD-0000ka-0r; Sat, 11 May 2019 02:48:37 -0400 In-reply-to: (message from Stefan Monnier on Thu, 09 May 2019 20:24:02 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159069 Archived-At: > From: Stefan Monnier > Date: Thu, 09 May 2019 20:24:02 -0400 > Cc: 35495@debbugs.gnu.org, Daiki Ueno > > 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.