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 iO7eCVymDGMNYwAAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 13:43:24 +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 kEQIClymDGP1eAAA9RJhRA (envelope-from ) for ; Mon, 29 Aug 2022 13:43:24 +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 C79BCF208 for ; Mon, 29 Aug 2022 13:43:23 +0200 (CEST) Received: from localhost ([::1]:53738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSdAo-0000Me-LM for larch@yhetil.org; Mon, 29 Aug 2022 07:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSd8x-0000LR-D2 for emacs-orgmode@gnu.org; Mon, 29 Aug 2022 07:41:32 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:33354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSd8u-0004lN-7L for emacs-orgmode@gnu.org; Mon, 29 Aug 2022 07:41:26 -0400 Received: by mail-ej1-x62b.google.com with SMTP id cu2so15166988ejb.0 for ; Mon, 29 Aug 2022 04:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=3V0cR0daq98aLWNHgk1ioC6IpXitZV0OuUxfhJxyOx4=; b=An7zU2o7uPyyFGqdCgDIQA+z7hhlfeIlQAdiNS+OgSOPImRWctufq/wWb51BqkiV5Y 6n+WTqDG+FDjg6m94aJXD8DUAualS33sznxtWDwO0InpIj/3ISxiYb8jw//KQEVab9qg bSdWDJibK+HdyZs6sXMLgNhisJjZs1qrS8eu8u2HfNRHSWqNiaLr17E1LJxKkLhU98DX 1nzoQMy8LiaYxNXM92sL3tmrLGN3pAYkQGJsRSPr9qrbj7DLJP1XddM06x0pTEA5+fri NKBRc5PGHPBqsaw2c8z0vZiKWTX/v+M8fyj2gxyB2tT9T5QU073ldZINCCXHPt9t/VP9 69Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=3V0cR0daq98aLWNHgk1ioC6IpXitZV0OuUxfhJxyOx4=; b=CjVjY1BDs8m3kJhCnRhPqkWPX0Thrqv4YzO5NQE/JLpqHTQTEAV+aWr7JO5XmDgSkS HM9RcGKVzNGE/CNqbE8R0Xuk2f6ujnXzFoHoJbkrSDh2wYKftEsd1zlhcGQD+D/BG+ak RM+Xp/BmFMffwAbxjMLVBhio2hj242y5q6ULwaqOeC8yGZacFptbxovKzpvBEym96Xzv 0DGSFtfME0V5/rmovdvBUm0FyVBdoaOEbIcjjm63l6Uu/+klzRgCPEKom01bZnj9fb5v J6Xc6wDx8ou5WQnNjCLt8Rga0h4LTFdSzISbeH3OhtxTuBChApM411eX6aHAFu/weyWu Tjag== X-Gm-Message-State: ACgBeo3KwmMqgTBlzoJIItWELn9Q2xcK09whovnVkJrq4dLtGLGlxVVI JHyiwyymi1ZTDtsqMGvBRTeRH+S14vemUo2JkZY= X-Google-Smtp-Source: AA6agR6P/KWu2J+pdw+4i7NJnkCK6cOQ3R2Idu1yJAOiLsxiwKtEDzylIWiK24uPXyhB9rJsUgKyblvdCeLnUefPSEE= X-Received: by 2002:a17:907:868b:b0:741:8f6b:187c with SMTP id qa11-20020a170907868b00b007418f6b187cmr3285630ejc.188.1661773282600; Mon, 29 Aug 2022 04:41:22 -0700 (PDT) MIME-Version: 1.0 References: <87fshgnxss.fsf@posteo.net> In-Reply-To: From: Cletip Cletip Date: Mon, 29 Aug 2022 13:41:11 +0200 Message-ID: Subject: Re: Have all the tags of a heading, with a tag hierarchy To: Daniel Fleischer Cc: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= , orgmode Content-Type: multipart/alternative; boundary="00000000000034ec0105e75fbe91" Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=clement020302@gmail.com; helo=mail-ej1-x62b.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, HTML_MESSAGE=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=1661773404; 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=3V0cR0daq98aLWNHgk1ioC6IpXitZV0OuUxfhJxyOx4=; b=shTwAaxuk4kWRWLRDA3OlC0yzWQO+S6khKs4nB74XUQLwtAwmRp/mCvOIgnu/omakCVSqQ M5glGxToCM9t0HJyK0GQSi766OKlqhSyz8ekjLt9iU5P7j5mJEWNeCK37j44KVNsghSgaW 9g6ZPe/6uh1QiTboHgB3eYsWtZ8QWXx4VRbfbwxY+lZC0z+dRJWdB2fmHvQ8n3U/qaVldO 8zxuVqjRv2Ykqg2s2JJVCo1blAI7At87MF7Qut/lYSjLolVAfbWX63gT/7HtVbVTeJE9J2 ohlEq6s74kZ3VPd3ht/15XwVOmYUn77+vaLHnq2JC8hd1LDrp8iOU0RyS3pTCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661773404; a=rsa-sha256; cv=none; b=sgxZwCiQMiFUcmNeJ/WgHdwvKAd43+Qzv2/5b9ysMjmy3f6vdD1sdg4R5DSX8cI3qjbktH gRfNHhRE7M4D6mAxdqyErrJDCnIuw6985qGE9LnHT4kDxRiebqtyf9rq1MWaC/TR8+zBNl R684bpNzWz8OdlSbyLPP5jMH97pyK9Tw+MtqdlVk9zfIQnqYp4vq/98ze/TdFWDlmEZVRy xGoTHB+YbIpfKGYXbfqyF8KDG4cm1dK+f9yRLbaupTeAscDqkQ6o2SzelN92oGDdGMIgQC SSPDIDLTwwddlThmy8sXlCz/2YAeo64i7aJzvehJvBknh6gzeoUTYyjPgbFAwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=An7zU2o7; 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: -5.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=An7zU2o7; 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: C79BCF208 X-Spam-Score: -5.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3hzJoudSI2jJ --00000000000034ec0105e75fbe91 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks you for your answer, Yes I understand both perfectly. I think some people (like me) would like to connect them, others would not want to bring them together. But how to get the hierarchy (or the families) used by org agenda with a function like "org-get-tags" ? PS: sorry for the bad vocabulary, I followed the same name as the wiki, I should have been more careful and given more details. Is my question clear enough? Le dim. 28 ao=C3=BBt 2022 =C3=A0 21:15, Daniel Fleischer a =C3=A9crit : > Cletip Cletip [2022-08-28 Sun 18:34] wrote: > > > I may not have been specific enough: > > I want the tags also inherited with this "method" > https://orgmode.org/manual/Tag-Hierarchy.html. > > I think these are 2 mechanisms that only share the name "hierarchy". One > is headline hierarchy: a headline shares the tags of its ancestors. It's > local information, it's about the categories this headline are part of > because of its location in the document. > > The other mechanism is for grouping tags into families and is used in > the agenda; each family has a representative and you can search for it > instead of searching all the individual members. > > I think it makes sense, but you might want these to be related. > > -- > > Daniel Fleischer > --00000000000034ec0105e75fbe91 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks you for your answer,

Yes I understand= both perfectly. I think some people (like me) would like to connect them, = others would not want to bring them together.
But how to get the hierarc= hy (or the families) used by org agenda with a function like "org-get-= tags" ?

PS: sorry for the bad vocabulary, I followe= d the same name as the wiki, I should have been more careful and given more= details. Is my question clear enough?
=C2=A0
=
Le=C2= =A0dim. 28 ao=C3=BBt 2022 =C3=A0=C2=A021:15, Daniel Fleischer <danflscr@gmail.com> a =C3=A9crit=C2= =A0:
Cletip Clet= ip [2022-08-28 Sun 18:34] wrote:

> I may not have been specific enough:
> I want the tags also inherited with this "method" https://orgmode.org/manual/Tag-Hierarchy.html.

I think these are 2 mechanisms that only share the name "hierarchy&quo= t;. One
is headline hierarchy: a headline shares the tags of its ancestors. It'= s
local information, it's about the categories this headline are part of<= br> because of its location in the document.

The other mechanism is for grouping tags into families and is used in
the agenda; each family has a representative and you can search for it
instead of searching all the individual members.

I think it makes sense, but you might want these to be related.

--

Daniel Fleischer
--00000000000034ec0105e75fbe91--