From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Agenda: Invalid Function 4 [8.3.4 (release_8.3.4-702-gcd47ab @ ~/.emacs.d/packages/org-mode/lisp/)] Date: Tue, 05 Apr 2016 23:34:07 +0200 Message-ID: <87vb3v4u5s.fsf@nicolasgoaziou.fr> References: <87fuuzg7ij.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anYZu-0002mb-TR for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 17:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anYZu-0002MK-3n for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 17:32:02 -0400 In-Reply-To: <87fuuzg7ij.fsf@gnu.org> (Ian Dunn's message of "Tue, 05 Apr 2016 15:50:12 -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: Ian Dunn Cc: emacs-orgmode@gnu.org Hello, Ian Dunn writes: > (setq org-agenda-query-string match) > (setq org-agenda-redo-command > (list 'org-tags-view > - org--matcher-tags-todo-only > + (list 'quote org--matcher-tags-todo-only) > `(if current-prefix-arg nil ,org-agenda-query-string))) > (setq files (org-agenda-files nil 'ifmode) > rtnall nil) > > If my patch doesn't work, I at least hope it helps everyone figure out > the real problem. Thank you. I applied it with a slight change (using backquote syntax). Regards, -- Nicolas Goaziou