* Auto tag based on buffer contents?
@ 2012-04-23 15:23 Richard Riley
2012-04-23 17:41 ` Darlan Cavalcante Moreira
0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2012-04-23 15:23 UTC (permalink / raw)
To: emacs-orgmode
Is there any facility to "auto tag" a capture based on the contents of
the buffer the capture was started in?
To be honest I only need something that would tag a capture with, for
example "hostgator", if the gnus message I am capturing from included
their email address.
thanks,
r.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Auto tag based on buffer contents?
2012-04-23 15:23 Auto tag based on buffer contents? Richard Riley
@ 2012-04-23 17:41 ` Darlan Cavalcante Moreira
2012-04-24 11:31 ` Richard Riley
0 siblings, 1 reply; 3+ messages in thread
From: Darlan Cavalcante Moreira @ 2012-04-23 17:41 UTC (permalink / raw)
To: emacs-orgmode
I don't think there exist an autotag feature, but you can use template
expansions [1] to put the sender's name as a tag in the headline. For
instance, you could use the template expansions "%:from", "%:fromname"
or "%:fromaddress". But I don't know how this will play if you also use
the template expansion that prompt for tags.
[1] http://orgmode.org/manual/Template-expansion.html#Template-expansion
--
Darlan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Auto tag based on buffer contents?
2012-04-23 17:41 ` Darlan Cavalcante Moreira
@ 2012-04-24 11:31 ` Richard Riley
0 siblings, 0 replies; 3+ messages in thread
From: Richard Riley @ 2012-04-24 11:31 UTC (permalink / raw)
To: emacs-orgmode
Darlan Cavalcante Moreira <darcamo@gmail.com> writes:
> I don't think there exist an autotag feature, but you can use template
> expansions [1] to put the sender's name as a tag in the headline. For
> instance, you could use the template expansions "%:from", "%:fromname"
> or "%:fromaddress". But I don't know how this will play if you also use
> the template expansion that prompt for tags.
>
> [1] http://orgmode.org/manual/Template-expansion.html#Template-expansion
>
> --
> Darlan
>
thanks for the info. I'll look into it.
Any other suggestions or enhancement pointers?
I think auto-tag would be immensely useful. Possibly from regexp list
with corresponding tags.
regards
r.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-24 11:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-23 15:23 Auto tag based on buffer contents? Richard Riley
2012-04-23 17:41 ` Darlan Cavalcante Moreira
2012-04-24 11:31 ` Richard Riley
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).