emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* alter all subtrees containing specific tag
@ 2009-03-08  4:31 news
  2009-03-08 13:29 ` Carsten Dominik
  2009-03-08 13:42 ` Ian Barton
  0 siblings, 2 replies; 8+ messages in thread
From: news @ 2009-03-08  4:31 UTC (permalink / raw)
  To: emacs-orgmode

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 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?

-- 
aleblanc

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-09 12:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08  4:31 alter all subtrees containing specific tag news
2009-03-08 13:29 ` Carsten Dominik
2009-03-08 18:00   ` news
2009-03-09  0:56   ` news
2009-03-09  2:32   ` news
2009-03-09 12:28     ` news
2009-03-08 13:42 ` Ian Barton
2009-03-08 18:01   ` news

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).