emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: tags-todo agenda: Show scheduling info
Date: Sat, 2 Nov 2019 12:00:32 -0500	[thread overview]
Message-ID: <CAC=HedBYuGsSkZoM2J59iFJPUwEqWmzWj8bHiYf0CAWSGS+y3Q@mail.gmail.com> (raw)

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

Hello all,

I'm having trouble with simply trying to show any scheduling information
about a heading in a tags-todo search.

Can someone point me to how to do this?

I thought that I define a custom agenda command like this:

(setq org-agenda-custom-commands '(
    ("p" "Foo" tags-todo "+foo"
     (
(org-agenda-prefix-format "Hello World %s")
 (org-agenda-remove-times-when-in-prefix nil)
(org-agenda-todo-ignore-with-date nil)))))


And have data like this:

* todo Something            :foo:
SCHEDULED: <2019-11-02 Sat>

I want my agenda view to show that this entry is scheduled.  However, all I
get is this:

Hello World Something                                  :foo:

From the documentation for org-agenda-prefix-format it seems that %s should
do the trick, right?  I've even tried tinkering with
org-agenda-remove-times-when-in-prefix.

Any ideas?

Thanks,
--Nate

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

             reply	other threads:[~2019-11-02 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02 17:00 Nathan Neff [this message]
2019-11-02 19:28 ` tags-todo agenda: Show scheduling info Samuel Wales

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='CAC=HedBYuGsSkZoM2J59iFJPUwEqWmzWj8bHiYf0CAWSGS+y3Q@mail.gmail.com' \
    --to=nathan.neff@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).