From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Set tags in region Date: Sat, 10 May 2014 00:20:21 -0400 Message-ID: <87ha4yl0xm.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiymD-0004Sn-1Q for emacs-orgmode@gnu.org; Sat, 10 May 2014 00:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wiym5-0005CN-IG for emacs-orgmode@gnu.org; Sat, 10 May 2014 00:20:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:48411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wiym5-0005CJ-44 for emacs-orgmode@gnu.org; Sat, 10 May 2014 00:20:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wiym2-0003fF-9l for emacs-orgmode@gnu.org; Sat, 10 May 2014 06:20:34 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 May 2014 06:20:34 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 May 2014 06:20:34 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 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 > > -- Nick