* org-agenda List Items with Priority A
@ 2014-05-23 13:39 Esben Stien
2014-05-23 13:45 ` Bastien
2014-05-23 22:37 ` Brady Trainor
0 siblings, 2 replies; 6+ messages in thread
From: Esben Stien @ 2014-05-23 13:39 UTC (permalink / raw)
To: emacs-orgmode
In org-agenda, I'm confused as to how I can get a list of all headings
with priority A?
--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n n
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-agenda List Items with Priority A
2014-05-23 13:39 org-agenda List Items with Priority A Esben Stien
@ 2014-05-23 13:45 ` Bastien
2014-05-23 18:29 ` Sebastien Vauban
2014-05-23 22:37 ` Brady Trainor
1 sibling, 1 reply; 6+ messages in thread
From: Bastien @ 2014-05-23 13:45 UTC (permalink / raw)
To: Esben Stien; +Cc: emacs-orgmode
Esben Stien <b0ef@esben-stien.name> writes:
> In org-agenda, I'm confused as to how I can get a list of all headings
> with priority A?
There is no predefined functions.
You can use `org-agenda-skip-if' and check against priority cookies.
--
Bastien
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-agenda List Items with Priority A
2014-05-23 13:45 ` Bastien
@ 2014-05-23 18:29 ` Sebastien Vauban
2014-05-23 18:57 ` Esben Stien
2014-05-23 19:17 ` Bastien
0 siblings, 2 replies; 6+ messages in thread
From: Sebastien Vauban @ 2014-05-23 18:29 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Bastien wrote:
> Esben Stien <b0ef-i4VWCTH623RTwBqr1c7McA@public.gmane.org> writes:
>
>> In org-agenda, I'm confused as to how I can get a list of all headings
>> with priority A?
>
> There is no predefined functions.
>
> You can use `org-agenda-skip-if' and check against priority cookies.
Or...
--8<---------------cut here---------------start------------->8---
(add-to-list 'org-agenda-custom-commands
'("r" "All Tasks (grouped by Priority)"
((tags-todo "PRIORITY={A}"
((org-agenda-overriding-header "HIGH"))))) t)
--8<---------------cut here---------------end--------------->8---
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-agenda List Items with Priority A
2014-05-23 18:29 ` Sebastien Vauban
@ 2014-05-23 18:57 ` Esben Stien
2014-05-23 19:17 ` Bastien
1 sibling, 0 replies; 6+ messages in thread
From: Esben Stien @ 2014-05-23 18:57 UTC (permalink / raw)
To: emacs-orgmode
Sebastien Vauban <sva-news@mygooglest.com> writes:
> --8<---------------cut here---------------start------------->8---
> (add-to-list 'org-agenda-custom-commands
> '("r" "All Tasks (grouped by Priority)"
> ((tags-todo "PRIORITY={A}"
> ((org-agenda-overriding-header "HIGH"))))) t)
> --8<---------------cut here---------------end--------------->8---
Damn, so many of priority A;)
Now I can start getting things done;)
Thanks;)
--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n n
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-agenda List Items with Priority A
2014-05-23 18:29 ` Sebastien Vauban
2014-05-23 18:57 ` Esben Stien
@ 2014-05-23 19:17 ` Bastien
1 sibling, 0 replies; 6+ messages in thread
From: Bastien @ 2014-05-23 19:17 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:
> Or...
>
> (add-to-list 'org-agenda-custom-commands
> '("r" "All Tasks (grouped by Priority)"
> ((tags-todo "PRIORITY={A}"
> ((org-agenda-overriding-header "HIGH"))))) t)
Of course, thanks for mentioning this simpler possibility!
--
Bastien
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-agenda List Items with Priority A
2014-05-23 13:39 org-agenda List Items with Priority A Esben Stien
2014-05-23 13:45 ` Bastien
@ 2014-05-23 22:37 ` Brady Trainor
1 sibling, 0 replies; 6+ messages in thread
From: Brady Trainor @ 2014-05-23 22:37 UTC (permalink / raw)
To: emacs-orgmode
(my first `follow-up' from GNUS)
I am trying to reduce the amount of custom-commands I use, so that my
use of org-mode can evolve to be more adaptive and take more advantage
of defaults.
The functions below are for DONE items, but I'm sure you could tweak
them to apply to priority.
They allow you to use the hotkeys in agenda-view, via the `org-defkey'
function (which is why I have to "require 'org-agenda").
With M-=, I get the result of `C-u =' with fewer keystrokes, at which
point I can type DONE for quick removal. You could probably try `= #a'
for quick filtering. (The `=' hotkey already exists in your default
agenda-view.)
With C-=, I toggle whether DONE items appear quickly (the second source
block below).
#+BEGIN_SRC emacs-lisp
(require 'org-agenda)
(defun org-agenda-filter-by-regexp-inverse ()
(interactive)
(org-agenda-filter-by-regexp '(4)))
(org-defkey org-agenda-mode-map "\M-=" 'org-agenda-filter-by-regexp-inverse)
#+END_SRC
* toggle "skip timestamp if done"
#+BEGIN_SRC emacs-lisp
(require 'org-agenda)
(defun toggle-org-agenda-skip-timestamp-if-done ()
(interactive)
(cond ((eq org-agenda-skip-timestamp-if-done nil)
(setq org-agenda-skip-timestamp-if-done t))
((eq org-agenda-skip-timestamp-if-done t)
(setq org-agenda-skip-timestamp-if-done nil)))
(org-agenda-redo))
(org-defkey org-agenda-mode-map [?\C-=] 'toggle-org-agenda-skip-timestamp-if-done)
#+END_SRC
{{{ Brady }}}
I am self-proclaimed newb, so if anyone has any org-defaults suggestions
or coding style, please let me know. (Learning "autoloads" is on my
list, so maybe that is one thing, but I recently installed a new linux,
and Emacs is opening super fast.)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-05-23 22:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 13:39 org-agenda List Items with Priority A Esben Stien
2014-05-23 13:45 ` Bastien
2014-05-23 18:29 ` Sebastien Vauban
2014-05-23 18:57 ` Esben Stien
2014-05-23 19:17 ` Bastien
2014-05-23 22:37 ` Brady Trainor
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).