epresent icon indicating copy to clipboard operation
epresent copied to clipboard

org_re

Open dodona2 opened this issue 2 years ago • 1 comments

Line: 411 
;; hide tags
    (when epresent-hide-tags
      (goto-char (point-min))
      (while (re-search-forward
              (org-re "^\\*+.*?\\([ \t]+:[[:alnum:]_@#%:]+:\\)[ \r\n]")
              nil t)
        (push (make-overlay (match-beginning 1) (match-end 1)) epresent-overlays)
        (overlay-put (car epresent-overlays) 'invisible 'epresent-hide)))

--> causes epresent.el: Warning: ‘org-re’ is an obsolete macro (as of 9.0); you can safely remove it.

--> however on removing
(org-re "^\\*+.*?\\([ \t]+:[[:alnum:]_@#%:]+:\\)[ \r\n]") --> causes all the bullets are missing

dodona2 avatar Feb 28 '23 16:02 dodona2

@dodona2 The deprecation message is certainly unclear – you can remove the call around the regeix. The regex is still necessary, but Emacs now supports that regex style directly. It previously (Emacs 23?) needed to have the [:alnum:] expanded before Emacs could parse it.

sellout avatar Jun 30 '23 21:06 sellout