emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Angel de Vicente <angel.vicente.garrido@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-super-agenda global list of TODO items
Date: Wed, 14 Sep 2022 11:24:30 +0100	[thread overview]
Message-ID: <871qse8d9d.fsf@gmail.com> (raw)
In-Reply-To: 875yhqgv2e.fsf@gmail.com

Hello,

Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

> great. That looks very promising, and without the need to change the
> source code. I will try it later on and report back.

I ended up with this (and going back to unmodified source code for
org-super-agenda, and it now works beautifully. 

,----
| (setq own-agenda-groups '((:name "Efemerides" :tag "efemerides" :order 1)
|                          (:name "IMPORTANT" :priority "A" :transformer
|                                 (--> it
|                                      (propertize it 'face
|                                                  '(:foreground "red" :background "green")))
|                                 :order 1)
|                          (:name "Astrophysics" :tag "astrophysics" :order 3)
|                          (:name "Hacking" :tag "hacking" :order 3)
|                          (:name "Admin" :tag "admin" :order 4)))
| 
| (setq org-agenda-custom-commands
|       '(("h" "Agenda and tasks"
| 	 ((agenda "" ((org-super-agenda-groups
|                        (append
|                         '((:todo "DONE" :discard)
|                           (:name "Schedule" :time-grid t :transformer
|                                  (--> it
|                                       (propertize it 'face
|                                                   '(:foreground "yellow")))))
|                         own-agenda-groups))))
|           (alltodo "" ((org-super-agenda-groups
|                         (append
|                          '((:todo "DONE" :discard))
|                          own-agenda-groups))))))))                  
`----

Many thanks,
-- 
Ángel de Vicente
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)



      reply	other threads:[~2022-09-14 10:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12  8:15 org-super-agenda global list of TODO items Angel de Vicente
2022-09-13  1:39 ` Ihor Radchenko
2022-09-13  5:41   ` Angel de Vicente
2022-09-13 14:26     ` Ihor Radchenko
2022-09-13 14:30       ` Angel de Vicente
2022-09-13 14:50         ` Ihor Radchenko
2022-09-13 18:55           ` Angel de Vicente
2022-09-13 19:55             ` Christophe Schockaert
2022-09-14  9:32               ` Angel de Vicente
2022-09-14 10:24                 ` Angel de Vicente [this message]

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=871qse8d9d.fsf@gmail.com \
    --to=angel.vicente.garrido@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).