[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query-replace-interactive not documented
From: |
Kim F. Storm |
Subject: |
Re: query-replace-interactive not documented |
Date: |
16 Jun 2004 00:43:37 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
David Kastrup <address@hidden> writes:
> Andreas Schwab <address@hidden> writes:
>
> > Juri Linkov <address@hidden> writes:
> >
> > > Index: replace.el
> > > ===================================================================
> > > RCS file: /cvsroot/emacs/emacs/lisp/replace.el,v
> > > retrieving revision 1.172
> > > diff -c -r1.172 replace.el
> > > *** replace.el 10 Jun 2004 04:21:14 -0000 1.172
> > > --- replace.el 15 Jun 2004 17:57:28 -0000
> > > ***************
> > > *** 174,179 ****
> > > --- 183,199 ----
> > > (if (and transient-mark-mode mark-active)
> > > (region-end)))))
> > >
> > > + (if (string-match "\\\\'" to-string)
> > > + (let (to expr)
> > > + (while (string-match "\\\\'" to-string)
> >
> > That needs more careful treatment, to handle cases like "\\\\'" where one
> > wants to substitute a backslash followed by a single quote.
>
> I am going to take a stab at this.
I don't like the \'(...) form -- to me ' means "DONT INTERPRET"
Maybe \=(...) is better ?
Also, \? could be used to ask the user for a string to insert at
that point in each replacement...
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: query-replace-interactive not documented, (continued)
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/13
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/14
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/14
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/14
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/15
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/15
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/15
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/15
- Re: query-replace-interactive not documented, Andreas Schwab, 2004/06/15
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/15
- Re: query-replace-interactive not documented,
Kim F. Storm <=
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/15
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/15
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/16
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/16
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/17
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/16
- Re: query-replace-interactive not documented, Kevin Rodgers, 2004/06/16
- Re: query-replace-interactive not documented, Andreas Schwab, 2004/06/16