From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Unable to filter agenda to show only non-tagged items Date: Tue, 24 Nov 2015 11:39:38 -0500 Message-ID: <87egffgxmd.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Gd9-0002PQ-9X for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 11:39:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Gd5-0006I6-W0 for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 11:39:47 -0500 Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:53009 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Gd5-0006Ho-Ry for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 11:39:43 -0500 In-Reply-To: (sgeorgii .'s message of "Tue, 24 Nov 2015 12:15:12 +0300") 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: "sgeorgii ." Cc: emacs-orgmode@gnu.org Hello, "sgeorgii ." writes: > Hello! > > Having installed latest org 8.3.2 I am now having the subject problem: > > M-x org-agenda > > When in agenda: > > / (filter) > > TAB (filter by tag) > > (without entering any tags for "Tag:" question) > > Before this gave me agenda view filtered to show only non-tagged items. > I believe this was right and just fine. > > Now I have error: > > Debugger entered--Lisp error: (args-out-of-range "" 0 1) > org-agenda-filter-make-matcher-tag-exp(("+") 43) > org-agenda-filter-make-matcher(("+") tag t) > org-agenda-filter-apply(("+") tag t) > org-agenda-filter-by-tag(nil) > call-interactively(org-agenda-filter-by-tag nil nil) > command-execute(org-agenda-filter-by-tag) I believe 6c6ae99 (org-agenda: Filtering in the agenda on grouptags, 2015-01-24) changed this behavior. The discussion about these changes is here (sorry, the gmane web interface is down for me): https://lists.gnu.org/archive/html/emacs-orgmode/2015-01/msg00618.html org-agenda-filter-by-tag should be fixed to handle the empty tag case that causes the error above, either by behaving as before or by giving a clear error. I haven't looked closely enough at the changes or the discussion to guess whether that commit intended to preserve the empty tag behavior you were relying on. Is that behavior documented anywhere? -- Kyle