From: Sam Steingold <sds@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: quit-window is broken
Date: Mon, 17 Nov 2008 15:43:00 -0500 [thread overview]
Message-ID: <4921D754.9040408@gnu.org> (raw)
In-Reply-To: <4921C2D3.9090800@gmx.at>
martin rudalics wrote:
> > yes, it turned out that the problem was with my advice to
> > switch-to-buffer not to create new buffers by default.
> > I wish there were an option for that.
>
> But `switch-to-buffer' doesn't create a new buffer by default. It
> switches to the buffer returned by `other-buffer' instead.
it is called with the nil argument which was not handled properly by the advice.
> If it helps we can always hardcode `other-buffer' in the call in
> `quit-window'. When `pop-to-buffer' is rewritten we might have to do
> that anyway. Then the semantics of `switch-to-buffer' changes too ...
it would help if there were a user option switch-to-buffer-create-new-buffer
with values t (like it does not), nil (signal an error) and 'ask (ask for a
confirmation).
next prev parent reply other threads:[~2008-11-17 20:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 15:22 quit-window is broken Sam Steingold
2008-11-17 16:04 ` martin rudalics
2008-11-17 16:11 ` Sam Steingold
2008-11-17 16:17 ` martin rudalics
2008-11-17 18:55 ` Sam Steingold
2008-11-17 19:15 ` martin rudalics
2008-11-17 20:43 ` Sam Steingold [this message]
2008-11-17 21:59 ` Stefan Monnier
2008-11-17 22:43 ` martin rudalics
2008-11-18 16:01 ` Stefan Monnier
2008-11-18 16:33 ` Drew Adams
2008-11-18 17:03 ` Stefan Monnier
2008-11-18 17:36 ` Drew Adams
2008-11-18 21:30 ` 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=4921D754.9040408@gnu.org \
--to=sds@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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.