From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Per command org-agenda-prefix-format
Date: Thu, 8 Oct 2015 00:29:49 +0200 [thread overview]
Message-ID: <20151007222949.GA6352@chitra.no-ip.org> (raw)
In-Reply-To: <87y4fea4uv.fsf@alphaville.usersys.redhat.com>
On Wed, Oct 07, 2015 at 02:52:24PM -0400, Nick Dokos wrote:
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>
> > Hi,
> >
> > I wanted to prefix the results of a tags-todo agenda command with
> > scheduling information. But I can't seem to figure out the correct way
> > to do this. This is what I tried:
> >
> > (setq org-agenda-custom-commands
> > '(("J" "Type1/Type2"
> > ((tags-todo "CATEGORY=\"foo\"+type1"
> > ((org-agenda-overriding-header "Type1")))
> > (tags-todo "CATEGORY=\"foo\"+type2"
> > ((org-agenda-overriding-header "Type2"))))
> > ((org-agenda-files (list "~/tmp/org/tasks.org"))
> > (org-agenda-prefix-format " % s")
>
> org-agenda-prefix-format is an alist, not a string.
Forgot to mention in my earlier post, I tried that too! Something like
this:
(org-agenda-prefix-format '(tags " % s"))
Same result.
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2015-10-07 22:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 15:24 Per command org-agenda-prefix-format Suvayu Ali
2015-10-07 15:46 ` Suvayu Ali
2015-10-07 18:52 ` Nick Dokos
2015-10-07 22:29 ` Suvayu Ali [this message]
2015-10-08 7:02 ` Nick Dokos
2015-10-08 13:19 ` Suvayu Ali
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=20151007222949.GA6352@chitra.no-ip.org \
--to=fatkasuvayu+linux@gmail.com \
--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).