From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Zhao Subject: Re: Document of org-map-entries Date: Fri, 14 Oct 2016 00:05:26 -0400 Message-ID: References: <87vawwx3db.fsf@gmail.com> <8760ow9r8e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114e3e9a14902e053ecb56fd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1butkO-0005jq-TZ for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 00:05:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1butkN-0003t9-KG for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 00:05:28 -0400 Received: from mail-yw0-x22e.google.com ([2607:f8b0:4002:c05::22e]:34566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1butkN-0003sz-Ek for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 00:05:27 -0400 Received: by mail-yw0-x22e.google.com with SMTP id w3so67436795ywg.1 for ; Thu, 13 Oct 2016 21:05:27 -0700 (PDT) In-Reply-To: <8760ow9r8e.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nick Dokos Cc: emacs-orgmode --001a114e3e9a14902e053ecb56fd Content-Type: text/plain; charset=UTF-8 @Nick: Thanks for the explanation, it's very kind of you! @John: You are right, this actually works. However, this will also exclude the trees whose property value is empty, for example, the following tree will be excluded, which will not be excluded if "myproperty<>nil" syntax works: * Tree :PROPERTIES: :myproperty: :END: But there's probably no point to have such empty property after all. So you approach is acceptable. Thanks! Regards, York On Thu, Oct 13, 2016 at 11:57 AM, Nick Dokos wrote: > York Zhao writes: > > > Thank you very much Nick. > > > > (info "(org) Using the mapping API") was the first doc I read which has > very little information on how > > to use the "match" parameter. (info "(org) Matching tags and > properties") does have a lot more detail > > though. > > > > Understood - I like to give more complete information for two reasons: > > 1) I don't know what you have seen already, so maybe I can save an > exchange or two on the list by being more complete - and if you > have seen it already, no harm done. > > 2) Perhaps I'm fooling myself, but I like to think that somebody down > the line is going to have the same question, and if gmane ever > comes back :-), they might be able to search the list and find the > information that they need without having to send an email to the > list (or even if they do, somebody might be around who remembers > and can do the search and reply with "See this message"). > > So no disparagement/offense meant at all, that is just my modus operandi. > > Regards, > -- > Nick > > > --001a114e3e9a14902e053ecb56fd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
@Nick:

Thanks for the explanation, it'= ;s very kind of you!

@John:

You are right, this actually work= s. However, this will also exclude the trees
whose property value is emp= ty, for example, the following tree will be excluded,
which will not be = excluded if "myproperty<>nil" syntax works:

* Tree:PROPERTIES:
:myproperty:
:END:

But there's probably no = point to have such empty property after all. So you
approach is acceptab= le. Thanks!

Regards,

York

=

On Th= u, Oct 13, 2016 at 11:57 AM, Nick Dokos <ndokos@gmail.com> wr= ote:
York Zhao <gtdplatform@gmail.com> writes:
> Thank you very much Nick.
>
> (info "(org) Using the mapping API") was the first doc I rea= d which has very little information on how
> to use the "match" parameter.=C2=A0 (info "(org) Matchi= ng tags and properties") does have a lot more detail
> though.
>

Understood - I like to give more complete information for two reason= s:

1) I don't know what you have seen already, so maybe I can save an
=C2=A0 =C2=A0exchange or two on the list by being more complete - and if yo= u
=C2=A0 =C2=A0have seen it already, no harm done.

2) Perhaps I'm fooling myself, but I like to think that somebody down =C2=A0 =C2=A0the line is going to have the same question, and if gmane ever=
=C2=A0 =C2=A0comes back :-), they might be able to search the list and find= the
=C2=A0 =C2=A0information that they need without having to send an email to = the
=C2=A0 =C2=A0list (or even if they do, somebody might be around who remembe= rs
=C2=A0 =C2=A0and can do the search and reply with "See this message&qu= ot;).

So no disparagement/offense meant at all, that is just my modus operandi.
Regards,
--
Nick



--001a114e3e9a14902e053ecb56fd--