From: Federico Tedin <federicotedin@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 35495@debbugs.gnu.org, Daiki Ueno <ueno@unixuser.org>
Subject: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside
Date: Wed, 08 May 2019 19:26:13 -0300 [thread overview]
Message-ID: <87imuk4m7u.fsf@gmail.com> (raw)
In-Reply-To: <jwvtveg4m1a.fsf@iro.umontreal.ca> (Stefan Monnier's message of "Mon, 29 Apr 2019 16:02:57 -0400")
Stefan Monnier <monnier@IRO.UMontreal.CA> 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?
next prev parent reply other threads:[~2019-05-08 22:26 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 20:02 bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside Stefan Monnier
2019-05-08 22:26 ` Federico Tedin [this message]
2019-05-09 0:53 ` Stefan Monnier
2019-05-09 23:00 ` Federico Tedin
2019-05-10 0:24 ` Stefan Monnier
2019-05-11 0:26 ` Federico Tedin
2019-05-11 0:37 ` Stefan Monnier
2019-05-11 1:43 ` Federico Tedin
2019-05-11 1:54 ` Stefan Monnier
2019-05-11 2:20 ` Federico Tedin
2019-05-11 12:54 ` Stefan Monnier
2019-05-11 16:24 ` Federico Tedin
2019-05-11 6:48 ` Eli Zaretskii
2019-05-11 12:55 ` Stefan Monnier
2019-05-11 13:06 ` Eli Zaretskii
2019-05-11 14:10 ` Stefan Monnier
2019-05-11 14:22 ` Eli Zaretskii
2019-05-11 19:55 ` Stefan Monnier
2019-05-12 4:20 ` Eli Zaretskii
2019-05-12 15:23 ` Stefan Monnier
2019-05-12 15:57 ` Eli Zaretskii
2022-04-22 13:13 ` Lars Ingebrigtsen
2022-04-22 13:40 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-22 14:18 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imuk4m7u.fsf@gmail.com \
--to=federicotedin@gmail.com \
--cc=35495@debbugs.gnu.org \
--cc=monnier@IRO.UMontreal.CA \
--cc=ueno@unixuser.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).