From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jradix@bigfoot.com (J?r?me RADIX) Newsgroups: gmane.emacs.help Subject: How to replace a character by an unprintable character ? Date: 24 Jan 2005 13:00:16 -0800 Organization: http://groups.google.com Message-ID: <3076339b.0501241300.64a131ea@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1106600567 16754 80.91.229.6 (24 Jan 2005 21:02:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 21:02:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 24 22:02:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CtBM5-0003GQ-00 for ; Mon, 24 Jan 2005 22:02:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtBYJ-0008FA-5i for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jan 2005 16:15:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 80.170.82.98 Original-X-Trace: posting.google.com 1106600417 4107 127.0.0.1 (24 Jan 2005 21:00:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 24 Jan 2005 21:00:17 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:128099 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: main.gmane.org gmane.emacs.help:23594 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23594 Hello, Using M-% or C-M-% how do you replace each `;' in a;b;c;d by a carriage return () to obtain : a b c d The FAQ is not very explicit on this : http://www.gnu.org/software/emacs/emacs-faq.text Question 5.9 It only tells how to *search* for unprintable characters but not how to replace a character by an unprintable character. Emacs info file is not clear on this either ( C-h C-k C-M-% ) I've tried several things out in the replacement string without success : \n C-q [\n] $ ?\n none of them work. If you have an idea... Thanks, Jérôme.