Path: utzoo!mnetor!uunet!husc6!bbn!mit-eddie!MGM.MIT.EDU!wolfgang From: wolfgang@MGM.MIT.EDU (Wolfgang Rupprecht) Newsgroups: comp.emacs Subject: Query-replace-regexp suggestion Message-ID: <8803071551.AA07494@MGM.MIT.EDU> Date: 7 Mar 88 15:51:53 GMT Sender: daemon@eddie.MIT.EDU Organization: Freelance Software Consultant, Boston, Ma. Lines: 13 I like the incremental query-replace* suggestion. The isearch-* family of commands already do the desired cursor motion. It shouldn't be to hard to use these to write a purely lisp routine to do incremantal-replace-*. One would have to devise an intuitive way of toggling to/from "add-to-regexp-in-the-minibuffer" mode and "replace-this-match" mode. [Sure emacs is modeless ...] --- Wolfgang Rupprecht ARPA: wolfgang@mgm.mit.edu (IP 18.82.0.114) 326 Commonwealth Ave. UUCP: mit-eddie!mgm.mit.edu!wolfgang Boston, Ma. 02115 TEL: (617) 267-4365