unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Baloff <washdc@wash.edu>
Subject: Re: those strange characters
Date: 31 Jul 2005 09:24:27 +1000	[thread overview]
Message-ID: <8764urri6s.fsf@wash.edu> (raw)
In-Reply-To: mailman.1775.1122390187.20277.help-gnu-emacs@gnu.org

Emilio Lopes <eclig@gmx.net> writes:

> Baloff <vddr2u <at> bi.edu.gr> writes:
> 
> > I did
> > $script somefile
> > $ls
> > $exit
> > $cat somefile
> > shows the output of $ls
> > 
> > in emacs, C-x C-f somefile
> > the output of $ls, each item is listed between ^[[0m group of charactres 
> > on both sided of each item.
> > 
> > so if I have an item like myFile, it would look ^[[0mmyFile^[[0m
> 
> 
> Go to the said buffer.  Type "M-:" (`eval-expression').
> At the prompt type
> 
>    (ansi-color-apply-on-region (point-min) (point-max))
> 
> You might need to type "M-x load-library RET ansi-color RET"
> before.

thanks, now how do I make this fix a permenant action when ever I use
emacs in the future. do I need to add the 2 lines in my /.emacs file

(load-library "ansi-color")
(ansi-color-apply-on-region (point-min) (point-max))

thanks

      parent reply	other threads:[~2005-07-30 23:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26 12:50 those strange characters Baloff
2005-07-25 21:28 ` Martin Slouf
2005-07-26 12:59 ` Baloff
2005-07-26 14:57 ` Emilio Lopes
     [not found] ` <mailman.1775.1122390187.20277.help-gnu-emacs@gnu.org>
2005-07-30 23:24   ` Baloff [this message]

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=8764urri6s.fsf@wash.edu \
    --to=washdc@wash.edu \
    /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.
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).