From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: How to filter agenda for Word1 OR Word2? Date: Fri, 11 Jul 2014 13:26:31 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5YyS-0005Qf-67 for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 07:26:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5YyK-0003TC-Mt for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 07:26:44 -0400 Received: from mout.web.de ([212.227.15.14]:61453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5YyK-0003Rm-ES for emacs-orgmode@gnu.org; Fri, 11 Jul 2014 07:26:36 -0400 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-mailinglist
I have a search result (created by a search agenda C-C a s) and I want to narrow it down further with additional criteria.
I tried to use the "=" key for "Narrow to entries matching regexp", but I did not find out how to combine several terms in here.
 
As long as I only enter one word, it works. But if I want to filter for criteria like
 
Word1 OR Word2
or (Word1 OR Word2) AND Word3
or (Word1 OR Word2) AND NOT (Word3 OR Word4)
 
I get no results just by entering
e.g. Word1|Word2
or Word1&Word2
 
I'm sure this is trivial, but I'm not an expert in regular expressions and currently don't see how to solve that.
:-(
 
Thanks a lot and kind regards
 
Martin