all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* question about pop-to-buffer
@ 2012-09-29 13:10 Thierry Volpiatto
  2012-09-29 19:11 ` martin rudalics
  0 siblings, 1 reply; 9+ messages in thread
From: Thierry Volpiatto @ 2012-09-29 13:10 UTC (permalink / raw)
  To: emacs-devel

Hi,
how can I set pop-to-buffer action arg to create the new window on top
and not on bottom of current window and split the windows equally.

I tried with this:

#+BEGIN_SRC lisp
(pop-to-buffer (get-buffer-create "*toto*") 
               '(display-buffer-in-side-window . ((side . top) (slot . 0))))

#+END_SRC

I tried several values for slot but it seem to have no effect.

Also if I have two windows the second one is not reused, a new one is
created instead. (but maybe is what `display-buffer-in-side-window' for
?)

Thanks.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




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

end of thread, other threads:[~2012-10-01 16:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-29 13:10 question about pop-to-buffer Thierry Volpiatto
2012-09-29 19:11 ` martin rudalics
2012-09-29 19:20   ` Thierry Volpiatto
2012-09-30 10:48   ` martin rudalics
2012-09-30 11:03     ` Thierry Volpiatto
2012-09-30 14:23       ` martin rudalics
2012-09-30 18:37         ` Thierry Volpiatto
2012-10-01 15:48           ` martin rudalics
2012-10-01 16:17             ` Thierry Volpiatto

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.