From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: After org-agenda-tag-filter-preset, (search ".") seems to break. Date: Mon, 20 Oct 2014 14:45:10 +0200 Message-ID: <87oat69ag9.fsf@bzg.ath.cx> References: <87mw8rxcb0.fsf@uw.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgCKt-0006rH-JJ for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 08:45:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgCKn-0002el-JR for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 08:45:19 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:60238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgCKn-0002eZ-CG for emacs-orgmode@gnu.org; Mon, 20 Oct 2014 08:45:13 -0400 Received: by mail-wg0-f51.google.com with SMTP id b13so5325675wgh.10 for ; Mon, 20 Oct 2014 05:45:12 -0700 (PDT) In-Reply-To: <87mw8rxcb0.fsf@uw.edu> (Brady Trainor's message of "Mon, 20 Oct 2014 03:31:15 -0700") 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: Brady Trainor Cc: emacs-orgmode@gnu.org Hi Brady, Brady Trainor writes: > For a global search, the result of custom command `g' seems to work, > while the custom command `f' fails. I am guessing this has to do with > `search' block is not tied in strongly to the greater set of custom > command tools, but wanted to bring it to your attention in case it was > found to be unwanted behavior. > > #+BEGIN_SRC emacs-lisp > (setq org-agenda-custom-commands > '(("g" "Global search" > ((search "."))) > ("f" "Global search after tag filter" > ((search ".")) > ((org-agenda-tag-filter-preset '("+work")))))) > #+END_SRC > > In other words, the regexp wildcard `.' works with `(search ".")' > alone, but seems to fail after a tag-filter, i.e. only headlines with > periods in them work. I cannot reproduce this: with your custom agenda views, when I hit `C-c a f' in my agendas (with a different tag matching something here) I do get a list of all items with the tag, including items that don't have a dot in them. Can you share a reproducible recipe with a minimal example? Thanks, -- Bastien