GNU bug report logs - #23798
25.0.90; Underscore for emphasis in Info?

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 19 Jun 2016 00:14:01 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 25.0.90

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23798: 25.0.90; Underscore for emphasis in Info?
Date: Fri, 28 Jun 2019 13:32:37 +0100
On Tue 25 Jun 2019, Lars Ingebrigtsen wrote:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> Below is a patch for one simple possibility.  It uses face `info-emphasis'
>>> to highlight emphasized single words, such as _foobar_.
>>
>> Thanks.
>
> I've now applied the patch to the Emacs trunk.

The regexp used for emphasis does not match single words: it also
matches sequences within words.

For an example, see the "(gcc) Other Builtins" node, where C function
names are displayed incorrectly.

    AndyM





This bug report was last modified 6 years and 20 days ago.

Previous Next


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