GNU bug report logs - #35495
27.0.50; Untarring an archive with a keyring.gpg inside

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Mon, 29 Apr 2019 20:04:03 UTC

Severity: normal

Found in version 27.0.50

Full log


Message #56 received at 35495 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35495 <at> debbugs.gnu.org, ueno <at> unixuser.org, federicotedin <at> gmail.com
Subject: Re: bug#35495: 27.0.50; Untarring an archive with a keyring.gpg inside
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.

> 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





This bug report was last modified 3 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.