emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-prefix-format %s returns null string
@ 2013-10-06 21:36 Samuel Wales
  2013-11-06 11:19 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Wales @ 2013-10-06 21:36 UTC (permalink / raw)
  To: emacs-orgmode

The following custom agenda has a couple of problems.  Can anybody
suggest fixes?

  1) slow
  2) there is no agenda prefix telling me the date or scheduling information

My understanding is that %s is supposed to show scheduling
information?  Do people typically use %(org-get-property
\"SCHEDULED\") and similar instead?

Thanks.

===
        `(("i" . "views -- agenda, next")
          ("iu" "upcoming scheduled and deadline, by timestamp -- experimental"
           tags ,(concat "+SCHEDULED>\"<now>\"+SCHEDULED<\"<+1m>\""
                         "|+DEADLINE>\"<now>\"+DEADLINE<\"<+1m>\"")
           ((org-use-tag-inheritance nil)
            (org-agenda-prefix-format "%s")
            (org-agenda-sorting-strategy '(timestamp-up))))
...
===

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

* Re: org-agenda-prefix-format %s returns null string
  2013-10-06 21:36 org-agenda-prefix-format %s returns null string Samuel Wales
@ 2013-11-06 11:19 ` Bastien
  2013-11-08  1:56   ` Samuel Wales
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-11-06 11:19 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Hi Samuel,

Samuel Wales <samologist@gmail.com> writes:

> My understanding is that %s is supposed to show scheduling
> information?  Do people typically use %(org-get-property
> \"SCHEDULED\") and similar instead?
>
> Thanks.
>
> ===
>         `(("i" . "views -- agenda, next")
>           ("iu" "upcoming scheduled and deadline, by timestamp -- experimental"
>            tags ,(concat "+SCHEDULED>\"<now>\"+SCHEDULED<\"<+1m>\""
>                          "|+DEADLINE>\"<now>\"+DEADLINE<\"<+1m>\"")
>            ((org-use-tag-inheritance nil)
>             (org-agenda-prefix-format "%s")
>             (org-agenda-sorting-strategy '(timestamp-up))))
> ...
> ===

`org-agenda-prefix-format' need to be a list listing formats for
various contexts -- see the standard value of this option or try
to customize it through customize.

HTH,

-- 
 Bastien

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

* Re: org-agenda-prefix-format %s returns null string
  2013-11-06 11:19 ` Bastien
@ 2013-11-08  1:56   ` Samuel Wales
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2013-11-08  1:56 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Thanks, Bastien.

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

end of thread, other threads:[~2013-11-08  1:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-06 21:36 org-agenda-prefix-format %s returns null string Samuel Wales
2013-11-06 11:19 ` Bastien
2013-11-08  1:56   ` Samuel Wales

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).