home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!ames!purdue!yuma!csn!cherokee!lookout.it.uswc.uswest.com!rray
- From: rray@lookout.it.uswc.uswest.com (Randy J. Ray)
- Newsgroups: gnu.emacs.help
- Subject: Cursor appearing in buffer during interactive command
- Message-ID: <1992Jul24.212207.17578@advtech.uswest.com>
- Date: 24 Jul 92 21:22:07 GMT
- Sender: rray@snakepit (Randy J. Ray)
- Organization: US WEST Communications, Inc. -- Denver, CO
- Lines: 16
-
- I have a command that goes through a buffer and deletes any line that contains
- a specified pattern. I used it to delete lines marked with a debugging comment.
- It has the option of being interactive, where it queries you prior to each
- delete. When it does this, the cursor is in the minibuffer, at the end of the
- query. I would like it to be in the buffer, at the point that the
- search-forward has it at, a la query-replace. I have not been able to glean
- this from the documentation, although admittedly I have not had the time to
- read the whole elisp manual front to back...
-
- Randy
- --
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Randy J. Ray -- U S WEST IT/CSD rray@{lookout,uswat}.it.uswc.uswest.com
- I'd rather talk religion with Charles Manson than discuss ethics with Congress.
- -me Phone: (303)595-2852
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-