[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
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, (continued)
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, George Sokolsky, 2020/05/18
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, Bastien, 2020/05/18
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, George Sokolsky, 2020/05/18
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, Bastien, 2020/05/18
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, George Sokolsky, 2020/05/18
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, Kyle Meyer, 2020/05/18
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, Kyle Meyer, 2020/05/20
- Re: [PATCH] agenda: Consider FILETAGS for archive skipping, George Sokolsky, 2020/05/21
Re: Org-agenda ignores archive tag set by "#+FILETAGS: ARCHIVE", Bastien, 2020/05/24