writes:
>
> Just discovered a bug in my previously posted function. It doesn't work
> too well if you have lower level subtrees tagged for encryption.
I also forgot to mention that you need to have pgg pre-loaded.
This will ensure that:
(defun my-func-org-toggle-encryption (rcpts passphrase)
Carsten Dominik writes:
>
>> Is there a quick way to get the start and end points of a subtree,
>> or
>> place region around it? and a quick way to jump to the next heading
>> with a given tag?
>
> (org-mark-subtree) ;; this will include the headline
>
> (re-search-forward "^\\*+ .*?:ENCRYP
Carsten Dominik writes:
>> Is there a quick way to get the start and end points of a subtree,
>> or
>> place region around it? and a quick way to jump to the next heading
>> with a given tag?
>
> (org-mark-subtree) ;; this will include the headline
>
> (re-search-forward "^\\*+ .*?:ENCRYPT
Ian Barton writes:
>>I use pgg to encrypt some org subtrees (e.g. the ones containing
>>passwords). At the moment I have to encrypt/decrypt them one at a
>>time by selecting the appropriate region and running
>>pgg-encrypt-region/pgg-decrypt-region.I want to make a
>> function
Carsten Dominik writes:
>> Hi,
>> I use pgg to encrypt some org subtrees (e.g. the ones containing
>> passwords). At the moment I have to encrypt/decrypt them one at a
>> time by selecting the appropriate region and running
>> pgg-encrypt-region/pgg-decrypt-region.
>> I want to make a f