From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-devel@gnu.org
Subject: question about pop-to-buffer
Date: Sat, 29 Sep 2012 15:10:49 +0200 [thread overview]
Message-ID: <87ipaxnfdy.fsf@gmail.com> (raw)
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
next reply other threads:[~2012-09-29 13:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-29 13:10 Thierry Volpiatto [this message]
2012-09-29 19:11 ` question about pop-to-buffer 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipaxnfdy.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.