From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: [feature request] Org as an Excerpt Database (or Multivalue Properties) Date: Sun, 11 Dec 2011 00:09:48 +0000 (UTC) Message-ID: References: <87borgnljt.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZWzS-0005rp-MZ for emacs-orgmode@gnu.org; Sat, 10 Dec 2011 19:10:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZWzR-0007Rr-Jp for emacs-orgmode@gnu.org; Sat, 10 Dec 2011 19:10:02 -0500 Received: from lo.gmane.org ([80.91.229.12]:52582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZWzR-0007RZ-B8 for emacs-orgmode@gnu.org; Sat, 10 Dec 2011 19:10:01 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RZWzP-0004oG-Pp for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 01:10:00 +0100 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Dec 2011 01:09:59 +0100 Received: from hesitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Dec 2011 01:09:59 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sven Bretfeld gmx.ch> writes: > > > A property search for "code-writing" should match this citation and all > others with this property. An additional search for "career" should > narrow the matches down. But orgmode understands "money, ... ethics" as > ONE value, not FOUR. That's the problem. Sven -- I think you should be able to get results you want using "regular expression" searches on your 'keyword' field. E.g., the following tags-todo search should find headings that have both 'career' and 'code-writing' in a 'keyword' property: keyword={career}keyword={code-writing} This search would find headings that had one or the other or both: keyword={career\|code-writing} Regular expressions start out simple but can get very complex. I expect there's a way to get whatever you want out of the "multi-value" property strings you want to use. -- Herb