emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "sgeorgii ." <sgeorgii@gmail.com>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to filter agenda to show only non-tagged items
Date: Wed, 25 Nov 2015 10:53:43 +0300	[thread overview]
Message-ID: <CA+2xvW=BNvmpn+mpdEGdFSuw-jto_ft83zcgsahRwyO_OxhfVQ@mail.gmail.com> (raw)
In-Reply-To: <87egffgxmd.fsf@kyleam.com>

Thank you Kyle. I wrote to that tread - hope they might be able to help me.
Regarding the above behavior being documented - I believe not. The
reason I believe it does not require specific documentation. Because
this is default behavior to filter by empty tag. How else would one
filter to get only non-tagged items in agenda? This way came to me
naturally and I used it ever since until it stopped working in recent
version of Org. Hope someone could get this use case incorporated or
advice on another way of filtering only non-tagged items in agenda.

On 24 November 2015 at 19:39, Kyle Meyer <kyle@kyleam.com> wrote:
> 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-25  7:53 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
2015-11-25  7:53   ` sgeorgii . [this message]

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='CA+2xvW=BNvmpn+mpdEGdFSuw-jto_ft83zcgsahRwyO_OxhfVQ@mail.gmail.com' \
    --to=sgeorgii@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.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).