GNU bug report logs - #78839
[PATCH] Fix bold or underline of underscores

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Thu, 19 Jun 2025 15:18:04 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

To reply to this bug, email your comments to 78839 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78839; Package emacs. (Thu, 19 Jun 2025 15:18:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Manuel Giraud <manuel <at> ledu-giraud.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 19 Jun 2025 15:18:05 GMT) Full text and rfc822 format available.

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

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Fix bold or underline of underscores
Date: Thu, 19 Jun 2025 17:17:21 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

Hi,

Here is a patch for something that was bothering me in the man page
rendering.  How to reproduce it:

            - emacs -Q
            - M-x load-theme <RET> modus-operandi <RET> ;; for a more
                                                        ;; clear distinction
                                                        ;; of faces
            - M-x man <RET> ssh_config <RET>

See that the underscore '_' in "ssh_config" (in the line after NAME) is
rendered with the Man-underline while its surrounding use
Man-overstrike.  This patch tries to fix those discrepancies.




In GNU Emacs 31.0.50 (build 4, x86_64-unknown-openbsd7.7) of 2025-06-18
 built on computer
Repository revision: 27a524602ff9899139e7f45e7607711c96a9b666
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101016
System Description: OpenBSD computer 7.7 GENERIC.MP#14 amd64

Configured using:
 'configure CC=egcc CPPFLAGS=-I/usr/local/include
 LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
 --bindir=/home/manuel/bin --with-x-toolkit=no
 --with-toolkit-scroll-bars=no --without-cairo --without-dbus
 --without-gconf --without-gsettings --without-compress-install'

[0001-Fix-bold-or-underline-of-underscores.patch (text/patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Manuel Giraud

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 21 Jun 2025 08:17:01 GMT) Full text and rfc822 format available.

Notification sent to Manuel Giraud <manuel <at> ledu-giraud.fr>:
bug acknowledged by developer. (Sat, 21 Jun 2025 08:17:02 GMT) Full text and rfc822 format available.

Message #10 received at 78839-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 78839-done <at> debbugs.gnu.org
Subject: Re: bug#78839: [PATCH] Fix bold or underline of underscores
Date: Sat, 21 Jun 2025 11:16:16 +0300
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Date: Thu, 19 Jun 2025 17:17:21 +0200
> 
> Here is a patch for something that was bothering me in the man page
> rendering.  How to reproduce it:
> 
>             - emacs -Q
>             - M-x load-theme <RET> modus-operandi <RET> ;; for a more
>                                                         ;; clear distinction
>                                                         ;; of faces
>             - M-x man <RET> ssh_config <RET>
> 
> See that the underscore '_' in "ssh_config" (in the line after NAME) is
> rendered with the Man-underline while its surrounding use
> Man-overstrike.  This patch tries to fix those discrepancies.

Thanks, installed on master, and closing the bug.




This bug report was last modified 3 days ago.

Previous Next


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