From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] [PATCH] Changes to Tag groups - allow nesting and regexps Date: Thu, 26 Nov 2015 09:21:50 +0100 Message-ID: <877fl5jhlt.fsf@nicolasgoaziou.fr> References: <87ziy28ccw.fsf@nicolasgoaziou.fr> <87r3je8723.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1rmj-0006qf-9W for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 03:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1rmi-0005Iq-82 for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 03:20:09 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1rmi-0005El-24 for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 03:20:08 -0500 In-Reply-To: ("Gustav \=\?utf-8\?Q\?Wikstr\=C3\=B6m\=22's\?\= message of "Wed, 25 Nov 2015 15:39:18 +0000") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gustav =?utf-8?Q?Wikstr=C3=B6m?= Cc: "sgeorgii ." , "emacs-orgmode@gnu.org" Gustav Wikstr=C3=B6m writes: > Taking your comments and improving the first patch a bit resulted in > the attached one. It replaces the previous. Using string-prefix-p and > string-suffix-p solves the out of index problem in the substrings. Applied. Thank you. I modified a bit the patch however, since my suggestion about using `string-suffix-p' doesn't hold: it isn't compatible with Emacs 24.3. I also removed a bunch of `setq'. Regards,