From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Agenda filter by any tag seems to be broken Date: Thu, 19 May 2016 21:46:04 +0800 Message-ID: <87h9du6u03.fsf@ericabrahamsen.net> References: <87oa8a7hxp.fsf@ericabrahamsen.net> <8760udh644.fsf@ericabrahamsen.net> <87wpms3uu2.fsf@ericabrahamsen.net> <87eg8ywigz.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3OHQ-0006aT-VC for emacs-orgmode@gnu.org; Thu, 19 May 2016 09:46:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3OHM-0000W7-0K for emacs-orgmode@gnu.org; Thu, 19 May 2016 09:46:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:43033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3OHL-0000W1-PJ for emacs-orgmode@gnu.org; Thu, 19 May 2016 09:46:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b3OHK-0006GO-B3 for emacs-orgmode@gnu.org; Thu, 19 May 2016 15:46:18 +0200 Received: from 111.197.153.131 ([111.197.153.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 May 2016 15:46:18 +0200 Received: from eric by 111.197.153.131 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 May 2016 15:46:18 +0200 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > 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. Great, thanks a lot!