all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Does with-selected-window set current buffer?
@ 2008-09-05 20:01 Lennart Borgman (gmail)
  2008-09-05 20:35 ` Francis Litterio
  2008-09-05 21:49 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-05 20:01 UTC (permalink / raw)
  To: Emacs Devel

I am trying to understand if with-selected-window sets current buffer to
the selected window.

with-selected-window calls select-window. The doc string for
select-window makes me a bit confused. At the end of it is a notion that
the command loop selects the buffer of selected window.

Does that mean that select-window does not select that window? Or what
is the comment about?

The reason I am asking is that I have recently seen some cases where I
use with-selected-window in a timer and it looks to me like the code has
been carried out in the wrong buffer. I am not sure yet what is
happening though.




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

end of thread, other threads:[~2008-09-06  1:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-05 20:01 Does with-selected-window set current buffer? Lennart Borgman (gmail)
2008-09-05 20:35 ` Francis Litterio
2008-09-05 21:49 ` Stefan Monnier
2008-09-06  1:21   ` Lennart Borgman (gmail)

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.