From: Eli Zaretskii <eliz@gnu.org>
To: james.ipswich@proton.me
Cc: 65029@debbugs.gnu.org
Subject: bug#65029: Italics bug when Emacs runs inside GNU Screen
Date: Sat, 12 Aug 2023 09:45:39 +0300 [thread overview]
Message-ID: <83cyzsg3n0.fsf@gnu.org> (raw)
In-Reply-To: <834jlgzkqy.fsf@gnu.org> (message from Eli Zaretskii on Thu, 03 Aug 2023 09:46:13 +0300)
Ping! Can we please make some progress with this issue?
> Cc: 65029@debbugs.gnu.org
> Date: Thu, 03 Aug 2023 09:46:13 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Wed, 02 Aug 2023 23:37:54 +0000
> > From: James Ipswich via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >
> > GNU Screen added italics support on its master branch a while ago
> > [1]. If I run Emacs (29.1) inside GNU Screen (master), there are strange
> > font issues.
> >
> > All text that should be italicized, e.g. /text/ in org-mode or
> > annotations provided by marginalia-mode, is underlined. Oddly, text that
> > should not be italicized, e.g. the menu bar and the status bar, is in
> > fact italicized. I am running xterm (383) with DejaVu fonts. Text
> > displayed inside GNU Screen but outside Emacs is properly italicized.
> >
> > If I replace xterm with urxvt or kitty, the issue persists. If I replace
> > DejaVu with other fonts, the issue also persists. If I replace GNU
> > Screen with Tmux, all italics are displayed correctly.
> >
> > [1] https://savannah.gnu.org/bugs/?func=detailitem&item_id=36676
>
> I guess Screen changes the terminfo entry of the terminal in some way?
> Please step with GDB through init_tty and see what we get when we
> query terminfo about the italics:
>
> tty->TS_enter_italic_mode = tgetstr ("ZH", address);
>
> Please do this inside and outside of Screen, with the same terminal
> emulator, and post the results.
>
> Thanks.
>
>
>
>
next prev parent reply other threads:[~2023-08-12 6:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 23:37 bug#65029: Italics bug when Emacs runs inside GNU Screen James Ipswich via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-03 6:46 ` Eli Zaretskii
2023-08-12 6:45 ` Eli Zaretskii [this message]
2023-08-19 8:20 ` Eli Zaretskii
2023-08-19 9:36 ` Gregory Heytings
2023-08-19 10:40 ` Eli Zaretskii
2023-08-19 10:57 ` Gregory Heytings
2023-08-19 11:12 ` Eli Zaretskii
2023-08-19 11:27 ` Gregory Heytings
2023-08-19 11:31 ` Gregory Heytings
2023-08-19 11:32 ` Eli Zaretskii
2023-08-19 11:40 ` Eli Zaretskii
2023-08-19 12:14 ` Andreas Schwab
2023-08-19 12:23 ` Gregory Heytings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83cyzsg3n0.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=65029@debbugs.gnu.org \
--cc=james.ipswich@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).