emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] [PATCH] Changes to Tag groups - allow nesting and regexps


From: Nicolas Goaziou
Subject: Re: [O] [RFC] [PATCH] Changes to Tag groups - allow nesting and regexps
Date: Wed, 25 Nov 2015 15:52:52 +0100

Gustav Wikström <address@hidden> writes:

> Hmm, since the error was thrown when trying to look at indexes outside
> of the string in (substring ... ), I don't see how isregexp can be
> left as is. We have to make sure the substring-code is not evaluated
> if the tag is empty. What am I missing?

Nothing, I was clear as mud.

  (cond
   ((string= "" tag) (setq f1 '(not tags)))
   ((and (equal "{" ...)
         (equal "}"...))
    ...)
   (t ...))

Or even

 ((and (string-prefix-p "{" ...)
       (string-suffix-p "}" ...)))

on master.

Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]