emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query-replace-interactive not documented


From: Andreas Schwab
Subject: Re: query-replace-interactive not documented
Date: Wed, 16 Jun 2004 00:30:56 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]