From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kMDgKG5OEGNYOwEAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 08:17:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oLjZJ25OEGMBIAEAG6o9tA (envelope-from ) for ; Thu, 01 Sep 2022 08:17:18 +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 3153238782 for ; Thu, 1 Sep 2022 08:17:18 +0200 (CEST) Received: from localhost ([::1]:35134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTdVt-0004QY-6r for larch@yhetil.org; Thu, 01 Sep 2022 02:17:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTdRV-00042a-EZ for emacs-orgmode@gnu.org; Thu, 01 Sep 2022 02:12:45 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:43851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTdRR-00066q-Dt for emacs-orgmode@gnu.org; Thu, 01 Sep 2022 02:12:45 -0400 Received: by mail-pl1-x62a.google.com with SMTP id l3so16160836plb.10 for ; Wed, 31 Aug 2022 23:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=J4n/1J1mmMM5moMnWhBcZXEby7x/skokEbpNNfKU+0M=; b=en0CzIa9H4/MVT4n8GUvuKIxYjNUjZQWyQTG0OMnBKZuFlxYTIv7M1lVuyoU977MOe PSqvQPz0JMLlYXGlppJCTc34z8WUDRgqCu8MyQthPxbM8Mjs1gKHk65ZM91LMMISaXDI N0RQqUv1Kk//LpIKqYVJZCkJ+lYV0DqDDgPfyPaEF2E43qhw7eB46iE6SMRNfPyoOcxU 8f7iLBO7yR6HJqczMeJAtmA615Cwc1Zlzv0rysngYsFGveECXO4i6Zc1VWlHQJT4ChNV Lu+G/x1ycK2Ku07eOY8yVhBFskfL82dKqGKMWl5gsxF2ad1fwCSS0+zWb6WFekdJKigM 2obQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=J4n/1J1mmMM5moMnWhBcZXEby7x/skokEbpNNfKU+0M=; b=d367EK4GUcQBbuaroY6dk+S4cgPAGW2i+QBCp0iN2RcbBWCCTaNMJDPhxA/FmGIqrV Sr9qzplbotQslbX8qEpjdw8vh7OIj2AMF3Vo0iPyO41icLkQvGn0AADtZHPZyli/0rYp h4KgIKtW0LSAhaTQHFqAFhrTsvCE7rpwafZO5fzH2iyeoCRl050NXNTZeyzM4WvpXk0Q MZnY1bQyYMr4trExnJPovnhYRng4YqbaxJyZhpXM7OaK1StfNsscjDGNeSN9g/6hqDXt LkOKDMDbVH2eT7lH7cOjSdXZkkW3wY+oDEcDzaLfC1ifjVVUG+n/OAkwuMNRCYfIp6fj 5Xjw== X-Gm-Message-State: ACgBeo0xMx9MZIpeaExd+RSp4LODXg14sPxOhmgbsh8P8tiuIYtK1iAl 1NaaCnk4MB8+XpCnRwiLjhA= X-Google-Smtp-Source: AA6agR4/O9S/76nk7ADpC06vm7gtbxgLr+akcDHpNIr1/oYMygl35Caw9JFIh4QrgKKCYJSPCaYohQ== X-Received: by 2002:a17:90b:3e81:b0:1fd:8357:cbc8 with SMTP id rj1-20020a17090b3e8100b001fd8357cbc8mr7191198pjb.48.1662012757794; Wed, 31 Aug 2022 23:12:37 -0700 (PDT) Received: from localhost ([2409:8a70:2b3:c8a0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id x10-20020aa7956a000000b005387bf85ea0sm5164524pfq.128.2022.08.31.23.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 23:12:37 -0700 (PDT) From: Ihor Radchenko To: Payas Relekar Cc: emacs-orgmode@gnu.org Subject: Re: Support for tagging (special) blocks In-Reply-To: <8735dbbuku.fsf@gmail.com> References: <8735dbbuku.fsf@gmail.com> Date: Thu, 01 Sep 2022 14:13:37 +0800 Message-ID: <87ler3oc4u.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.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=1662013038; 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=J4n/1J1mmMM5moMnWhBcZXEby7x/skokEbpNNfKU+0M=; b=jce4bJ8Nf8SlX4SPpX2NEvOuKJLZWOHu21/tRVUuZoDUOGGpB8aY2U4zWZOseqkLNZE4RG /lnl9FPra1C4kN3BANRVZvXtkDslu+ET0d2D4QgzkzCUCIUDnCdSe9wdtrnAMiGDOWtlK5 0zKbVzGhdSaizM6N/X+RO4lE2BbLz4l+7WiQjn1ITNLilIIkvnLRdfZJhbDr2sTfwo27LA 4werSFlboBRuHe+6Qc0QTmk+zOyP+0D3OwVUhsuN3VtICkDFiBdQVsxd/zAfGBKshwmKvX P6XYOVZq6uuGWmrqD5RDB5iYDS63hGUA+gm1LvNarzDjrNsZbWr0h3twv4JeIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662013038; a=rsa-sha256; cv=none; b=dhS3YqBxXODu948UYPtKBVsqMHTs61+90paErdanWFBxjZ3Km32Lt4GuFtTt6VksoA9Z9/ nHKBlD7HsQGpwWGYV/iSIJR58R4hMaYLPQpfgr84onXOSxYmW6gV3QPPS5gL7GFeGLhD+M rTLKo6UV2MbXYUy/+sSleOIn5NHHIG1ySAuQDcpKhenXvGngUr9QaaNk3fcNxB6xAjAW4t 7dgNcX8FsTPrYjfY/YvgB5RkVJq5fGBMd+IHOAaO9ZLx1x9y1auQ51CTepAsxKuyjJvzKW svQ8aer6m4CeAAgqlhO5WdxQEouj6haQ4yWN0obJZDLZEjDnhgHCrwnH+Vf3GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=en0CzIa9; 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: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=en0CzIa9; 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: 3153238782 X-Spam-Score: -3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: kh0ayw6mPzfS Payas Relekar writes: > Tags are bit more generic though, and allow searching across not just > code blocks, but TODOs as well. They do not. Tags are only considered inside headlines. Trying to allow tags outside headlines will require major changes across the whole Org codebase and will still make things incompatible with third party packages, like org-ql. Not to mention the whole new concept for block syntax. If one wants to add "tags" or other keywords associated with blocks or other Org elements, the right tool to use is affiliated keywords. But note that Org search infrastructure is tailored towards searching headlines. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92