From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baloff Newsgroups: gmane.emacs.help Subject: Re: those strange characters Date: Tue, 26 Jul 2005 05:59:50 -0700 Organization: iPrimus Customer - reports relating to abuse should be sent to abuse@iprimus.com.au Message-ID: <42e541fe$1_1@news.iprimus.com.au> References: <42e53fc4_1@news.iprimus.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122321203 5590 80.91.229.2 (25 Jul 2005 19:53:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2005 19:53:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 25 21:53:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dx90T-00087T-JR for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2005 21:52:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dx92m-0000KF-IU for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jul 2005 15:55:20 -0400 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: <42e53fc4_1@news.iprimus.com.au> X-Original-NNTP-Posting-Host: 210.50.67.39 X-Original-NNTP-Posting-Host: 127.0.0.1 Original-Lines: 30 Original-NNTP-Posting-Host: 203.134.67.67 Original-X-Trace: 1122320897 un-2park-reader-02.sydney.pipenetworks.com.au 471 203.134.67.67:3863 Original-X-Complaints-To: Abuse, including message IDs to abuse@pipenetworks.com Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!teaser.fr!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!quokka.wn.com.au!token.pipenetworks.com!218.100.2.58.MISMATCH!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:132661 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28182 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28182 Baloff wrote: > Hello > 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 > > thanks I have in my /.emacs (global-set-key [f5] 'cut-ctrlM) (defun cut-ctrlM() (interactive) (beginning-of-buffer) (while (search-forward "\r" nil t) (replace-match "" nil t))) but when I hit [f5] the minibuffer shows "Mark set" and nothing happens in the buffer. the same results happens when I M-x cut-ctrlM, "Mark set" and nothing else. thanks