From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: Weirdness with Agenda and "C-u r" Date: Sat, 16 Jan 2016 10:35:14 +0100 Message-ID: <84wpr9amul.fsf@gmail.com> References: <87lh7qxo3a.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKNGl-0000mQ-ST for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 04:35:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKNGg-0002HG-Nf for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 04:35:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:51606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKNGg-0002Gz-HJ for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 04:35:34 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aKNGc-0001it-HI for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 10:35:30 +0100 Received: from x5f719b26.dyn.telefonica.de ([95.113.155.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jan 2016 10:35:30 +0100 Received: from marcowahlsoft by x5f719b26.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jan 2016 10:35:30 +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: emacs-orgmode@gnu.org Eric Abrahamsen writes: > Something seems to have gone off with the `org-tags-view' Agenda view: > if I hit "C-u r" to search with another string, I get this traceback: > > Debugger entered--Lisp error: (invalid-function 4) > (4) > (org-tags-view (4) (if current-prefix-arg nil "publishing")) > (let nil (org-tags-view (4) (if current-prefix-arg nil "publishing"))) > eval((let nil (org-tags-view (4) (if current-prefix-arg nil "publishing")))) > org-let(nil (org-tags-view (4) (if current-prefix-arg nil "publishing"))) > org-agenda-redo((4)) > funcall-interactively(org-agenda-redo (4)) > call-interactively(org-agenda-redo nil nil) > command-execute(org-agenda-redo) > > I tried e-debugging `org-agenda-redo', but something magic happens when > it gets to the org-let, and no light was shed. > I seem to remember there have been some changes to the tag matching code > recently -- maybe that's it? Happy to bisect if necessary. FWIW I cannot reproduce the behavior you describe with commit 164555b4 having some files in `org-agenda-files' with some tags. Concretely with file #v+ * One :tag1: One. * Two :tag2: Two. #v- in `org-agenda-files' and the actions #v+ M-x org-tags-view tag1 C-u r tag2 #v- the agenda #v+ Headlines with TAGS match: tag2 Press ‘C-u r’ to search again with new search string tmp: Two :tag2: #v- appears. HTH, -- Marco Wahl GPG: 0x49010A040A3AE6F2