0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 09:32:51 +00:00
org-mode/lisp
Kyle Meyer b1de0c8e4b Fix regression in priority fontification
* lisp/org-agenda.el (org-agenda-fontify-priorities):
* lisp/org.el (org-font-lock-add-priority-faces): Fontify up to the
end of the closing bracket of the priority, as was the case before
v9.4.

7b1077def (Tiny enhancements to priority handling, 2020-01-30)
switched org-agenda-fontify-priorities and
org-font-lock-add-priority-faces over to using org-priority-regexp
rather than inline regexps.  For the inline regexps, the first group
ended at the closing bracket, but the first group in
org-priority-regexp includes an optional space, leading to the face
extending one character too far.

Restore the bound to the closing bracket by determining the bound
based on the second group, the priority label, instead.

Reported-by: Roman Rudakov <rrudakov@pm.me>
Helped-by: Protesilaos Stavrou <info@protesilaos.com>
Ref: https://orgmode.org/list/87r1r2kh77.fsf@pm.me
2020-10-11 02:04:11 -04:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-abc.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-asymptote.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-awk.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-C.el Merge branch 'maint' 2020-09-04 12:12:37 +02:00
ob-calc.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-clojure.el ob-clojure.el: More minor refinements 2020-02-17 02:38:02 +01:00
ob-comint.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-coq.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-core.el ob-core: Fix handling of multiple noweb refs in same line 2020-09-15 23:45:16 -04:00
ob-css.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ditaa.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-dot.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ebnf.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-emacs-lisp.el ob-emacs-lisp.el: Don't wrap execution within `save-window-excursion' 2020-09-07 07:37:19 +02:00
ob-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eval.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-exp.el Skip archived headings when tangling and exporting 2020-09-07 06:51:06 +02:00
ob-forth.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-fortran.el Backport commit 770f76f05 from Emacs 2020-03-15 22:51:31 -04:00
ob-gnuplot.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-groovy.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-haskell.el ob-haskell: Introduce :compile header argument 2020-05-25 09:17:14 +02:00
ob-hledger.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-io.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-J.el ob-J.el: Add a maintainer 2020-09-05 08:06:01 +02:00
ob-java.el Merge branch 'maint' 2020-09-06 11:50:36 +02:00
ob-js.el Merge branch 'maint' 2020-05-22 16:08:33 +02:00
ob-latex.el Merge branch 'maint' 2020-05-10 14:54:36 +02:00
ob-ledger.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-lilypond.el Various minor fixes 2020-02-18 23:24:09 +01:00
ob-lisp.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-lob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lua.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-makefile.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-matlab.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-maxima.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-mscgen.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ocaml.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-octave.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-org.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-perl.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-picolisp.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-plantuml.el Backport commit c6fa0ad31 from Emacs 2020-10-04 15:06:39 -04:00
ob-processing.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-python.el ob-python: Fix hanging on emacs-26.3 by adding indicator token 2020-09-09 06:24:07 -07:00
ob-R.el lisp/ob-R.el: Don't throw an error when result cannot be parsed 2020-05-24 16:08:52 +02:00
ob-ref.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ruby.el Backport commit c6fa0ad31 from Emacs 2020-10-04 15:06:39 -04:00
ob-sass.el Backport commit c6fa0ad31 from Emacs 2020-10-04 15:06:39 -04:00
ob-scheme.el ob-scheme.el: Add support for `geiser-scheme-implementation' 2020-06-08 10:46:08 +02:00
ob-screen.el ob-screen: Quote session name before passing to string-match 2020-07-15 23:28:00 -04:00
ob-sed.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-shell.el ob-shell.el: New option `org-babel-shell-results-defaults-to-output' 2020-09-07 19:30:04 +02:00
ob-shen.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-sql.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-sqlite.el Merge branch 'maint' 2020-09-06 11:59:31 +02:00
ob-stan.el Backport commit c6fa0ad31 from Emacs 2020-10-04 15:06:39 -04:00
ob-table.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-tangle.el Skip archived headings when tangling and exporting 2020-09-07 06:51:06 +02:00
ob-vala.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-bbdb.el lisp/ol-bbdb.el: Tiny formatting enhancements 2020-05-23 10:32:43 +02:00
ol-bibtex.el Backport commit 78eacf31e from Emacs 2020-10-04 15:06:39 -04:00
ol-docview.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-eshell.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-eww.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-gnus.el ol-gnus: Prefer nnselect to nnir if available 2020-09-07 23:19:15 -04:00
ol-info.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-irc.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-mhe.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-rmail.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-w3m.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol.el ol.el: Fix store and insert link in indirect buffer 2020-09-04 17:59:21 +02:00
org-agenda.el Fix regression in priority fontification 2020-10-11 02:04:11 -04:00
org-archive.el Merge branch 'maint' 2020-04-12 01:44:21 -04:00
org-attach-git.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-attach.el Merge branch 'maint' 2020-07-08 00:12:06 -04:00
org-capture.el org-capture.el: Fix heading's position when inserting a template "here" 2020-10-03 02:22:47 -04:00
org-clock.el Merge branch 'maint' into master 2020-08-23 22:39:44 -04:00
org-colview.el Merge branch 'maint' 2020-05-12 22:47:05 -04:00
org-compat.el Merge branch 'maint' 2020-08-10 20:38:18 -04:00
org-crypt.el org.el (org-end-of-meta-data): Allow to skip only standard drawers 2020-09-13 18:36:15 +02:00
org-ctags.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-datetree.el org-datetree.el: Respect `org-blank-before-new-entry' 2020-09-09 10:07:29 +02:00
org-duration.el Add `generated-autoload-file' buffer local variable 2020-02-18 23:37:24 +01:00
org-element.el org-element: Swap pcase patterns to avoid Emacs 24 error 2020-09-16 21:53:57 -04:00
org-entities.el entities: Fix "empty" entity in LaTeX 2020-10-04 14:53:18 +02:00
org-faces.el org-faces.el (org-block): Enhance docstring 2020-09-10 11:19:55 +02:00
org-feed.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-footnote.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-goto.el Merge branch 'maint' 2020-09-05 09:41:42 +02:00
org-habit.el habit: Fix of the fix of color for very first done of a habit 2020-07-04 12:44:13 +02:00
org-id.el id: Fix error about `agenda-archives' 2020-07-14 19:07:14 +02:00
org-indent.el org-indent.el: Deprecate `org-hide-leading-stars-before-indent-mode' 2020-02-20 15:17:21 +01:00
org-inlinetask.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-keys.el Bind `org-force-cycle-archived' to C-c C-TAB 2020-06-01 14:39:28 +02:00
org-lint.el Fix `org-lint-link-to-local-file'. 2020-09-26 10:34:59 +02:00
org-list.el list: Fix item insertion when split point is near blanks 2020-08-16 11:42:53 +02:00
org-macro.el macro: Small refactoring. 2020-04-26 22:57:47 +02:00
org-macs.el org-macs.el: Silence byte-compiler under 'make single' 2020-07-15 23:37:21 -04:00
org-mobile.el Fix org menu initialization 2020-02-07 16:26:31 +01:00
org-mouse.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
org-num.el Backport commit 78eacf31e from Emacs 2020-10-04 15:06:39 -04:00
org-pcomplete.el Silence byte-compiler 2020-06-03 16:52:20 +02:00
org-plot.el lisp/org-plot.el: Add a maintainer 2020-09-08 09:14:54 +02:00
org-protocol.el org-protocol: Allow slashes after sub-protocol 2020-05-22 17:54:41 +02:00
org-refile.el Fix loading issues related to org-refile.el move 2020-04-26 01:29:33 -04:00
org-src.el src: Do not undo edit buffers back to empty state 2020-07-02 19:30:14 +02:00
org-table.el Backport commit c6fa0ad31 from Emacs 2020-10-04 15:06:39 -04:00
org-tempo.el org-tempo.el: Fix bug 2020-02-03 18:22:55 +01:00
org-timer.el org-timer.el: Remove useless `or' conditional 2020-03-02 15:55:45 +01:00
org.el Fix regression in priority fontification 2020-10-11 02:04:11 -04:00
ox-ascii.el Do not leak "attachment" links 2020-02-22 14:22:49 +01:00
ox-beamer.el Extend export tooling in link parameters 2020-02-19 18:41:37 +01:00
ox-html.el html: Improve consistency on internal anchors naming scheme 2020-09-09 10:23:28 +02:00
ox-icalendar.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ox-latex.el ox-latex: Fix links to files with name matching an image type 2020-08-16 12:01:20 +02:00
ox-man.el Do not leak "attachment" links 2020-02-22 14:22:49 +01:00
ox-md.el ox-md: Fix docstring. 2020-06-28 08:44:11 +02:00
ox-odt.el Use `org-preview-latex-image-directory' instead of hardcoding 2020-09-05 10:41:36 +02:00
ox-org.el Extend export tooling in link parameters 2020-02-19 18:41:37 +01:00
ox-publish.el publish: Fix site-map file name 2020-04-18 18:22:28 +02:00
ox-texinfo.el Merge branch 'maint' into master 2020-09-07 21:23:16 -04:00
ox.el Backport commit c6fa0ad31 from Emacs 2020-10-04 15:06:39 -04:00