Re: [O] Set tags in region

2014-05-20 Thread Bastien
As I don't see it mentioned in this thread: (setq org-loop-over-headlines-in-active-region t) will do wonders for several commands. If someone has a good idea where to put this in the manual, I'm all ears! -- Bastien

Re: [O] Set tags in region

2014-05-10 Thread Alexander Baier
Hello John, On 2014-05-10 04:53 John Hendy wrote: > Just curious of there's a way to set the tags in a region all at once? > I see there's a way to do it via agenda, but I was curious if there > was also a way to do it on a group of headlines from the buffer > itself. In various google strategies,

Re: [O] Set tags in region

2014-05-10 Thread Alexander Baier
On 2014-05-10 16:14 John Hendy wrote: > On May 9, 2014 11:21 PM, "Nick Dokos" wrote: >> >> John Hendy writes: >> >> > Hello, >> > >> > >> > Just curious of there's a way to set the tags in a region all at once? >> >> (org-map-entries (function org-set-tags) nil 'region) >> >> or >> >> (org-map-en

Re: [O] Set tags in region

2014-05-10 Thread John Hendy
On May 9, 2014 11:21 PM, "Nick Dokos" wrote: > > John Hendy writes: > > > Hello, > > > > > > Just curious of there's a way to set the tags in a region all at once? > > (org-map-entries (function org-set-tags) nil 'region) > > or > > (org-map-entries (lambda () (org-set-tags-to '(foo))) nil 'regio

Re: [O] Set tags in region

2014-05-10 Thread Alexander Baier
Hello John, On 2014-05-10 04:53 John Hendy wrote: > Just curious of there's a way to set the tags in a region all at once? You could also takle this with keyboard macros, see (info "(Emacs) Keyboard Macros"). [Evaluate that expression in emacs to see the relevant manual entry.] Define a macro th

Re: [O] Set tags in region

2014-05-09 Thread Nick Dokos
John Hendy writes: > Hello, > > > Just curious of there's a way to set the tags in a region all at once? (org-map-entries (function org-set-tags) nil 'region) or (org-map-entries (lambda () (org-set-tags-to '(foo))) nil 'region) or some variation thereof. > I see there's a way to do it via a

[O] Set tags in region

2014-05-09 Thread John Hendy
Hello, Just curious of there's a way to set the tags in a region all at once? I see there's a way to do it via agenda, but I was curious if there was also a way to do it on a group of headlines from the buffer itself. In various google strategies, it looked like the answer was no. This is just a