From: Bastien <bzg@altern.org>
To: MarkS <throaway@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Getting org-agenda-sorting-strategy to work
Date: Mon, 07 Jan 2008 01:51:47 +0000 [thread overview]
Message-ID: <874pdqh07g.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20080106T212226-786@post.gmane.org> (MarkS's message of "Sun, 6 Jan 2008 21:30:58 +0000 (UTC)")
Hi Marks,
MarkS <throaway@yahoo.com> writes:
> Emacs 21.4.1
> Org-mode 4.78
Before digging this issue further, I strongly suggest you upgrade your
Org-mode. It's Org 5.18 now, and there has been many changes inbetween!
> I've followed the instructions to create my own agenda menus. Unfortunately, no
> matter what I do I can't get the program to sort by categories. Of course, maybe
> I'm not using categories right. What I have is the #+CATEGORY: mycat tag used
> throughout the file wherever I want to specify the category. The pertinent part
> of the elisp code I'm using is:
>
> ("d" "Daily Agenda"
> (
> (agenda nil ((org-agenda-prefix-format "Daily2:" )
> (org-agenda-sorting-strategy '(priority-down)) ) )
> (tags "/DAILY|PENDING|TODO|COMP|HOME|ROAD" ((org-agenda-sorting-strategy
> '(category-down)) ) )
> )
In latest Org, you can set `org-agenda-sorting-strategy' like this:
(sets org-agenda-sorting-strategy
'((agenda time-up category-keep priority-down)
(todo category-keep priority-down)
(tags category-keep priority-down)))
meaning that agenda and the tags are sorted differently. If your
sorting strategies are not too dependent of the agenda view, maybe
it's easier to set `org-agenda-sorting-strategy' globally, defining
different strategies for (agenda ...) and (tags ...)
HTH,
--
Bastien
next prev parent reply other threads:[~2008-01-07 1:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 21:30 Getting org-agenda-sorting-strategy to work MarkS
2008-01-07 1:51 ` Bastien [this message]
2008-01-07 5:49 ` MarkS
2008-01-07 6:02 ` Bastien
2008-01-07 6:12 ` MarkS
2008-01-07 6:45 ` Bastien
2008-01-07 14:42 ` MarkS
2008-01-08 13:42 ` Bastien
2008-01-08 13:45 ` Egli Christian (KIRO 41)
2008-01-09 22:40 ` Christian Egli
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874pdqh07g.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=throaway@yahoo.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 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.