GNU bug report logs - #16390
24.3.50; [PATCH] texinfo-mode does not fontify @math{2^{61}} correctly

Previous Next

Package: emacs;

Reported by: Bastien Guerry <bzg <at> altern.org>

Date: Tue, 7 Jan 2014 18:07:01 UTC

Severity: minor

Tags: fixed

Found in version 24.3.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 16390 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16390 <at> debbugs.gnu.org
Subject: Re: bug#16390: 24.3.50;
 [PATCH] texinfo-mode does not fontify @math{2^{61}} correctly
Date: Wed, 08 Jan 2014 00:32:07 +0100
[Message part 1 (text/plain, inline)]
Glenn Morris <rgm <at> gnu.org> writes:

> Bastien Guerry wrote:
>
>> The patch fixes this for @math only.
>
> No it doesn't.
> Even if you fix the obvious 2/1 typo that makes it raise an error during
> redisplay, it will make lines like
>
>  @math{e} is used.  If @var{arg} or @var{base} is negative, @code{log}
>
> look awful.

Yes.  Attached is another patch that works, but looks ugly.
Let me know if there is another more elegant way to check for
the optional presence of balanced curly brace.

[texinfo.el.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
-- 
 Bastien

This bug report was last modified 8 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.