From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qE3wHtMnuGIXwAAAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 11:33:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sMnpHtMnuGJXgwEA9RJhRA (envelope-from ) for ; Sun, 26 Jun 2022 11:33:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C966DF915 for ; Sun, 26 Jun 2022 11:33:06 +0200 (CEST) Received: from localhost ([::1]:48402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5Odd-0003vU-IQ for larch@yhetil.org; Sun, 26 Jun 2022 05:33:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Ocq-0003vL-Se for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 05:32:16 -0400 Received: from gallois.livando.com ([31.170.109.33]:49292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Oco-0004Mt-V2 for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 05:32:16 -0400 X-PDA-ORIGIN: gallois.livando.com Received: (qmail 988276 invoked from network); 26 Jun 2022 09:32:08 -0000 Received: by simscan 1.4.0 ppid: 988269, pid: 988272, t: 0.1087s scanners: clamav: 0.103.6/m:62/d:26584 Received: from unknown (HELO ?192.168.0.77?) (christian@gladbachcity.de@95.90.192.15) by 0 with SMTP; 26 Jun 2022 09:32:08 -0000 Message-ID: <72130bbc83403af80962f1b69160a74738436341.camel@gladbachcity.de> Subject: org-capture and fast selection of tags From: Christian Heinrich To: Emacs Orgmode Date: Sun, 26 Jun 2022 11:32:07 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Y8u6LZw2vCzF/yjCGJc7" User-Agent: Evolution 3.44.2-1 MIME-Version: 1.0 Received-SPF: none client-ip=31.170.109.33; envelope-from=com-orgmode-mailinglist@gladbachcity.de; helo=gallois.livando.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656235987; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=eMhsgm+bqYD31Aw4wYsbIybwcevwx1bgB2qEFoOoV/8=; b=o8JZcqwKMnbPvWF+tV1CaMdApWGwx+81onWJwRYGMsl1swJrGbNyQFHDs8IKSqa9IkGkRg KIhcGqiyKkXrGyW7DmKEd0SioqlSLttwHUJ55iDY/T49q6tMCTTCaFf1/ny5/p7famyG5/ crJdNh6qUwoAH1wvJoIqaqoKCrh1Z0oUDvGSyTKWv21f1VDXjfg7IcAaiSX0PRp5AgrgSJ S8DaKwvdEmJ+2dArMPkfqrN0iUTdu4NQm/TfIxoihnCIwSd6a2YIlsf6MmszpazYQa1Ldg pSufRgLM1RXst8cMwd3zByZ4Kj+3KF1yQvRgV48Us77sOm91wK4MS6AgduTD/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656235987; a=rsa-sha256; cv=none; b=mhvuWH2yzF4U42BP4qZnYtkLhwB1opQz041lS4MQSQCjoegqR81Tp68HPqScRXqdtm4HGu Z5mBdFu75/UMPN/TKIVtxGciLVMmWNVocz50FrPlmwReDTkjjA6qD6T7x++N4lxNvgWVkW zm8PpDapMMQXcLsuZNbw9Yig6t8qQwOqNoFIB61gEn0RtMieeLxjdd7vll7ewkAQdX5JRZ hIaeh6mhVz7K2xxPtRVwldY+bQR1oMROz3STjbV+qHdWQXl4zksToyEeLUfqsbdRHMwJp5 8VgdraY2iWJ4jigyWM9qiNbMqyQwN7JsWSQcqkrHkXmsyL4CI1R6pyufX3j+tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C966DF915 X-Spam-Score: -3.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: ywhD0y/EFGgK --=-Y8u6LZw2vCzF/yjCGJc7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone, I am trying to set up an org-capture template that presents me with the fas= t 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, s= o this would help me a lot. I have my tags defined through #+TAGS in my org file.=C2=A0 I first thought that using %(org-set-tags-command) should work; but the cap= ture-buffer is narrowed (i.e., no tags are available), so I used (setq org-complete-tags-always-off= er-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 thro= ugh fast selection. How can I achieve that? Is there a way to also make only the tags defined i= n the target file available? Thanks for any help! Best regards Christian --=-Y8u6LZw2vCzF/yjCGJc7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+9lGLw1S8YBUC27di84V01FvzDwFAmK4J5cACgkQi84V01Fv zDxO5g//exFw2b81nbc4JFr1JhiJli+ULy0byq23wz7PY53Fn5xopKMzfu4uNrEq CMaU67YUf3onQqNLJ8FrrxlH53a7vOq3Q7r4ttGYGHoviyOnT0QvPD3a7XxTwxL1 yDOjwoKQ32PGf/bArMD7y0WpVTUMmFmHYkBlCaBUyN3CCzIs1eRE2WNN29FZ5lbK x3sJcxY6+rZeri9qaIwt9GwqtC/UER91mYDjeuMhgKtiTDyaH51QYDlf4wT7l5wY kkZCPENRohTuKb9kbp2DNkoKHTpOqYs1qXDQBsxhdG87H9GWXuQRSVJQdkO4bXF7 s/nBwWy+Dklapu/lc/4l5WeIJaNOFMm+09XcQXqzdE+wV440DPMERz3cUWcyqRZ+ iWw/pFu5w4HM8O1xxNuymdT1/1oZLi6IuFkNNX/EWko9kYZEcAyaL3B8SkHr39HT UmOn7R0o5CZMX0v3PrzKR3MtDGORscJzrSkOXZIBD7Fqr8jpV1OVqTctwm4OT4Q+ K7vQ8eIgWUnkzfkHrkd5oMzR8SEBSkULazJaNLoFmzD/8CNZZxO5GLN2A60JQ19W Td797eHWO3jzlHFwemVnSmO4yAp2WqdKV5Ne1ALG7wUJIdMM/h+C6+OFp8ZL/wI/ zX1jholMJGNNPuUkcPBPce1qpf0TvgQ31YZFQERSuECB8mLEUp8= =wCuF -----END PGP SIGNATURE----- --=-Y8u6LZw2vCzF/yjCGJc7--