From mboxrd@z Thu Jan  1 00:00:00 1970
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: Agenda filter by any tag seems to be broken
Date: Thu, 19 May 2016 10:38:20 +0200
Message-ID: <87eg8ywigz.fsf@saiph.selenimh>
References: <87oa8a7hxp.fsf@ericabrahamsen.net>
	<CAFyQvY1ke7GhV4QLt-AvW53LnSji44+F-iQ+NvYWH8iTxcn6YQ@mail.gmail.com>
	<8760udh644.fsf@ericabrahamsen.net>
	<CAFyQvY2N3nVk6Ab=mgJ9R=Ttdy2iM3osgHznL3nRkg17Qf0b6w@mail.gmail.com>
	<87wpms3uu2.fsf@ericabrahamsen.net>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54472)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@nicolasgoaziou.fr>) id 1b3JTi-0004ud-Us
	for emacs-orgmode@gnu.org; Thu, 19 May 2016 04:38:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@nicolasgoaziou.fr>) id 1b3JTh-0004gq-V5
	for emacs-orgmode@gnu.org; Thu, 19 May 2016 04:38:46 -0400
Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:52823)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@nicolasgoaziou.fr>) id 1b3JTh-0004gk-OS
	for emacs-orgmode@gnu.org; Thu, 19 May 2016 04:38:45 -0400
In-Reply-To: <87wpms3uu2.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of
	"Wed, 18 May 2016 11:31:49 +0800")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode/>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: "Emacs-orgmode"
	<emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org

Hello,

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Okay, there's the problem. In the org git repo, the code above has been
> that way since it was added in 2015. In the package-manager version,
> however, it now looks like this:
>
>       (let* ((tag (substring x 1))
> 	     (isregexp (and (equal "{" (substring tag 0 1))
> 			    (equal "}" (substring tag -1))))
> 	     regexp)
>
> And the `substring' calls raise the error. The code is the same in the
> "org" and "org-plus-contrib" packages.
>
> I don't know where the different code comes from, or who maintains it,
> or why it's different from the org git repo, but it would be nice if
> someone could look into fixing that!

Fixed. Thank you for the detailed report.


Regards,

-- 
Nicolas Goaziou