emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: "sgeorgii ." <sgeorgii@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to filter agenda to show only non-tagged items
Date: Tue, 24 Nov 2015 11:39:38 -0500	[thread overview]
Message-ID: <87egffgxmd.fsf@kyleam.com> (raw)
In-Reply-To: <CA+2xvWkNhrHzyFc5uKwE8B2dW6pvVZDAirJi-3JhVYYsyXCfNA@mail.gmail.com> (sgeorgii .'s message of "Tue, 24 Nov 2015 12:15:12 +0300")

Hello,

"sgeorgii ." <sgeorgii@gmail.com> 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)
>
> <Enter> (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

  reply	other threads:[~2015-11-24 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24  9:15 Unable to filter agenda to show only non-tagged items sgeorgii .
2015-11-24 16:39 ` Kyle Meyer [this message]
2015-11-25  7:53   ` sgeorgii .

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egffgxmd.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sgeorgii@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).