auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] query-replace in math mode


From: Uwe Siart
Subject: Re: [AUCTeX] query-replace in math mode
Date: Mon, 17 Dec 2007 17:59:59 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (windows-nt)

Plamen Tanovski <address@hidden> writes:

> (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))))))

After a few first trials it looks fine and seems to work as expected.
Thank you very much. It helps me a lot. Wish I could finally do things
like that on my own. I will remain defiant.

-- 
Uwe




reply via email to

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