GNU bug report logs -
#25309
11.89.8; multi-level script fontification stacks incorrectly
Previous Next
Full log
Message #41 received at 25309 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Everyone,
I tried installing auctex thorough elpa in emacs 24.3.1 . It was
difficult as it gave errors quite often, however after trying again
several times I managed to do it.
The problem is still there.
Some care should be taken! After customizing the variable
font-latex-fontify-script to value multi-level one should be careful to
restart fontification (or emacs proper). Otherwise the changes doesn't
manifest itself.
Cheers,
Gennady
P.S. Attached screenshot
On 01/01/17 12:36, Tassilo Horn wrote:
> Mosè Giordano <mose <at> gnu.org> writes:
>
> Hi Gennady, Uwe & Mosè,
>
> [CC'ing Uwe because I know he uses this feature.]
>
>>> The multi-level fontification was introduced by
>>> Tassilo Horn with commit 513490f on 2015-09-03.
>>
>> Wow, I didn't even remember such change! My memory is failing :-(
>>
>> Tassilo, when/if you have time (I don't want to break your holidays
>> ;-), could you please give a look at this?
>
> I just had a look and Gennady is correct in that there is an issue here
> although what I get is a bit different from his observations.
>
> With `font-latex-fontify-script' set to 'multi-level or 'invisible, what
> I expect in $a^b^c$ is that the b is raised above a and a bit smaller,
> and c is raised above b and again a bit smaller. What I actually see is
> that b is raised above a and a bit smaller but c is raised to the very
> same height as b and has b's size.
>
> Sadly, I have no clue why that's the case. The code worked as intended
> when I wrote it and there haven't been any changes to it AFAICS. Maybe
> something is Emacs changed? I've tried Emacs 25.1 and master with the
> same results.
>
> Does anyone of you have an older Emacs copy (22.x, 23.x, 24.x) installed
> and can check what the results are with that?
>
> Bye,
> Tassilo
>
[Screenshot_Leap42_2_emacs24_3_1.png (image/png, attachment)]
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 8 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.