From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kER3NoNhsmGAcQAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 21:05:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8EYPMoNhsmFZWgAAB5/wlQ (envelope-from ) for ; Thu, 09 Dec 2021 20:05:23 +0000 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 7B97A65D0 for ; Thu, 9 Dec 2021 21:05:23 +0100 (CET) Received: from localhost ([::1]:36492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvPfN-00068j-IW for larch@yhetil.org; Thu, 09 Dec 2021 15:05:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvPdz-000682-Lo for emacs-orgmode@gnu.org; Thu, 09 Dec 2021 15:03:55 -0500 Received: from au.jabatus.fr ([109.234.163.49]:40741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvPdv-0004qg-Ne for emacs-orgmode@gnu.org; Thu, 09 Dec 2021 15:03:55 -0500 X-MailPropre-MailScanner-From: victor@svictor.net X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=-0.969, required 5, autolearn=disabled, GMAILCOM 0.01, RCVD_IN_DNSWL_HI 0.01, SPF_HELO_NONE 0.00, SPF_PASS -1.00, TOGMAIL 0.01) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 7587C10058E.A4AFC X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=svictor.net ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-reply-to:Date:Subject:Cc:To:From:References:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=V6xUOFHLGOtVvkSF9i3wEryUum1KIU4d+GH3mZddtmA=; b=oW57q0HymHAHMOPEjAQef/r/Ei 7JuGViUCryCNoR0gGjdFvqr3pSf0cNX6KPrgVEU3o519PSt0tCGI3Mpzp48GTniGjvzgsm4L4eD05 LqBzhFDnCcVoxUbmotJnPQi+YuQYYF2bGdOhpl7ZfpOFaS5kyzwjuH50rHXIBH33stgg=; References: <87ilx5ws5j.fsf@svictor.net> <5046398.lFmPd3n6S9@pluto> From: "Victor A. Stoichita" To: chris Subject: Re: org-tag-persistent-alist AND per-file dynamic tags Date: Thu, 09 Dec 2021 20:35:05 +0100 In-reply-to: <5046398.lFmPd3n6S9@pluto> Message-ID: <87mtl9ft1f.fsf@svictor.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - pam.o2switch.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - svictor.net X-Get-Message-Sender-Via: pam.o2switch.net: authenticated_id: victor@svictor.net X-Authenticated-Sender: pam.o2switch.net: victor@svictor.net X-Source: X-Source-Args: X-Source-Dir: Received-SPF: pass client-ip=109.234.163.49; envelope-from=victor@svictor.net; helo=au.jabatus.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639080323; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=V6xUOFHLGOtVvkSF9i3wEryUum1KIU4d+GH3mZddtmA=; b=Ts6mqDMBvKZI+qIq/nY+Dyow7LAEWQ1tmMZiNGFDDxFQ8iMFqHpIfsbTyhl1nzDKP9FpHx Nu+cs47oVtVGMfXL9RbmmEJ0mfK0b/jkHJ8O/nXG/BL06pUhOpv3QT3gb0+8GfMeDd2w+J Qj8MV4lMf4i8y0cuKfP5XJ8RfOXmX3tPtvdyipU3TPaDwqYAUlghjpXskUm3yBW1P33Vkl MSjDAxvXviBQPnh0FYvV/ol6hr88p39DrpMJUWKp5friUGz+xduuPOgWmbvhirgc74K7K4 /9dw5NvEEb77Fc1ueYLDKuuCpQTiNgl+iMUYJzI34mAjTnXtPeviwLIJaP2Vjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639080323; a=rsa-sha256; cv=none; b=jWnZwRB66QQqmclF9wv/zS1RbbJExXA1aK1j+fUvaZv6IM70yW2Ot8Vbp6tRSwZ+5Zb6/T B40smFXIXsj/GoXVmaoFtDZZSq9h1jaq/+aTvN6WP8gxqOEpXM5iss2eWqbn2hB1wQTv3X 3Trt6hHkii5Txav/AI6RJxyqyKO6yOT2Sc+8x+80aGvvPbP/C3H2Z2i0rj2Dv/WrYMLeoZ NKfvJ/j7CyjZCGB9/UaqGNdTAePJ1dWfFKRFNiSyX/grvF0wvCGEGKXU5fXclkmPiwmUuh X8B2z8dxZWkUlIsFqls4Pka38zJ9Gcm+85ot9ZXj+cRwrPzOuLHYQM+Jt6apjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=svictor.net header.s=default header.b=oW57q0Hy; 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: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=svictor.net header.s=default header.b=oW57q0Hy; 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: 7B97A65D0 X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: GesNbrzOr2dc Hi Chris, Le 29 Nov 2021, chris a =C3=A9crit : > I use footnote 53 from https://orgmode.org/manual/Setting-Tags.html[1]. > I put my tags in `tags-file.org`, using `#+TAGS:`. > I've put the next two lines in `init.el`. > > (setq org-agenda-files (list "~/path-to/tags-file.org") > org-complete-tags-always-offer-all-agenda-tags t) > > And I have completion on both the tags in `tags-file.org` and tags in > the current buffer. I don't use `org-tag-alist`, so the comments made > in https://emacs.stackexchange.com/q/ 69369#comment111307_69369[2], > would not apply. That=E2=80=99s great! It=E2=80=99s exactly what I needed. I=E2=80=99ll just= switch my persistent tags from org-tag-alist to an agenda file. This is also neater as it will get them out of my init files, where I didn=E2=80=99t feel that they really belonged. > I use a script to collect the tags, based on Kitchin's https://stackoverf= low.com/a/27527252[3], and help from `#emacs`. > [=E2=80=A6] > The tags are sorted by frequency, which is not necessary > here, but it's really nice. > [=E2=80=A6] Thanks for this as well! It=E2=80=99s nice to have it. For the moment, I cu= rate manually these "persistent" tags, because i want to have them grouped hierarchically. But knowing how to collect them automatically might be useful for me as well in the future! Cheers, Victor