From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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> <8760udh644.fsf@ericabrahamsen.net> <87wpms3uu2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) 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 ) 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 ) 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." 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" To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen 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