From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sven Bretfeld" Subject: Re: [feature request] Org as an Excerpt Database (or Multivalue Properties) Date: 11 Dec 2011 17:21:27 +0100 Message-ID: <87hb17yt88.fsf@gmx.ch> References: <87borgnljt.fsf@gmx.ch> <4EE46330.4070902@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZm9d-0006QL-5b for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 11:21:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZm9b-0006A1-Az for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 11:21:33 -0500 Received: from mi.ruhr-uni-bochum.de ([134.147.64.33]:48039 helo=mx5.rz.ruhr-uni-bochum.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RZm9b-00069v-2w for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 11:21:31 -0500 In-Reply-To: <4EE46330.4070902@christianmoe.com> (Christian Moe's message of "Sun, 11 Dec 2011 09:00:48 +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: mail@christianmoe.com Cc: emacs-orgmode@gnu.org, Herbert Sitz Hi Christian and Herbert Christian Moe writes: > I've successfully used the regular expression searches Herbert Sitz > describes to search and query a small (~ 500 kB) Org database of all > my source materials (text clippings) for a project, where some of the > properties I used had multiple values. > > You will find Matt Lundin's Advanced searching tutorial invaluable: > > http://orgmode.org/worg/org-tutorials/advanced-searching.html > > Org has some basic support for multivalue properties, mainly for > editing (getting, putting, adding, removing) and also a membership > test. See the manual: > > [[info:org#Using%20the%20property%20API]] > > Note that unlike your example setup, the values are not comma-separated. > > The multivalue support does not, as far as I remember, extend to match > expressions for searches etc. This would probably be non-trivial to > implement. Something could probably be cobbled up with > org-entry-member-in-multivalued-property. But regexp searches are > fairly simple to use, and work now. This is a fairly good solution. Thanks for hinting me to that solution and the worg-site. After having worked with regexp-searches for a day, I see that I can do what I want. Anyway it's quite an amount of typing. For some reasons I noticed a strange bug (?) connected to regexp-searches. Whenever I do a org-tags-view, some of my org-files get the double asterisk in the status-bar. They haven't changed but Emacs tells me that they had. This always happens to the same three files, other org-files are untouched. Does anybody else have that phenomenon? Greetings, Sven