emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Piotr Zielinski" <piotr.zielinski@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to sort by tags
Date: Mon, 28 Aug 2006 15:59:19 +0100	[thread overview]
Message-ID: <3c12eb8d0608280759t4876cfedr89a4ef7c8c63babd@mail.gmail.com> (raw)
In-Reply-To: <07fa357d0c6e333ad111b87cdf25a818@science.uva.nl>

On 28/08/06, Carsten Dominik <dominik@science.uva.nl> wrote:
> Yes, with tags as context this would make sense......
>
> Other input, anyone?

Sorting by tags might be thought of as a special case of multi-block
agenda buffer, in which you can execute multiple agenda commands
without erasing the buffer.  For example, you can use org-agenda first
to list all the items tagged "work" and then all the items tagged
"home".  The only change in the current implementation would be not to
erase the agenda buffer.  This approach would require one org buffer
scan for each keyword, which might be inefficient.

The advantage of this approach is that it leaves it up to the user how
do deal with multi-tagged entries.  If an element tagged ":work:home:"
should appear under both "work" and "home", then the user would
specify the block list to be '("work" "home").  If such elements
should appear only in "work", the specification would be ("work"
"+work-home").  Alternatively, we can put elements ":work:home:" into
a separate list by specifying three lists ("+work-home" "+home-work"
"+work+home").  In general, without prior knowledge about the
semantics of tags, choosing one of those approaches automatically will
be difficult.

Finally, having the whole power of the org-agenda and tag matching,
one could construct more sophisticated blocks, for example, consisting
of all ":work:" entries that are TODO at the same time.

Piotr

      reply	other threads:[~2006-08-28 14:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-28  9:42 How to sort by tags Pete Phillips
2006-08-28 10:45 ` Carsten Dominik
2006-08-28 12:36   ` Pete Phillips
2006-08-28 12:50     ` Carsten Dominik
2006-08-28 14:59       ` Piotr Zielinski [this message]

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=3c12eb8d0608280759t4876cfedr89a4ef7c8c63babd@mail.gmail.com \
    --to=piotr.zielinski@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /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).