all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (save-excursion (other-window 1)) leaves me in the other window
@ 2010-03-05 20:33 Sean McAfee
  2010-03-05 22:21 ` Joe Fineman
  2010-03-07  6:55 ` Tim X
  0 siblings, 2 replies; 9+ messages in thread
From: Sean McAfee @ 2010-03-05 20:33 UTC (permalink / raw)
  To: help-gnu-emacs

A native reimplementation of scroll-other-window doesn't work as I'd
expect:

  (save-excursion
    (other-window 1)
    (scroll-up))

The problem is that the current window isn't restored, which surprised
me considerably.  Why doesn't this work, and how would I write a
function to go do some stuff in the other window and then come back?


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

end of thread, other threads:[~2010-03-09  6:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 20:33 (save-excursion (other-window 1)) leaves me in the other window Sean McAfee
2010-03-05 22:21 ` Joe Fineman
2010-03-07  6:55 ` Tim X
2010-03-08  3:09   ` Sean McAfee
2010-03-08  7:26     ` Tim X
2010-03-08 16:55       ` Sean McAfee
2010-03-08 17:02         ` Sean McAfee
2010-03-08 17:24           ` David Kastrup
2010-03-09  6:45         ` Tim X

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.