From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Parser - which values are possible for `archivedp'?
Date: Tue, 04 Mar 2014 10:44:52 -0500 [thread overview]
Message-ID: <87y50q55or.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 871tyiko2w.fsf@gmail.com
Thorsten Jolitz <tjolitz@gmail.com> 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
next prev parent reply other threads:[~2014-03-04 15:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 14:16 Parser - which values are possible for `archivedp'? Thorsten Jolitz
2014-03-04 14:35 ` Nick Dokos
2014-03-04 14:47 ` Thorsten Jolitz
2014-03-04 14:51 ` Jonathan Leech-Pepin
2014-03-04 14:58 ` Thorsten Jolitz
2014-03-04 15:44 ` Nick Dokos [this message]
2014-03-04 16:19 ` Thorsten Jolitz
2014-03-04 14:52 ` Thorsten Jolitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y50q55or.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.