unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Matthew Carter <m@ahungry.com>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Can we support apt's funky ANSI escapes?
Date: Fri, 22 Jul 2016 16:54:54 -0400	[thread overview]
Message-ID: <87r3alxujl.fsf@ahungry.com> (raw)
In-Reply-To: <7ce93cad-78d2-ceb7-24d1-1e47bcbc4090@gmail.com> ("Clément Pit--Claudel"'s message of "Wed, 20 Jul 2016 15:38:44 -0400")

Clément Pit--Claudel <clement.pit@gmail.com> writes:

> On 2016-07-20 13:05, Robert Weiner wrote:
>> What happens if you use {M-x ansi-term RET}?
>
> I guess it would work fine, but I'd rather not use ansi-term, if possible.
>

The ansi-color package has a function, #'ansi-color-apply-on-region
which works well for translating these to colorized font faces (I use it
on some shell output from my own custom functions that include these
escape codes).

-- 
Matthew Carter (m@ahungry.com)
http://ahungry.com



  reply	other threads:[~2016-07-22 20:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20 14:52 Can we support apt's funky ANSI escapes? Clément Pit--Claudel
2016-07-20 16:33 ` Stefan Monnier
2016-07-20 17:05 ` Robert Weiner
2016-07-20 19:38   ` Clément Pit--Claudel
2016-07-22 20:54     ` Matthew Carter [this message]
2016-07-22 21:59       ` Clément Pit--Claudel

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=87r3alxujl.fsf@ahungry.com \
    --to=m@ahungry.com \
    --cc=clement.pit@gmail.com \
    --cc=emacs-devel@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 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).