all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* query-replace's recursive edit: switched buffers and got lost
@ 2002-03-22 10:27 Dan Jacobson
  2002-03-23 16:14 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2002-03-22 10:27 UTC (permalink / raw)


Start a query-replace.  Enter recursive edit with C-r. Now switch
buffers several times, enough that you forgot just what buffer you
were doing the query-replace in.

OK, maybe a C-M-c will get me back to my query-replacing job.  It
does, apparently, but forgets to put me back in the buffer
concerned!!!  This is like driving a car while looking out the wrong
window!  OK, quick, hit C-r again and try to look for clues as to just
what buffer we were doing the query-replacing in ... hmmm... there
are no clues to be found.  Tried looking in the buffer list, etc.
-- 
http://www.geocities.com/jidanni/ Taiwan(04)25854780

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: query-replace's recursive edit: switched buffers and got lost
  2002-03-22 10:27 query-replace's recursive edit: switched buffers and got lost Dan Jacobson
@ 2002-03-23 16:14 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-03-23 16:14 UTC (permalink / raw)
  Cc: gnu-emacs-bug

Does this give good results?

*** replace.el.~1.130.~	Wed Feb 20 17:29:45 2002
--- replace.el	Sat Mar 23 05:20:09 2002
***************
*** 1128,1134 ****
  			   (save-excursion
  			     (funcall search-function search-string limit t)
  			     (setq real-match-data (match-data)))
! 			   (save-excursion (recursive-edit))
  			   (goto-char opos))
  			 (set-match-data real-match-data)
  			 ;; Before we make the replacement,
--- 1129,1136 ----
  			   (save-excursion
  			     (funcall search-function search-string limit t)
  			     (setq real-match-data (match-data)))
! 			   (save-window-excursion
! 			     (save-excursion (recursive-edit)))
  			   (goto-char opos))
  			 (set-match-data real-match-data)
  			 ;; Before we make the replacement,

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-23 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 10:27 query-replace's recursive edit: switched buffers and got lost Dan Jacobson
2002-03-23 16:14 ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.