* Confusion about TODO tags
@ 2010-03-23 21:29 Chao Lu
2010-03-24 0:12 ` Matt Lundin
0 siblings, 1 reply; 2+ messages in thread
From: Chao Lu @ 2010-03-23 21:29 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 461 bytes --]
Dear all,
Why we need the tag-todo, what's the difference between the tag-todo and if
I define a tag named with TODO?
And is it possible when I change the state of one task to done, it will be
archived automatically?
Besides, how could I modify the behavior of the archive function, since I
found the item
-----------------
*** blabla after archive, will be changed to
* blabla
properties
-----------------
which I do not like so much.
Thanks a lot,
Chao
[-- Attachment #1.2: Type: text/html, Size: 525 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Confusion about TODO tags
2010-03-23 21:29 Confusion about TODO tags Chao Lu
@ 2010-03-24 0:12 ` Matt Lundin
0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2010-03-24 0:12 UTC (permalink / raw)
To: Chao Lu; +Cc: emacs-orgmode
Chao Lu <loochao@gmail.com> writes:
> Why we need the tag-todo, what's the difference between the tag-todo
> and if I define a tag named with TODO?
I could not find a "tag-todo" anywhere in the manual. Are you referring
to the "tags-todo" search discussed in the documentation for
org-agenda-custom-commands? If so, this search returns all active TODOs
that match a given tag.
> And is it possible when I change the state of one task to done, it will
> be archived automatically?
(add-hook 'org-after-todo-state-change-hook
(lambda ()
(when (string-match org-looking-at-done-regexp state)
(org-archive-subtree-default))))
> Besides, how could I modify the behavior of the archive function, since
> I found the item
> -----------------
> *** blabla after archive, will be changed to
>
> * blabla
> properties
> -----------------
> which I do not like so much.
I assume you mean:
,----
| * blabla
| :PROPERTIES:
| :ARCHIVE_TIME: 2010-03-23 Tue 20:10
| :ARCHIVE_CATEGORY: blaaahhh
| :END:
`----
If you want to avoid the context properties, use the following setting:
(setq org-archive-save-context-info nil)
Best,
Matt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-24 0:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23 21:29 Confusion about TODO tags Chao Lu
2010-03-24 0:12 ` Matt Lundin
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).