[Top][All Lists]

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

Re: [O] Set tags in region

From: Nick Dokos
Subject: Re: [O] Set tags in region
Date: Sat, 10 May 2014 00:20:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

John Hendy <address@hidden> 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)


(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 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 random file (making a camping packing/shopping list),
> so to do it via the way that seemed apparent was:
> C-c a
>> to restrict to the file
> s to conduct a "fake search" that would just give all the headlines in
> the buffer
> highlight region
> : to set tags
> It would have just been easier to C-space on a region and set them in
> groups right from the buffer. I sort of expected something like C-u
> C-c C-c to set region tags? Thinking about it, I suppose since these
> happened to be tagged with :export:, I could have done an M-x
> replace-string and appended my additional tag.
> Thanks!
> John


reply via email to

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