all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tags question
@ 2011-12-24  4:58 Pavel Panchekha
  2011-12-24 13:47 ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Panchekha @ 2011-12-24  4:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

I like seeing an organized breakdown of tasks I need to get done.  I don't
use deadlines, so the agenda view isn't useful to me, but what would be
nice is just all of my tasks grouped by tags.  So, for each tag, all tasks
with that  tag.  I'd been doing this manually by setting up a heirarchy and
using the outlining tools, but I'm afraid using tags instead of heirarchy
is becoming useful to me.  Is there any agenda view or other feature that
does this, and if not, how might I go about coding it myself?

- Pavel Panchekha

[-- Attachment #2: Type: text/html, Size: 579 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tags question
  2011-12-24  4:58 Tags question Pavel Panchekha
@ 2011-12-24 13:47 ` Bernt Hansen
  2011-12-24 16:20   ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2011-12-24 13:47 UTC (permalink / raw)
  To: Pavel Panchekha; +Cc: emacs-orgmode

Pavel Panchekha <me@pavpanchekha.com> writes:

> I like seeing an organized breakdown of tasks I need to get done.  I
> don't use deadlines, so the agenda view isn't useful to me, but what
> would be nice is just all of my tasks grouped by tags.  So, for each
> tag, all tasks with that  tag.  I'd been doing this manually by
> setting up a heirarchy and using the outlining tools, but I'm afraid
> using tags instead of heirarchy is becoming useful to me.  Is there
> any agenda view or other feature that does this, and if not, how
> might I go about coding it myself?
>
> - Pavel Panchekha

The agenda view is much more than a calendar-only view.

Try the todo list agenda view with a tag filter to show only tasks for a
specific tag

C-c a t / TAB tag RET

HTH,
Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tags question
  2011-12-24 13:47 ` Bernt Hansen
@ 2011-12-24 16:20   ` Nick Dokos
  2011-12-24 16:22     ` Pavel Panchekha
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2011-12-24 16:20 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Pavel Panchekha, nicholas.dokos, emacs-orgmode

Bernt Hansen <bernt@norang.ca> wrote:

> Pavel Panchekha <me@pavpanchekha.com> writes:
> 
> > I like seeing an organized breakdown of tasks I need to get done.  I
> > don't use deadlines, so the agenda view isn't useful to me, but what
> > would be nice is just all of my tasks grouped by tags.  So, for each
> > tag, all tasks with that  tag.  I'd been doing this manually by
> > setting up a heirarchy and using the outlining tools, but I'm afraid
> > using tags instead of heirarchy is becoming useful to me.  Is there
> > any agenda view or other feature that does this, and if not, how
> > might I go about coding it myself?
> >
> > - Pavel Panchekha
> 
> The agenda view is much more than a calendar-only view.
> 
> Try the todo list agenda view with a tag filter to show only tasks for a
> specific tag
> 
> C-c a t / TAB tag RET
> 

Also check out section 6.3 of the manual: (info "(org)Tag searches")

Nick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tags question
  2011-12-24 16:20   ` Nick Dokos
@ 2011-12-24 16:22     ` Pavel Panchekha
  2011-12-24 17:56       ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Panchekha @ 2011-12-24 16:22 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Bernt Hansen, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

Hmm, I can see how to view all TODOs associated with a tag... but how can I
do this across all tags.  In SQL terms, I need a RIGHT JOIN, not a SELECT
... WHERE.

- Pavel Panchekha



On Sat, Dec 24, 2011 at 11:20 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:

> Bernt Hansen <bernt@norang.ca> wrote:
>
> > Pavel Panchekha <me@pavpanchekha.com> writes:
> >
> > > I like seeing an organized breakdown of tasks I need to get done.  I
> > > don't use deadlines, so the agenda view isn't useful to me, but what
> > > would be nice is just all of my tasks grouped by tags.  So, for each
> > > tag, all tasks with that  tag.  I'd been doing this manually by
> > > setting up a heirarchy and using the outlining tools, but I'm afraid
> > > using tags instead of heirarchy is becoming useful to me.  Is there
> > > any agenda view or other feature that does this, and if not, how
> > > might I go about coding it myself?
> > >
> > > - Pavel Panchekha
> >
> > The agenda view is much more than a calendar-only view.
> >
> > Try the todo list agenda view with a tag filter to show only tasks for a
> > specific tag
> >
> > C-c a t / TAB tag RET
> >
>
> Also check out section 6.3 of the manual: (info "(org)Tag searches")
>
> Nick
>
>

[-- Attachment #2: Type: text/html, Size: 1886 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tags question
  2011-12-24 16:22     ` Pavel Panchekha
@ 2011-12-24 17:56       ` Nick Dokos
  2011-12-24 20:28         ` Herbert Sitz
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2011-12-24 17:56 UTC (permalink / raw)
  To: Pavel Panchekha; +Cc: Bernt Hansen, nicholas.dokos, emacs-orgmode

Pavel Panchekha <me@pavpanchekha.com> wrote:

> Hmm, I can see how to view all TODOs associated with a tag... but how can I do this across all tags. 
> In SQL terms, I need a RIGHT JOIN, not a SELECT ... WHERE.
> 

There is a function that is used for tags completion:

,----
| org-global-tags-completion-table is a Lisp function in `org.el'.
| 
| (org-global-tags-completion-table &optional FILES)
| 
| Return the list of all tags in all agenda buffer/files.
| Optional FILES argument is a list of files to which can be used
| instead of the agenda files.
`----

Maybe you can use that to loop over tags - depending on how you organize
your files and how you arrange the loops, there might be significant performance
differences, so you might want to experiment.

HTH,
Nick

> 
> On Sat, Dec 24, 2011 at 11:20 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> 
>     Bernt Hansen <bernt@norang.ca> wrote:
>    
>     > Pavel Panchekha <me@pavpanchekha.com> writes:
>     >
>     > > I like seeing an organized breakdown of tasks I need to get done.  I
>     > > don't use deadlines, so the agenda view isn't useful to me, but what
>     > > would be nice is just all of my tasks grouped by tags.  So, for each
>     > > tag, all tasks with that  tag.  I'd been doing this manually by
>     > > setting up a heirarchy and using the outlining tools, but I'm afraid
>     > > using tags instead of heirarchy is becoming useful to me.  Is there
>     > > any agenda view or other feature that does this, and if not, how
>     > > might I go about coding it myself?
>     > >
>     > > - Pavel Panchekha
>     >
>     > The agenda view is much more than a calendar-only view.
>     >
>     > Try the todo list agenda view with a tag filter to show only tasks for a
>     > specific tag
>     >
>     > C-c a t / TAB tag RET
>     >
>    
>     Also check out section 6.3 of the manual: (info "(org)Tag searches")
>    
>     Nick
> 
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tags question
  2011-12-24 17:56       ` Nick Dokos
@ 2011-12-24 20:28         ` Herbert Sitz
  0 siblings, 0 replies; 6+ messages in thread
From: Herbert Sitz @ 2011-12-24 20:28 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos <at> hp.com> writes:
> There is a function that is used for tags completion:
> 
> ,----
> | org-global-tags-completion-table is a Lisp function in `org.el'.
> | 
> | (org-global-tags-completion-table &optional FILES)
> | 
> | Return the list of all tags in all agenda buffer/files.
> | Optional FILES argument is a list of files to which can be used
> | instead of the agenda files.
> `----
> 

An easy alternative if the list of tags is small and relatively stable would
be to create a custom block agenda view (or maybe several different block
agendas).  Below is example code from the Org
documentation:

(setq org-agenda-custom-commands
           '(("h" "Agenda and Home-related tasks"
              ((agenda "")
               (tags-todo "home")
               (tags "garden")))
             ("o" "Agenda and Office-related tasks"
              ((agenda "")
               (tags-todo "work")
               (tags "office")))))

"This will define C-c a h to create a multi-block view for stuff you need to
attend to at home. The resulting agenda buffer will contain your agenda for the
current week, all TODO items that carry the tag ‘home’, and also all lines 
tagged with ‘garden’. Finally the command C-c a o provides a similar view for 
office tasks."
http://orgmode.org/manual/Block-agenda.html#Block-agenda

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-24 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-24  4:58 Tags question Pavel Panchekha
2011-12-24 13:47 ` Bernt Hansen
2011-12-24 16:20   ` Nick Dokos
2011-12-24 16:22     ` Pavel Panchekha
2011-12-24 17:56       ` Nick Dokos
2011-12-24 20:28         ` Herbert Sitz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.