emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda filter by any tag seems to be broken
@ 2016-05-13  3:30 Eric Abrahamsen
  2016-05-16 18:28 ` Kaushal Modi
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Abrahamsen @ 2016-05-13  3:30 UTC (permalink / raw)
  To: emacs-orgmode

Is anyone else seeing this?

Go into a tags-type agenda, hit "/" to start filtering, then SPC for
"filter to any tag". That gives me this backtrace:

Debugger entered--Lisp error: (args-out-of-range "" 0 1)
  substring("" 0 1)
  (equal "{" (substring tag 0 1))
  (and (equal "{" (substring tag 0 1)) (equal "}" (substring tag -1)))

  org-agenda-filter-make-matcher-tag-exp(("+") 43)

Once ("+") is added to `org-agenda-tag-filter', all subsequent filtering
actions will fail, until you remove all filters with "/ /".

`org-agenda-filter-make-matcher-tag-exp' always removes the first
character of the tag-matcher string, and then operates on what's left.
In the case of "+", nothing's left!

Thanks,
Eric

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Agenda filter by any tag seems to be broken
@ 2016-05-13  3:30 Eric Abrahamsen
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Abrahamsen @ 2016-05-13  3:30 UTC (permalink / raw)
  To: emacs-orgmode

Apparently there's some networking devilry going on with gmane at the
moment, and this never got sent -- I'm trying again. Original message
was:



Is anyone else seeing this?

Go into a tags-type agenda, hit "/" to start filtering, then SPC for
"filter to any tag". That gives me this backtrace:

Debugger entered--Lisp error: (args-out-of-range "" 0 1)
  substring("" 0 1)
  (equal "{" (substring tag 0 1))
  (and (equal "{" (substring tag 0 1)) (equal "}" (substring tag -1)))

  org-agenda-filter-make-matcher-tag-exp(("+") 43)

Once ("+") is added to `org-agenda-tag-filter', all subsequent filtering
actions will fail, until you remove all filters with "/ /".

`org-agenda-filter-make-matcher-tag-exp' always removes the first
character of the tag-matcher string, and then operates on what's left.
In the case of "+", nothing's left!

Thanks,
Eric

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-05-19 13:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13  3:30 Agenda filter by any tag seems to be broken Eric Abrahamsen
2016-05-16 18:28 ` Kaushal Modi
2016-05-17  0:37   ` Eric Abrahamsen
2016-05-17 19:40     ` Kaushal Modi
2016-05-18  3:31       ` Eric Abrahamsen
2016-05-19  8:38         ` Nicolas Goaziou
2016-05-19 13:46           ` Eric Abrahamsen
2016-05-17  2:00   ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2016-05-13  3:30 Eric Abrahamsen

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).