From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 10144@debbugs.gnu.org
Subject: bug#10144: 24.0.91; `pop-up-frames' with dedicated windows is broken: `C-x C-f'
Date: Mon, 28 Nov 2011 12:07:32 -0500 [thread overview]
Message-ID: <jwvlir0chgo.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E675C5D6AAFD491DAABD84A1250F00F9@us.oracle.com> (Drew Adams's message of "Mon, 28 Nov 2011 07:30:24 -0800")
>> You mean in Emacs-23 only.
> No, I meant in all Emacs versions prior to 24 (with my setup).
> And in 24 too, back when Martin's code was used.
I can't imagine how that could be the case: find-file has always used
switch-to-buffer and switch-to-buffer in Emacs<23 never did anything
else than use the selected window (and hence fail in minibuffer-only
frames and dedicated windows).
> What's the point of such an error message when Emacs could DTRT and
> show the user the buffer s?he asked to see?
The user decided to use RET rather than `o', so the user explicitly
indicated that she wants to display the buffer in the selected window
rather than in another window. So it's not obvious that displaying
the buffer in another window is the right thing to do.
OTOH I do agree that find-file is not quite like switch-to-buffer, in
that the indication "use current window" is not as clear cut.
Stefan
next prev parent reply other threads:[~2011-11-28 17:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-26 18:27 bug#10144: 24.0.91; `pop-up-frames' with dedicated windows is broken: `C-x C-f' Drew Adams
2011-11-26 19:14 ` martin rudalics
2011-11-26 19:26 ` Drew Adams
2011-11-27 10:41 ` martin rudalics
2011-11-27 14:17 ` Drew Adams
2011-11-28 4:37 ` Stefan Monnier
2011-11-28 13:33 ` martin rudalics
2011-11-28 16:56 ` Stefan Monnier
2011-11-28 17:01 ` Drew Adams
2011-11-28 19:40 ` Stefan Monnier
2011-11-29 10:48 ` martin rudalics
2011-11-29 14:03 ` Stefan Monnier
2011-11-29 10:48 ` martin rudalics
2011-11-29 14:04 ` Stefan Monnier
2011-11-28 15:30 ` Drew Adams
2011-11-28 17:07 ` Stefan Monnier [this message]
2011-11-28 17:25 ` Drew Adams
2011-11-28 19:45 ` Stefan Monnier
2011-11-29 5:26 ` Chong Yidong
2011-11-29 14:01 ` Stefan Monnier
2011-11-30 18:22 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlir0chgo.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=10144@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).