From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 eA2GCMtjEGP4zwAAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 09:48:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eBVbCMtjEGODMwEAauVa8A (envelope-from ) for ; Thu, 01 Sep 2022 09:48:27 +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 C4DFD2095C for ; Thu, 1 Sep 2022 09:48:26 +0200 (CEST) Received: from localhost ([::1]:50238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTew5-0006Dl-GC for larch@yhetil.org; Thu, 01 Sep 2022 03:48:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTeEk-0005l2-DJ for emacs-orgmode@gnu.org; Thu, 01 Sep 2022 03:03:39 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:53161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTeEb-0004uY-6K for emacs-orgmode@gnu.org; Thu, 01 Sep 2022 03:03:38 -0400 Received: by mail-pj1-x1029.google.com with SMTP id fa2so8609011pjb.2 for ; Thu, 01 Sep 2022 00:03:28 -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=7SwZKZXKyOcfXP3aUUBaGRBZmPYcywPdiZM7rExDAAU=; b=CYR3bd7Z3pV76ug7HBccYeyxnargFmZ/2fkeDrr1Wa5KxMyFz7/FXvz6ur9TtQQAFT ssOV8hFVmftlf7ZM6tSNwG8kF9a/OwHM1czH/zagxZ6aHztHDhwrMBNfIuh+MqiXGQjf VKhBdKpO3oDIvQ+cjrLVQkadqF5Lht/dPRTabsyAHYaUnjKsw6W+WfU2FSnY2tlWRzb3 5igAPDUM9zX2To1rO6JvQecK8A/mjl39LqSJ3f36Chzx8ElJeoiXtzwRS8xSNl3L3FWM Jp5QcBdKB8ExWhEGnGpfV4C7xfl1NVdduxQnNveq5G7IMEnG1CEPleJRqXzlib0JmVp8 /17g== 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=7SwZKZXKyOcfXP3aUUBaGRBZmPYcywPdiZM7rExDAAU=; b=7xtsxMYkbTniU2TXYtXFjBxlYSjAL4YlVG4gs6ZkUM2/v7EGUNDjcr8bcyBqZHCCda e1yZQY7z3ufYDJ/07dMxFEKe7dJMF2zaZbNNZScPOgwZ6J9Hz6AP5MbzXWqXzj4d+TRI ykAhBn3VwMVVjtMNy3lPepcgJgfMUFdgmIG2bgnQRxzYcukb2puQmKsuSfkMWH13avsP RJlCZYyZN8J9kA8gnzEyYvgvPLJo7g7E3OEESth3J04XcfN/eZd+LTxfmbiHXz9L3+gl qmqWFC4ss9Y7mepWQVzJhPc/XtG7L2ujNkVmPISGguguzhKpX+awoZqOaY9tAhUFeM6r uuHQ== X-Gm-Message-State: ACgBeo3SR1VcN+yIpQ3TeIjnCcoKh2GXk5ufPXwIZmhZkaRcFycwTvsb rXnc60e7aKsX8vAYIB6hUCQ= X-Google-Smtp-Source: AA6agR6Fh0RM14PVwGbGQx+zywOx6GFERiO2WuGAYcNYDmKRToNQrXSkg64920NFRxdEREx9Q1xQhg== X-Received: by 2002:a17:903:2442:b0:174:e9a9:7b82 with SMTP id l2-20020a170903244200b00174e9a97b82mr14921145pls.148.1662015807784; Thu, 01 Sep 2022 00:03:27 -0700 (PDT) Received: from localhost ([2409:8a70:2b3:c8a0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id x18-20020aa78f12000000b0053788e9f865sm12380539pfr.21.2022.09.01.00.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 00:03:27 -0700 (PDT) From: Ihor Radchenko To: Cletip Cletip Cc: Daniel Fleischer , Juan Manuel =?utf-8?Q?Mac?= =?utf-8?Q?=C3=ADas?= , orgmode Subject: Re: Have all the tags of a heading, with a tag hierarchy In-Reply-To: References: <87fshgnxss.fsf@posteo.net> <87bks3qn1w.fsf@localhost> Date: Thu, 01 Sep 2022 15:04:26 +0800 Message-ID: <87fshbo9s5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1029.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=1662018506; 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=7SwZKZXKyOcfXP3aUUBaGRBZmPYcywPdiZM7rExDAAU=; b=gwI1F2nPSrC4G141Nxc/eOUpQQsB5/aUnEmfib8aj+tJgwSJ3hlbiBAtVgQ+AdvyiFvcyf a1txEPxn63QWLFHnJ7f0aatbK8zc+OaYWZS86032es8YbCiAqLfWer2pnSpzq7hqOnpOho QgliuRaMdHg/kr5IPrki+tJtMCIPsciAQgjRqe/6PaqSRiZjre1ppZ8L+gcnCi6JSZlb07 DvbhmwclYG+StXpZFyyYZYEY1d+qU7Ufg6ppo44uuHXr/RJPpEbJr3NHolHev9/SRWApky A5QtXvBY2C4x8eLYxnWHQn7wbWmvnkMy0DZDKTFBLOqaI+LFt+oL3AFMRP00TQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662018506; a=rsa-sha256; cv=none; b=UJ+1w4tDK7AMEmrB0i8TOw/IXMkjUhLVEA8moQ4I1Wshz509YJqBUGQfTqdzHbSSide7wx 7x3njlXFKUau7rgtAsm0pZXxHZHHRlRGKGtca6dOBY5+xONMqG+UfWclKAOULjVzBbxwlP e1jn+2edoxQZbs5SE1uO0L8dlG1VwevOkO04i5jBoPecys/YygMIhD4hl2P1wY90Iz746h WOoN4pkxAUu66NfMIk4GdQciDy9dqst2Qkmws1Cb+8qqThRsc97zo0cr5lO8q6N/x84TfR 8slCkdf2RwXJqzwC2Jqdd7eV70QZFDJxSWDZopEg7T6kPvY7dm8e/ORqTP8zQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CYR3bd7Z; 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.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CYR3bd7Z; 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: C4DFD2095C X-Spam-Score: -3.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: y3CpeNzw7RN/ Cletip Cletip writes: > Just one last clarification to be sure: there is no native function in > org-mode to have the list of tags with a hierarchy? I have to write my > function with the two functions > org-get-tags and org-tags-expand > to get the result I want : a list of tags that takes into account the > hierarchy defined by the "org-tag-alist" variable AFAIK, we have no such function. -- 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