From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henry atting Newsgroups: gmane.emacs.help Subject: Re: replace placeholders Date: Mon, 02 Mar 2009 15:06:58 +0100 Organization: LiteraturLateNight Message-ID: <87wsb8vx19.fsf@literaturlatenight.de> References: <873adxogmg.fsf@literaturlatenight.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1236004892 30316 80.91.229.12 (2 Mar 2009 14:41:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2009 14:41:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 15:42:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Le9Ld-0005eg-1k for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 15:42:25 +0100 Original-Received: from localhost ([127.0.0.1]:40598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le9KH-0007UU-Vm for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 09:41:02 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news2.arglkargh.de!news.n-ix.net!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: port-92-195-215-18.dynamic.qsc.de Original-X-Trace: online.de 1236002833 16403 92.195.215.18 (2 Mar 2009 14:07:13 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Mon, 2 Mar 2009 14:07:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) Cancel-Lock: sha1:JbrYWb/bNRio1ZhxZ/UQsLndkls= Original-Xref: news.stanford.edu gnu.emacs.help:167224 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:62524 Archived-At: On So, Mär 01 2009, Eli Zaretskii wrote: >> From: henry atting >> Date: Sun, 01 Mar 2009 08:18:47 +0100 >> >> How can I get rid of it? As it is only a substitution `query-replace' >> does not work. > > How did you try to replace them with `query-replace' (how did you type > the \226 thing to `query-replace's prompt)? And what version of Emacs > is that? My emacs version is: GNU Emacs 23.0.90.1 I simply typed \226 to `query-replace's prompt. Normally I use `recode' for converting files from latin1 to utf-8. This time I wanted to do it with emacs, my steps were: M-x set-buffer-file-coding-system RET undecided-unix then M-x set-buffer-file-coding-system RET utf-8 henry