[ Adding Org ML back to CC ]

drlkf <[email protected]> writes:

> indeed
>
> however the occurrence in `org-set-font-lock-defaults' does not seem
> related, it's a table internal regexp

I was referring to

          (list (format
                 "^\\*+\\(?: +%s\\)?\\(?: +\\[#\\(?:%s\\)\\]\\)? 
+\\(?9:%s\\)\\(?: \\|$\\)"
                 org-todo-regexp
                 org-priority-value-regexp
                 org-comment-string)
                '(9 'org-special-keyword prepend))

> Subject: [PATCH] lisp/org.el: consolidate priority markers
>
> * lisp/org.el (org-priority-regexp, org-priority): consolidate
> priority markers into a single set of consts

If you can, could you provide the full changelog outlining every change
you do in the patch? See 
https://orgmode.org/worg/org-contribute.html#commit-messages

Also, you need to add TINYCHANGE cookie, unless you have FSF copyright
assignment. More details about the copyright assignment are in
https://orgmode.org/worg/org-contribute.html#copyright

> -  (let ((bad-priority-rx (rx line-start ?\[ ?#
> -                             (group (zero-or-more (not (in ?\[ ?\]))))
> -                             (group (zero-or-more ?\])))))
> +  (let ((bad-priority-rx
> +         (concat "^" (regexp-quote org-priority-prefix) "\\([^"
> +                 (regexp-quote (substring org-priority-suffix 0 1))
> +                 (regexp-quote (substring org-priority-prefix 0 1))
> +                 "]*\\)\\(" (regexp-quote org-priority-suffix) "*\\)")))

This regexp looks strange.
Could you please explain what you are trying to achieve in this regexp?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to