[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: |
Mon, 17 Dec 2007 15:25:20 +0100 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
> Please, can you explain in more detail how to use texmathp during a
> query-replace session?
Here is a simple wrapper to query-replace. Please test use it
carefully, I am an absolute beginner in elisp.
(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) (1+ (match-end 0))))))
Best regards,
--
Plamen Tanovski
Prager Str. 125
04317 Leipzig
Tel. (03 41) 3 08 57 60
- [AUCTeX] query-replace in math mode, Uwe Siart, 2007/12/17
- [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 <=
- 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, 2007/12/18