[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Then how to replace all my $$ ... $$ to \[ \] through search and rep
From: |
Reiner Steib |
Subject: |
Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace? |
Date: |
Sat, 16 Aug 2008 11:21:08 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) |
On Sat, Aug 16 2008, Nikos Apostolakis wrote:
> Reiner Steib <reinersteib+gmane@imap.cc> 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/
- Then how to replace all my $$ ... $$ to \[ \] through search and replace?, xiaopeng hu, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Tassilo Horn, 2008/08/15
- Message not available
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Ralf Angeli, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Tassilo Horn, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Thierry Volpiatto, 2008/08/15
- Message not available
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Phil Carmody, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Ralf Angeli, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Reiner Steib, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Nikos Apostolakis, 2008/08/15
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?,
Reiner Steib <=
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, harven, 2008/08/16
- Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace?, Reiner Steib, 2008/08/16