emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: alter all subtrees containing specific tag


From: news
Subject: [Orgmode] Re: alter all subtrees containing specific tag
Date: Sun, 08 Mar 2009 18:01:50 +0000

Ian Barton <address@hidden> 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 that will automatically encrypt/decrypt all
>>    subtrees (in the current buffer) whose headings contain an :ENCRYPT: tag.
>>    I tried using org-map-entries, but it seems to restore the buffer to
>>    its original state after returning.
>>    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?
>>
> Not really an answer, but I use epa and encrypt the whole file, which
> I find much fiddly. You can get epa to play nicely with org mode by
> putting something like:
>
> -*- mode:org; epa-file-encrypt-to: ("address@hidden") -*-
>
> at the top of your encrypted file.
>
I can encrypt the whole buffer with pgg-encrypt, but I want to be able
to just encrypt a selection of subtrees.

-- 
aleblanc





reply via email to

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