Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-30 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: >> Yes. A major obstacle is that `syntax-propertize-rules' doesn't accept >> an entry of the form >> (REGEXP-OR-FUNC (1 "\"") (2 ".") (3 "\"")) > Really? I think the docstring says that it should work the way you > describe above: > Am I missing something?

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-29 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Yes. A major obstacle is that `syntax-propertize-rules' doesn't accept > an entry of the form > (REGEXP-OR-FUNC (1 "\"") (2 ".") (3 "\"")) Really? I think the docstring says that it should work the way you describe above: ,[ C-h f syntax-propertize-rules

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-28 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: >> (In a longer term perspective, we should factor out the syntax >> propertization facility out of font-latex.el and implement it as a major >> mode functionality in order to avoid these gotchas due to involvement of >> syntax propertization and font lock.)

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-27 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > It turned out that the following piece of code in font-latex-test.el is > the culprit: > (define-advice LaTeX-common-initialization (:after ()) > (font-lock-ensure)) > > Due to this advice, syntax propertization runs before >

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-26 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > It seems that the Fontification is bleeding, but I can't see why and if > I open the test in a regular .tex file, it works as expected. I'm > attaching the change, do you see what's going wrong? It turned out that the following piece of code in

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-26 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > It seems OK. I'm fine with your proposal. Thanks for your response. I changed shortvrb.el and also tried to write an ert-test, but the test breaks. (ert-test-failed ((should-not (get-text-property (point) 'face)) :form

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-25 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > You installed the change above some time ago and I was thinking if we > could fix the N.B. comment by making a change like this: > diff --git a/style/shortvrb.el b/style/shortvrb.el > index e6de0608..59d31101 100644 > --- a/style/shortvrb.el > +++

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-24 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > branch: master > commit 04b9a6d1f9c7337e1f500721c9ad32029f3fb4c8 > Author: Ikumi Keita > Commit: Ikumi Keita > > Improve shortvrb.sty support > > * style/shortvrb.el ("shortvrb"): Install new syntax table which > assigns "string quotes" syntax

master 04b9a6d1: Improve shortvrb.sty support

2022-07-06 Thread Ikumi Keita
branch: master commit 04b9a6d1f9c7337e1f500721c9ad32029f3fb4c8 Author: Ikumi Keita Commit: Ikumi Keita Improve shortvrb.sty support * latex.el (LaTeX-verbatim-p): Consult syntax parse instead of font-latex face. (LaTeX-common-initialization): Delete FIXME comment which is