[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question about pop-to-buffer
From: |
Thierry Volpiatto |
Subject: |
question about pop-to-buffer |
Date: |
Sat, 29 Sep 2012 15:10:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
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
- question about pop-to-buffer,
Thierry Volpiatto <=