unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: martin rudalics <rudalics@gmx.at>
Cc: 6204@debbugs.gnu.org
Subject: bug#6204: vc-dir always splits the frame
Date: Thu, 27 May 2010 12:13:31 -0400	[thread overview]
Message-ID: <jwv6329z5xp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4BFE36E6.5030203@gmx.at> (martin rudalics's message of "Thu, 27 May 2010 11:09:58 +0200")

> So we apparently want to support options like `pop-up-windows' and
> `pop-up-frames' forever.

For the foreseeable future, at least, yes.

> Shall applications continue to bind `pop-up-windows' and `pop-up-frames'
> as they do now?  I suppose where they do now they should use (1) or (3)
> instead.

Exactly, they should use (3) or (1) depending on whether it is based on
some impression that it would be a better default for this particular
case, or whether it's in response to a specific user request
(e.g. calling find-file-other-window rather than find-file).

BTW, I'd be happy to get rid of all the foobar-other-window and
foobar-other-frame and instead provide new prefix commands that affect
the behavior of the next command, so instead of C-x 4 f, you'd do
something like C-x 4 and then C-x C-f.  We would probably then add some
special hack to make C-x 4 f still work as before.

>> Some of the intention behind the `default-params' would be to get rid of
>> calls to switch-to-buffer (replaced by calls to pop-to-buffer with
>> a same-window default-param).  Such cases already disregard
>> pop-up-windows and pop-up-frames, so ignoring them w.r.t default-params
>> would be consistent with such a case.
> You mean all cases where the buffer argument of `switch-to-buffer' names
> an existing buffer (probably all of them do, but I didn't check).

I mean all the calls to switch-to-buffer in Elisp code where the author
obviously didn't take into account the fact that there can be
minibuffer-only frames, or that the selected window can be dedicated,
etc...
IOW put switch-to-buffer in byte-compile-interactive-only-functions
which we currently can't do because we don't have a good replacement
for it yet.


        Stefan





  reply	other threads:[~2010-05-27 16:13 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17  5:06 bug#6204: vc-dir always splits the frame Glenn Morris
2010-05-17  7:27 ` Dan Nicolaescu
2010-05-19  3:01   ` Glenn Morris
2010-05-19 21:31     ` Juri Linkov
2010-05-20  9:45       ` martin rudalics
2010-05-20 17:14         ` Stefan Monnier
2010-05-20 17:37           ` martin rudalics
2010-05-21 20:15             ` Stefan Monnier
2010-05-22  8:50               ` martin rudalics
2010-05-22 23:51                 ` Juri Linkov
2010-05-23  0:55                   ` Stefan Monnier
2010-05-23  0:59                     ` Juri Linkov
2010-05-23 12:15                       ` martin rudalics
2010-05-23 13:32                         ` Stefan Monnier
2010-05-23 19:04                           ` martin rudalics
2010-05-24 14:07                             ` Stefan Monnier
2010-05-25 15:36                               ` martin rudalics
2010-05-25 17:00                                 ` Stefan Monnier
2010-05-25 17:32                                   ` martin rudalics
2010-05-25 18:01                                     ` Juri Linkov
2010-05-26  8:29                                       ` martin rudalics
2010-05-26 13:54                                         ` Stefan Monnier
2010-05-26 14:49                                           ` martin rudalics
2010-05-27  3:58                                             ` Stefan Monnier
2010-05-25 18:13                                     ` Stefan Monnier
2010-05-26  8:30                                       ` martin rudalics
2010-05-26 13:56                                         ` Stefan Monnier
2010-05-26 14:51                                           ` martin rudalics
2010-05-27  4:04                                             ` Stefan Monnier
2010-05-27  9:09                                               ` martin rudalics
2010-05-27 16:13                                                 ` Stefan Monnier [this message]
2010-05-27 17:26                                                   ` martin rudalics
2010-05-27 18:40                                                     ` Stefan Monnier
2010-05-28  9:19                                                       ` martin rudalics
2010-05-28 15:34                                                         ` Stefan Monnier
2010-05-25 18:33                                   ` Drew Adams
2010-05-26  8:30                                     ` martin rudalics
2010-05-26 14:26                                       ` Drew Adams
2010-05-23 12:15                     ` martin rudalics
2010-05-23 12:14                   ` martin rudalics
2010-05-23  0:52                 ` Stefan Monnier
2010-05-23 12:14                   ` martin rudalics
2010-05-23 13:31                     ` Stefan Monnier
2010-05-21 20:51             ` Juri Linkov
2010-05-22  8:49               ` martin rudalics
2010-05-22 23:54                 ` Juri Linkov
2010-05-22 23:50         ` Juri Linkov
2010-05-23 12:13           ` martin rudalics
2010-05-20 18:33       ` Glenn Morris
2010-05-21  0:16         ` Juri Linkov

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=jwv6329z5xp.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=6204@debbugs.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 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).