[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: query-replace in math mode
From: |
Plamen Tanovski |
Subject: |
[AUCTeX] Re: query-replace in math mode |
Date: |
Tue, 18 Dec 2007 17:49:12 +0100 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
> Same here. Strange. I think we can't solve this now but I'll keep an eye
> on it. Thanks for your help, Plamen.
May be there ist something wrong with the end position. Try this:
(defun LaTeX-math-query-replace (from-string to-string)
"math query replace"
(interactive "sFrom: \nsTo: ")
(while
(search-forward from-string)
(if (texmathp)
(query-replace from-string to-string nil
(point) (match-end 0)))))
or even instead of (match-end 0) try (1+ (match-end 0))
best regards
--
Plamen Tanovski
Prager Str. 125
04317 Leipzig
Tel. (03 41) 3 08 57 60
- [AUCTeX] Re: query-replace in math mode, (continued)
- [AUCTeX] Re: query-replace in math mode, Plamen Tanovski, 2007/12/17
- Re: [AUCTeX] Re: query-replace in math mode, David Kastrup, 2007/12/17
- Re: [AUCTeX] Re: query-replace in math mode, Uwe Siart, 2007/12/17
- [AUCTeX] Re: query-replace in math mode, Plamen Tanovski, 2007/12/17
- Re: [AUCTeX] query-replace in math mode, Uwe Siart, 2007/12/17
- Re: [AUCTeX] query-replace in math mode, Uwe Siart, 2007/12/18
- [AUCTeX] Re: query-replace in math mode, Plamen Tanovski, 2007/12/18
- Re: [AUCTeX] Re: query-replace in math mode, Uwe Siart, 2007/12/18
- [AUCTeX] Re: query-replace in math mode, Plamen Tanovski, 2007/12/18
- Re: [AUCTeX] Re: query-replace in math mode, Uwe Siart, 2007/12/18
- [AUCTeX] Re: query-replace in math mode,
Plamen Tanovski <=