bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18811: 25.0.50; Saving or visitting files with ".gpg" extension


From: Dani Moncayo
Subject: bug#18811: 25.0.50; Saving or visitting files with ".gpg" extension
Date: Mon, 3 Nov 2014 08:23:04 +0100

Hi Stefan,

>>   emacs -Q
>>   C-x C-w f . g p g RET
>
>> The file is not saved.  Generated Messages:
>>   Saving file c:/mingw/bin/f.gpg...
>>   Opening output file: Searching for program, no such file or directory, gpg
>
> What behavior did you expect?

See below.

>> Recipe 2:
>>   echo hello > f.gpg
>>   emacs -Q
>>   C-x C-f f . g p g RET
>
>> The file is not visited.  Generated Message:
>>   epa-file--find-file-not-found-function: Opening input file:
>> Searching for program, no such file or directory, gpg
>
> Same here: what behavior did you expect?
>
> Do you expect auto-encryption-mode to be disabled when gpg is not in
> exec-path?

I didn't know about that mode, but yes, I don't think it is reasonable
to have that mode enabled when it will certainly fail (preventing the
user from visiting/saving a file/buffer).

Also, I'd say that, whenever the encryption/decryption fails (for any
reason), it should never prevent the user from visiting/saving a file.
Instead, in that case the operation should proceed as if no
encryption/decryption was requested, showing a warning in the echo
area.

-- 
Dani Moncayo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]