From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: Replacing \227 and other codes Date: Mon, 21 Oct 2002 13:52:46 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035222810 7146 80.91.224.249 (21 Oct 2002 17:53:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 17:53:30 +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 183gk1-0001qK-00 for ; Mon, 21 Oct 2002 19:53:26 +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 183gjt-0003Jv-00; Mon, 21 Oct 2002 13:53:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183gjV-0003Es-00 for help-gnu-emacs@gnu.org; Mon, 21 Oct 2002 13:52:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183gjT-0003EW-00 for help-gnu-emacs@gnu.org; Mon, 21 Oct 2002 13:52:52 -0400 Original-Received: from adsl-65-43-211-113.dsl.bcvloh.ameritech.net ([65.43.211.113] helo=heidegger.mousecar.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 183gjS-0003E5-00 for help-gnu-emacs@gnu.org; Mon, 21 Oct 2002 13:52:50 -0400 Original-Received: from localhost (ken@localhost) by heidegger.mousecar.net (8.11.6/8.11.6) with ESMTP id g9LHqnJ12521 for ; Mon, 21 Oct 2002 13:52:49 -0400 X-Authentication-Warning: heidegger.mousecar.net: ken owned process doing -bs Original-Newsgroups: comp.emacs X-X-Sender: Original-To: In-Reply-To: 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:2798 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2798 There ought to be a shell script to do all of this, but until there is, here's what I do in emacs: M-x replace-string C-q 227 RETURN - RETURN This should qualify as a FAQ... or? hth, ken -- AMD crashes? See http://cleveland.lug.net/~ken/amd-problem/. Spake Chris L at 09:04 (UTC-0800) on Mon, 21 Oct 2002: = I have an imported HTML document that has some strange codes for em = dashes and the like. The em dash, for example, displays as a \227 -- = how can I search and replace these codes? = = I tried to copy the code and then do C-s C-y to paste it, but it = doesn't seem to work. Is there a way to do isearch-forward-selection = or similar? = =