[Orgmode] Re: alter all subtrees containing specific tag

2009-03-09 Thread news
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)

[Orgmode] Re: alter all subtrees containing specific tag

2009-03-08 Thread news
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

[Orgmode] Re: alter all subtrees containing specific tag

2009-03-08 Thread news
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

[Orgmode] Re: alter all subtrees containing specific tag

2009-03-08 Thread news
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

[Orgmode] Re: alter all subtrees containing specific tag

2009-03-08 Thread news
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