From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: How to filter agenda for Word1 OR Word2? Date: Sat, 12 Jul 2014 14:40:22 +0200 Message-ID: <87oawulphl.fsf@gmail.com> References: <87egxrpj9d.fsf@mailbox.org> <8761j3m1mc.fsf@gmail.com> <877g3ipxvv.fsf@mailbox.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5wbY-0002VT-QS for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 08:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5wbS-0006jl-UV for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 08:40:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:37308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5wbS-0006jX-Ip for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 08:40:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X5wbR-0005IU-3o for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 14:40:33 +0200 Received: from g231226016.adsl.alicedsl.de ([92.231.226.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jul 2014 14:40:33 +0200 Received: from tjolitz by g231226016.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jul 2014 14:40:33 +0200 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 Alexander Baier writes: > On 2014-07-12 10:18 Thorsten Jolitz wrote: >> Alexander Baier writes: >>> Using \(Word1\)\|\(Word2\) works for me. If you find it troublesome to >>> type a lot of these escaped parens, you might want to try >>> smartparens-mode for auto insertion of the closing _escaped_ paren. >>> >> I always wondered how this C-c a s search should work. I can only enter >> one word, just like the OP. > > I forgot to mention that I did not use C-c a s, but created an agenda > and pressed = to start a regexp-match. Yes, then the usual regexp syntax works: ,---- | \(foo\|bar\) `---- but what about filtering in the agenda (in search view), using {} []? Either this is broken and does nothing or I do not really understand what ,---- | http://orgmode.org/manual/Filtering_002flimiting-agenda-items.html `---- tries to tell me ... -- cheers, Thorsten