all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian Heinrich <com-orgmode-mailinglist@gladbachcity.de>
To: Emacs Orgmode <emacs-orgmode@gnu.org>
Subject: org-capture and fast selection of tags
Date: Sun, 26 Jun 2022 11:32:07 +0200	[thread overview]
Message-ID: <72130bbc83403af80962f1b69160a74738436341.camel@gladbachcity.de> (raw)

[-- 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 --]

             reply	other threads:[~2022-06-26  9:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  9:32 Christian Heinrich [this message]
2022-07-11  2:02 ` org-capture and fast selection of tags 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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72130bbc83403af80962f1b69160a74738436341.camel@gladbachcity.de \
    --to=com-orgmode-mailinglist@gladbachcity.de \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.