all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: how to enable italic font in terminal emacs?
Date: Tue, 25 Jul 2017 14:22:22 +0200	[thread overview]
Message-ID: <20170725122222.GA9909@tuxteam.de> (raw)
In-Reply-To: <72795ffe-4c79-422e-a1da-5614bdc7e256@googlegroups.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 25, 2017 at 04:36:05AM -0700, Shiyao MA wrote:
> Hi,
> 
> I am using iterm2 + tmux.
> 
> The term supports italic font,  for example:
> printf "\e[3;4;33mthis is a test\n\e[0m"
> 
> it prints out italic text in the shell running in iterm2+ tmux.
> 
> 
> However, in terminal emacs, I cannot get italic font.
> 
> For example, in orgmode with the text:
> /my-italic-text/
> it simply doesn't become italic.

This seems relevant:

  <https://unix.stackexchange.com/questions/17680/italics-in-emacs-on-a-text-terminal-rxvt-unicode>

In short: for a sufficiently recent Emacs, it Just Works :)
(I tested it on "my" Emacs, which is GNU Emacs 26.0.50 (build 1,
x86_64-pc-linux-gnu, GTK+ Version 2.24.29) of 2017-07-25; I do
build from sources), and it actually works, on a plain Xterm.

I don't know at which version the patch got in, sorry.

Cheers
- -- tomás 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAll3N/4ACgkQBcgs9XrR2kZNlQCffw+kXMZiNHeZiP5M2/SZFxvN
7nsAn28aknkPwBuiRO8w8FOl2iazEXyA
=y5L7
-----END PGP SIGNATURE-----



  reply	other threads:[~2017-07-25 12:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 11:36 how to enable italic font in terminal emacs? Shiyao MA
2017-07-25 12:22 ` tomas [this message]
2017-07-25 13:42   ` Gregor Zattler
2017-07-25 19:29     ` tomas

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170725122222.GA9909@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.