[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Parser - which values are possible for `archivedp'?
From: |
Nick Dokos |
Subject: |
Re: [O] Parser - which values are possible for `archivedp'? |
Date: |
Tue, 04 Mar 2014 10:44:52 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Thorsten Jolitz <address@hidden> writes:
>> > So if non-nil, it will be a list of tags, starting with the
>> value of
>> > org-archive-tag. AFAICT, the rest of the tags can be arbitrary.
>>
>>
>>
>> ** Second Level 2 :tag:my:ARCHIVE:
>>
>>
>> ,------------------------------------------------
>> | :tags ("tag" "my") [...] :archivedp ("ARCHIVE")
>> `------------------------------------------------
>>
>> Change the order of the tags so that Archive comes before the others
>> and you get:
>>
>> ** Second level 2 :ARCHIVE:tag:my:
>> :tags ("tag" "my") :archivedp ("ARCHIVE" "tag" "my")
>
> A very useful feature of the `member' function in lisp programming, but
> not that great in this case I would say ... why not use (car (member ...))?
> Then its just a string, and the single value of interest.
Why? All that matters is whether it's nil or not.
Nick
Re: [O] Parser - which values are possible for `archivedp'?, Thorsten Jolitz, 2014/03/04