From: Giacomo M <jackjackk@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Replace default category displayed in org-agenda with directory name
Date: Thu, 28 Jun 2018 19:43:15 -0400 [thread overview]
Message-ID: <228dfed6-27a1-f7ab-cb5b-bd4ff1454629@gmail.com> (raw)
Dear helpful list,
I'm experimenting with an org-agenda setup where I have a directory for
each project, and a README.org with the project TODOs in each directory.
I'm using the elisp below:
#+BEGIN_SRC: emacs-lisp
(setq org-agenda-file-regexp "\\`README\\.org\\'")
(setq org-agenda-files projectile-known-projects)
#+END_SRC
where I feed the list of directories of projects to org-agenda from
projectile.
My question is: how can I rename the category of the TODOs listed in the
agenda from "README.org" to the directory name containing the file of
the TODOs (which in my setup would also identify the parent project)?
Thanks,
Giacomo
reply other threads:[~2018-06-28 23:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=228dfed6-27a1-f7ab-cb5b-bd4ff1454629@gmail.com \
--to=jackjackk@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).