all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Re: pop-to-buffer-same-window
Date: Thu, 01 Sep 2011 12:25:24 -0400	[thread overview]
Message-ID: <874o0w6xhn.fsf@stupidchicken.com> (raw)
In-Reply-To: <871uw05jfk.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 01 Sep 2011 12:14:23 -0400")

Chong Yidong <cyd@stupidchicken.com> writes:

> Was there any particular reason for adding a separate
> pop-to-buffer-same-window function, as opposed to adding an additional
> meaning to pop-to-buffer's OTHER-WINDOW argument, i.e.
>
>   (pop-to-buffer buffer 'same-window)
>
> ?  I don't recall any such discussion when pop-to-buffer-same-window was
> originally introduced, but could be mistaken.

I guess the main reason for a separate `pop-to-buffer-same-window' is to
provide a separate command for users to bind to.  Is that the reason?
If so, is `pop-to-buffer-same-window' supposed to supplant interactive
calls to switch-to-buffer?

Someone who uses dedicated windows (Stefan?) should probably weigh in.



  reply	other threads:[~2011-09-01 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 16:14 pop-to-buffer-same-window Chong Yidong
2011-09-01 16:25 ` Chong Yidong [this message]
2011-09-02  2:43 ` pop-to-buffer-same-window Stefan Monnier
2011-09-02 14:26   ` pop-to-buffer-same-window Chong Yidong
2011-09-02 14:50     ` pop-to-buffer-same-window Stefan Monnier

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=874o0w6xhn.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.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.