From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 uJRJMqaEy2KyDAEAbAwnHQ (envelope-from ) for ; Mon, 11 Jul 2022 04:02:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KvMuMaaEy2I3yAAAG6o9tA (envelope-from ) for ; Mon, 11 Jul 2022 04:02:14 +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 2BA5F2AD38 for ; Mon, 11 Jul 2022 04:02:14 +0200 (CEST) Received: from localhost ([::1]:42182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAikW-0000ES-Dx for larch@yhetil.org; Sun, 10 Jul 2022 22:02:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAijS-0000EI-Eb for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 22:01:06 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:42627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAijQ-0001Pr-TE for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 22:01:06 -0400 Received: by mail-pl1-x62e.google.com with SMTP id 5so3253258plk.9 for ; Sun, 10 Jul 2022 19:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=xMtqWin9U5p6u1bDOBzW3/Rz9NP2rdhcV2cQjrS1J28=; b=VRum8IIkT400BR2MWNykgYBGi7rIG1j7s5wn6usx+phjE0Klk7zrm1MapF6Tex2m9f 5ehafGkFO05m4tZ/PuPtjRfRGeJaNHoCIWRZZErADDLF5Pw0iPb5oMU7WOCeFz9tCGeM RJR7RvyCKvbgvYww7Yfje1uYc0T2gG1XZvJCbMt7lyNYzp4AuJh9w5RBR01h++PmFCNI 6NOk9Nj8l7YRuckANFiiyzvopCi24yEZOZUOFtwRetwRSSp/IavF/LsuQuj2g+8lrHL3 U8QYqrAw3/GAfZVgqsNvTnifYEJ+FLf/epW54h7EO4cawFJRBCGIz+vpuVj2tfHPRoKd o0kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=xMtqWin9U5p6u1bDOBzW3/Rz9NP2rdhcV2cQjrS1J28=; b=HaEvq+1WXHm0bVOpjRWPXCqJBLcRboLWEkvkEpBOvsz7cz03BsLF+cMkNvbEnTi6eN WlSQ0iRpi90Ud1enOQsXXVz8sMonmkVSrbH0bLd/icPHhW/cj54Y9FuvmAIUp/gwgpWz tx138f8rgAqnnh2KKREbPOUhhg5WJu9FEL/Rmxcw5uk5Pi/05sE2XayDNC9LmAnNrv75 mrSNHX5MPy4cF7YUeUaq3frtBEWTifj6lnT5rI8VLlCzDsdW9aL/jRFMZmkAYG9aU0ds FJG9Oyx2j2tsqyU9d67cw4m4z52j2w+3rvCU1ED6einLYOtnUzcEb9B0R2NE7fCLdWxr oUuQ== X-Gm-Message-State: AJIora/kAM5Lsay7la0J3C938H+aihwg8JbOO5hG0p/484HTk5PRYivt 5XEdBJMkWJ6q2VP5vs5CVBQO8eb+QJuXTg== X-Google-Smtp-Source: AGRyM1uQZ6OS07lUXFUgIePsmgKBtIcSqRY7ntJges7GrdESvKrjhgJXwq5tOq27QfM9+1HtO3+svA== X-Received: by 2002:a17:902:cec5:b0:16c:4108:d292 with SMTP id d5-20020a170902cec500b0016c4108d292mr4897638plg.137.1657504863494; Sun, 10 Jul 2022 19:01:03 -0700 (PDT) Received: from localhost ([157.52.138.46]) by smtp.gmail.com with ESMTPSA id p123-20020a625b81000000b0052ab5740130sm3470199pfb.37.2022.07.10.19.01.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jul 2022 19:01:02 -0700 (PDT) From: Ihor Radchenko To: Christian Heinrich Cc: Emacs Orgmode Subject: Re: org-capture and fast selection of tags In-Reply-To: <72130bbc83403af80962f1b69160a74738436341.camel@gladbachcity.de> References: <72130bbc83403af80962f1b69160a74738436341.camel@gladbachcity.de> Date: Mon, 11 Jul 2022 10:02:10 +0800 Message-ID: <87y1x0que5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62e.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=1657504934; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xMtqWin9U5p6u1bDOBzW3/Rz9NP2rdhcV2cQjrS1J28=; b=VSuja5ufd/Ga/uzrIO9uX+KzkmQ9YYPjQRgy0fKM7Kus9nuKIZvNfUtZE55wYMs/ORwEIB QGpXYnzLUbPpnTocGYxi0TlDikKm3EehX3V6e1524HpLSMvmiCtk781KjSOhmVn9YIuCu4 l610o2yqLKQ6icBC4Ubnmz14cUII/Fxo44c8RPmZUjD9BnHCB29i+6OsK0uCeUbWx0D/FH Hvu57oyhgBvfELDH/vmC87GGCgv1hy37YYFqPkgKbn7h4odBmHjGUh2DxsRoOYO062GDB0 axhePac1ZjYHxPzJnnMC6HbKT3cOdESDUTzmCJkXD6wCP2ytup8yt4AI4fHBRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657504934; a=rsa-sha256; cv=none; b=d6N4Z9TEhNSpjriZTS/qUp/OgoYeqtAcKnib3VxfGW1L+46uyYOV/UiTbVJQge6ubz35kt G0qOw0JLxfZD1EHiitEw31HcbWHyg8PbG99qBGybo6FZlXA6BrDsNfWGnMNwXi8dzOSUhv IXYDkiR4yfNtdOMbSJ9d+tMDDMOFxY/80t/wQ5t5pYDl5A15SZ0IJzqK+GtAttzbG372uB NFRxrjA367nMBpsvNA7JLoWVHFj8lf8I9kXdiXISVf1PDnGO/8YDEYSkXzbUQtVvrTsfAz AKIyEC6cYIPW+SayJ4UzsJrQkR0Xf7Qf6n8RysnGCeoAoF2Y1n9wbFy7930GRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=VRum8IIk; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=VRum8IIk; dmarc=pass (policy=none) header.from=gmail.com; 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: 2BA5F2AD38 X-Spam-Score: -4.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: BPW3i0akXTJH Christian Heinrich writes: > Today, I went through your init.org on github (it's ... huge) and couldn't find anything there > either. That's because I rarely need to set standard tags when capturing staff. So, I am content with entering tags manually. > ... Do you have an idea > on how to use fast selection of tags (using shortcuts) when capturing an entry? > ... > I first thought that using %(org-set-tags-command) should work; but the capture-buffer is narrowed > (i.e., no tags are available),... %(org-with-wide-buffer (org-set-tags-command)) may work. Of course, we may also implement a proper capture selection for %^g template. As usual, patches are welcome. Best, Ihor