emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] Add option for category to be derived from #+TITLE instead of file


From: Payas Relekar
Subject: [BUG] Add option for category to be derived from #+TITLE instead of file name [9.6 ( @ /nix/store/jv2kmcbm79k4g6i778hblw98l0pxxghf-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/)]
Date: Sat, 03 Dec 2022 12:49:13 +0530
User-agent: mu4e 1.8.11; emacs 30.0.50

After discovering categories
(https://orgmode.org/manual/Categories.html) I'd like to use them
everywhere because it makes agenda cleaner. But currently, it has only
below options to get this value (in order of precedence, highest to lowest)

- #+CATEGORY property (if present)
- file name

While I can set the property in my capture templates, it will only take
effect on newly created files and will not retroactively apply all the
previously created ones.

As such, I'd like to propose adding variable to allow user to specify
whether #+TITLE property should be preferred over #+CATEGORY. The
default can continue as is, but if the user chooses to perfer title,
order of preference will look like (highest to lowest):

- #+TITLE (if present)
- #+ CATEGORY (if present)
- file name

Will something like this be possible?

Thanks,
Payas

Emacs  : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, 
cairo version 1.16.0)
Package: Org mode version 9.6 ( @ 
/nix/store/jv2kmcbm79k4g6i778hblw98l0pxxghf-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/)
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]