Re: [O] org-agenda List Items with Priority A
Esben Stien b...@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
Re: [O] org-agenda List Items with Priority A
Bastien wrote: Esben Stien b...@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. 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
Re: [O] org-agenda List Items with Priority A
Sebastien Vauban sva-n...@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 tn m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@n n
Re: [O] org-agenda List Items with Priority A
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@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
Re: [O] org-agenda List Items with Priority A
(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.)