Re: Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.

2021-08-31 Thread Timothy
Hi Maxim, > Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data > [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! > /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and > /mnt/c/Users/toz/.emacs.d/elpa/org-plus-contrib-20200615/) > > Notice “mixed instal

Re: Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.

2021-08-25 Thread Maxim Nikulin
In my previous message I forgot to mention the subject of the initial bug report: Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.emacs.d/elpa

Re: Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.

2021-08-24 Thread Tobias Zawada
Dear Timothy and Maxim, the bug was caused by an advice. I am really sorry for the trouble I inflicted on you. Next time I will test more carefully. Btw, I corrected the real problem already in https://github.com/TobiasZawada/org-src-emph. Regards, Tobias Zawada

Re: Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.

2021-08-24 Thread Maxim Nikulin
On 23/08/2021 14:45, Timothy wrote: Thanks for your efforts. I have prepared a patch accordingly that wraps org-src-font-lock-fontify-block’s body with save-match-data (attached). If I don’t hear anything bad about it in the next few days, I’ll push it :) Please let me know if my commit message

Re: Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.

2021-08-23 Thread Timothy
Hi Tobias, Thanks for your efforts. I have prepared a patch accordingly that wraps org-src-font-lock-fontify-block’s body with save-match-data (attached). If I don’t hear anything bad about it in the next few days, I’ll push it :) Please let me know if my commit message agrees with your understan

Bug: org-src-font-lock-fontify-block should be wrapped with save-match-data [9.3.7 (9.3.7-4-gba6ca7-elpaplus @ mixed installation! /mnt/c/Users/toz/Weiterbildung/Soft/Emacs/ and /mnt/c/Users/toz/.emac

2021-08-20 Thread Tobias Zawada
~org-src-font-lock-fontify-block~ modifies ~match-data~ through the fontification of the temporary source buffer. But ~org-src-font-lock-fontify-block~ is also called in ~org-fontify-meta-lines-and-blocks-1~ by ~font-lock-fontify-region~. There it puts the text property ~font-lock-multiline~ on som