From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: How to do Properties search by define an agenda command Date: Wed, 10 Nov 2010 19:30:10 +0100 Message-ID: <87mxphuj4d.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1604911984==" Return-path: Received: from [140.186.70.92] (port=55048 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGFR5-0001YC-19 for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 13:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGFR1-0005fX-9V for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 13:30:18 -0500 Received: from mailout110.xlhost.de ([213.202.242.110]:36296 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGFR1-0005fH-4S for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 13:30:15 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Chao LU Cc: emacs-orgmode@gnu.org --===============1604911984== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Nov_10_19:30:09_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Wed_Nov_10_19:30:09_2010-1 Content-Type: text/plain; charset=US-ASCII At Wed, 10 Nov 2010 02:59:58 -0500, Chao LU wrote: > I'm trying to figure out how to do Properties search by define an agenda > command. > > Here is my item in org file: > > *** Franz Schwabl / Quantum Mechanics > :PROPERTIES: > :TITLE: Quantum Mechanics > :AUTHOR: Franz Schwabl > :CATEGORY: Quantum Mechanics > :TAGS: Quantum Mechanics, Group Theory > :KEYWORD: Quantum Mechanics, Perturbation, Second Quantization > :LOCATION: iTune > :END: IIRC the space character of a property value must be escaped (%20) because Org uses the plain space character to separate multiple values in a property. So the drawer should look like: :PROPERTIES: :TITLE: Quantum%20Mechanics :AUTHOR: Franz%20Schwabl :CATEGORY: Quantum%20Mechanics :TAGS: Quantum%20Mechanics Group%20Theory :KEYWORD: Quantum%20Mechanics Perturbation Second%20Quantization :LOCATION: iTune :END: But now, sadly, that's all we've got. The search engine can only search for equal strings (e.g. TITLE="Quantum%20Mechanics") or regular expression and it does not handle multivalue properties. Looks like to use the intended functionality someone has to patch Org mode's tag search to handle multivalue properties. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Wed_Nov_10_19:30:09_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkza5LEACgkQma24O1pEeOYasAEAzxc/5hN4qkw8ebxmHM1fFNtj eWBx/IUgGkmNyt55OiAA/3SuNKj+fo9+rTBBvqYnh6FKb5KJjxaMzGweLChrHxDT =8STz -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Nov_10_19:30:09_2010-1-- --===============1604911984== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1604911984==--