emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture and fast selection of tags
@ 2022-06-26  9:32 Christian Heinrich
  2022-07-11  2:02 ` Ihor Radchenko
  0 siblings, 1 reply; 10+ messages in thread
From: Christian Heinrich @ 2022-06-26  9:32 UTC (permalink / raw)
  To: Emacs Orgmode

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

Hi everyone,

I am trying to set up an org-capture template that presents me with the fast selection window for
tags instead of just the prompt one gets when using org-capture's %^g / %^G placeholders. I often
have project related tags that I need to apply to many but not all tasks, so this would help me a
lot.

I have my tags defined through #+TAGS in my org file. 

I first thought that using %(org-set-tags-command) should work; but the capture-buffer is narrowed
(i.e., no tags are available), so I used (setq org-complete-tags-always-offer-all-agenda-tags t) to
make my tags available there as well. They are available now, but the fast selection is not used, as
org-use-fast-tag-selection is set to 'auto'. When I set it explicitly to t, the fast selection is
shown but because of org-complete-tags-always-offer-all-agenda-tags, I have way too many options to
choose from. I only want the tags defined through #+TAGS to be offered through fast selection.

How can I achieve that? Is there a way to also make only the tags defined in the target file
available?

Thanks for any help!

Best regards
Christian

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-04-02 10:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-26  9:32 org-capture and fast selection of tags Christian Heinrich
2022-07-11  2:02 ` Ihor Radchenko
2022-07-14 10:12   ` Christian Heinrich
2022-07-16  9:12     ` Ihor Radchenko
2022-07-16 15:03       ` Christian Heinrich
2022-07-17 10:14         ` Ihor Radchenko
2022-08-23  2:17           ` Ihor Radchenko
2022-09-28 18:40             ` Christian Heinrich
2022-09-29  3:57               ` Ihor Radchenko
2023-04-02 10:21                 ` Ihor Radchenko

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).