emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org-agenda ignores archive tag set by "#+FILETAGS: ARCHIVE"


From: George Sokolsky
Subject: Re: Org-agenda ignores archive tag set by "#+FILETAGS: ARCHIVE"
Date: Mon, 25 May 2020 10:28:18 +0200

Kyle Meyer <address@hidden> writes:

> Bastien writes:
>
>> George Sokolsky <address@hidden> writes:
>>
>>> I have .org files with  "#+FILETAGS: ARCHIVE" headers.
>>
>> Shouldn't it be "#+FILETAGS: :ARCHIVE:" instead? 
>>
>> (Note the columns.)
>
> Despite being the documented form, org-set-regexps-and-options will
> handle entries "tag1 [tag2 ...]" as well:
>
>     (cl-mapcan (lambda (value)
>                  (cl-mapcan
>                   (lambda (k) (org-split-string k ":"))
>                   (split-string value)))
>                (cdr (assoc "FILETAGS" alist)))

Indeed, space-separated list of tags is handled correctly as well by the
org, despite columns-separated being the official form:
https://orgmode.org/manual/Tag-Inheritance.html


>>> I want items from these .org files to be hidden by default from results
>>> of "org-agenda" -> "s Search for keywords" by default.
>>>
>>> This is not the case, unfortunately.
>>
>> Can you be so kind as to test with latest Org from maint or master?
>
> Earlier this week I applied the patch from a sibling message of this
> thread (5e2490bdf), so maint and master no longer behave as initially
> reported (hopefully :>).

I happily confirm that org 20200525 behaves correctly.

Thank you
George



reply via email to

[Prev in Thread] Current Thread [Next in Thread]