From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: How to remove strange return-commands ? Date: Tue, 8 Oct 2002 09:40:46 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5035E6E9C@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1034088082 20050 127.0.0.1 (8 Oct 2002 14:41:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2002 14:41:22 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yvXy-0005Cn-00 for ; Tue, 08 Oct 2002 16:41:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yvXt-00055u-00; Tue, 08 Oct 2002 10:41:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yvXc-0004xv-00 for help-gnu-emacs@gnu.org; Tue, 08 Oct 2002 10:40:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yvXa-0004xc-00 for help-gnu-emacs@gnu.org; Tue, 08 Oct 2002 10:40:56 -0400 Original-Received: from zcamail05.zca.compaq.com ([161.114.32.105]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yvXa-0004x0-00 for help-gnu-emacs@gnu.org; Tue, 08 Oct 2002 10:40:54 -0400 Original-Received: from cacexg11.americas.cpqcorp.net (cacexg11.americas.cpqcorp.net [16.105.250.94]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 0622C3F90 for ; Tue, 8 Oct 2002 07:40:53 -0700 (PDT) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Tue, 8 Oct 2002 07:40:47 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to remove strange return-commands ? Thread-Index: AcJu1DQB6QGDkD27SEOuF28DNYQpfgABGwbA Original-To: X-OriginalArrivalTime: 08 Oct 2002 14:40:47.0082 (UTC) FILETIME=[B05F44A0:01C26ED8] Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2384 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2384 Those are carriage return characters (decimal value 13). If you were = searching for an up arrow (shift 6) followed by an M emacs will not = match that with a carriage return. Try this to match them: C-Q C-M This will insert a carriage return character into the search string. I have seen much discussion on removing these from a buffer. I am = certain that there are many packages available to do this. Since I = wrote my own function before I discovered emacs packages I have not paid = much attention to them. You might want to take a look at the packages = list at http://www.emacswiki.org/elisp/. Or you could look in the = archives of this list. (My function is not quite ready for primetime). -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Product = Assurance . Austin, TX . Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire. -Dr. George W. = Crane- -----Original Message----- From: Martin Horoba [mailto:00spam00@gmx.net]=20 Sent: Tuesday, October 08, 2002 9:09 AM To: help-gnu-emacs@gnu.org Subject: How to remove strange return-commands ? Hi, I want to get some files from noEmacs-windows-editors into Linux GNU Emacs Editor. But you cannot work because of "strange" return-commands from windows in these files (-> ^M ). How it's possible to remove/replace these commands with Emacs or any other tools in Unix-Systems ? (with the Emacs-replace-function you cannot find ^M) Thanks for Help, Martin _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs