GNU bug report logs - #79356
31.0.50; 'C-x p r' fails when there are .gpg files EPA can't decrypt

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Sun, 31 Aug 2025 16:26:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Full log


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 79356 <at> debbugs.gnu.org
Subject: bug#79356: 31.0.50; 'C-x p r' fails when there are .gpg files EPA can't decrypt
Date: Mon, 01 Sep 2025 09:44:58 +0100
Hello,

On Mon 01 Sep 2025 at 12:00am -04, Stefan Monnier wrote:

> The (equal (caddr err) "Can't decrypt") is rather hideous and brittle,
> especially given that `fileloop` is a generic operation that shouldn't
> know about EPA.

Yes.

> How 'bout we just prompt for all `file-error`s?  After all, the same
> kind of reasoning applies to invalid .gz files, or files for which we
> don't have read access, ...

I realised after trying out my patch a bit that the prompting is a bit
annoying.  It's common to interrupt and then restart 'C-x p r'
operations but that means you get prompted over and over again for the
same files.

How about converting `file-error's into warnings?

-- 
Sean Whitton




This bug report was last modified 4 days ago.

Previous Next


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