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?
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
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.)
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
>
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
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
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
> +++
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
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