From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace? Date: Sat, 16 Aug 2008 11:21:08 +0200 Organization: T-Online Message-ID: <87k5eh71tn.fsf@marauder.physik.uni-ulm.de> References: <48a540fe$0$11744$9b4e6d93@newsspool1.arcor-online.net> <87ej4qmxk6.fsf@nonospaz.fatphil.org> <48a556d2$0$11740$9b4e6d93@newsspool1.arcor-online.net> <87bpzu8a3y.fsf@marauder.physik.uni-ulm.de> <87vdy13ggr.fsf@Sullivan.bcc.cuny.edu> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218880481 20555 80.91.229.12 (16 Aug 2008 09:54:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Aug 2008 09:54:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 16 11:55:33 2008 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 1KUIVO-0005In-JG for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Aug 2008 11:55:30 +0200 Original-Received: from localhost ([127.0.0.1]:43701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUIUR-0002kR-Kb for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Aug 2008 05:54:31 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-X-Trace: news.t-online.com 1218878478 01 n20518 +sF3OT9L0XoZS+qw 080816 09:21:18 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: ZH84bkZDZeDs3wlJUmMQjq4aI-PcREziuUTrTjme3XZIsPfNLbdHrL X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T; w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv, vbL^XF1nIp\:F=$Ei2o&mEe:%N~, :3]vtQ~s9u$9izmX$IF@VgGl7/, ^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:Xz3HONzmhCuoxoZQxCeZvoFUO8o= Original-Xref: news.stanford.edu gnu.emacs.help:161358 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:56706 Archived-At: On Sat, Aug 16 2008, Nikos Apostolakis wrote: > Reiner Steib writes: >> (replace-string "$$" '("\\\[" "\\\]")) > > This is great! David Kastrup once mention this (or a similar example with `replace-regexp') on some newsgroup or mailing list. I don't remember if it is possible to use this with M-x replace-... or query-replace... as well. > Is this an undocumented feature of replace-string? I can't find it in > the help string or the info manual. I can't find it in the docs neither. Please suggest to document it (via M-x report-emacs-bug RET). Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/