From: Subhan Michael Tindall <SubhanT@familycareinc.org>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Limiting number of items shown in custom agenda
Date: Tue, 3 Feb 2015 19:13:04 +0000 [thread overview]
Message-ID: <bc2f69370d2a4d3cb586e47a97d4c7ba@fcmailsvr3.familycareinc.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
I have the following custom agenda command
("Z" "Last Worked skip" ((alltodo "" ((org-agenda-skip-function
(lambda nil (org-agenda-skip-entry-if (quote notregexp) "\\:LastWorked\\:")))
(org-agenda-sticky nil)
(org-agenda-view-columns-initially t)
(org-agenda-sorting-strategy (quote (tsia-down todo-state-down)))))))
Each item worked has a property that is automatically set to the last time it was worked (:LastWorked:)
As-is, this works OK, and shows all non-closed headlines with a :LastWorked: property
What I'd like to do is limit this to only show say the 10 most recently worked items.
Can't seem to find a way to do this.
Any ideas? This limit needs to happen after the sort.
This message is intended for the sole use of the individual and entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you.
[-- Attachment #2: Type: text/html, Size: 3925 bytes --]
next reply other threads:[~2015-02-03 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-03 19:13 Subhan Michael Tindall [this message]
2015-02-03 20:03 ` Limiting number of items shown in custom agenda Nick Dokos
2015-02-03 20:04 ` Yuri Niyazov
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=bc2f69370d2a4d3cb586e47a97d4c7ba@fcmailsvr3.familycareinc.org \
--to=subhant@familycareinc.org \
--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 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.