From: John Hendy <jw.hendy@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Set tags in region
Date: Sat, 10 May 2014 09:14:49 -0500 [thread overview]
Message-ID: <CA+M2ft9u83ALaY14Sy_BtkKEA_a7AOohiOnMG8O_qvBZGXNZyQ@mail.gmail.com> (raw)
In-Reply-To: <87ha4yl0xm.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
On May 9, 2014 11:21 PM, "Nick Dokos" <ndokos@gmail.com> wrote:
>
> John Hendy <jw.hendy@gmail.com> 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 did see that function, but it didn't DUI what I expected with M-x. Would
u need to run it as above or could I use M-x with it somehow?
A above I take it I'd put that in the buffer and then eval-region?
John
> > 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
>
>
[-- Attachment #2: Type: text/html, Size: 2155 bytes --]
next prev parent reply other threads:[~2014-05-10 14:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-10 2:53 Set tags in region John Hendy
2014-05-10 4:20 ` Nick Dokos
2014-05-10 14:14 ` John Hendy [this message]
2014-05-10 16:55 ` Alexander Baier
2014-05-10 9:08 ` Alexander Baier
2014-05-21 2:29 ` Bastien
2014-05-10 11:00 ` Alexander Baier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+M2ft9u83ALaY14Sy_BtkKEA_a7AOohiOnMG8O_qvBZGXNZyQ@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).