emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] disable "org-decrypt: auto-save-mode may cause leakage"


From: Sebastien Vauban
Subject: Re: [O] disable "org-decrypt: auto-save-mode may cause leakage"
Date: Thu, 14 Jul 2011 16:42:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Pieter,

Pieter Praet wrote:
> On Thu, 14 Jul 2011 15:37:34 +0200, "Sebastien Vauban" <address@hidden> wrote:
>> Juan Pechiar wrote:
>> > On Thu, Jul 14, 2011 at 02:22:32PM +0200, Karl Voit wrote:
>> >> How can I auto-answer the question from the subject line with «n»
>> >> (per default) any time it is asked?
>> >
>> > You can customize this behaviour via
>> >
>> >     org-crypt-disable-auto-save
>> >
>> > You probably have it set to 'ask'.
>> 
>> So did I. This is the default.
>> 
>> > Options exist for always enabling/disabling auto save, and for encrypting
>> > the auto-saved version automatically.
>> >
>> > M-x customize-variable RET org-crypt-disable-auto-save RET
>> 
>> Shouldn't its default value better be set to 'encrypt?
>
> I don't think so.
>
> It only re-encrypts entries which are tagged :crypt: (or whatever you
> have `org-crypt-tag-matcher' set to), so I'd prefer users to be "forced"
> to at least read the docstring so as not to be using it with a false
> sense of security.
>
> Though this could be easily solved by automatically tagging entries upon
> encryption, I think it's more "considerate" to simply (ask to) disable
> `auto-save-mode' for the current buffer, as it's quite annoying to have
> an entry get re-encrypted while you're in the middle of typing something.

This is more clear to me, and makes a lot of sense.

Though, what I find annoying, and the OP as well, is to be asked that question
for buffers which do not contain any encrypted entry. Would it be possible to
scan the buffer for such entries, and only ask the user when the buffer is
potentially exposed?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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