unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: jidanni@jidanni.org
Cc: 8862@debbugs.gnu.org
Subject: bug#8862: compilation-window-height no good anymore
Date: Tue, 14 Jun 2011 19:14:44 +0200	[thread overview]
Message-ID: <4DF79704.9010601@gmx.at> (raw)
In-Reply-To: <87fwnce9qn.fsf@jidanni.org>

 > I used to have
 > setq compilation-window-height 111
 > in my .emacs, but starting this week, I get a cannot resize window error
 > upon M-x compiles.

Same here.

 > I just was hoping to have a big window.

By default `compile' tries to split off a window for the compilation
buffer and, when faced with the problem to make that window 111 lines
high, calls `enlarge-window' which, with the old behavior, automatically
deleted all other windows on your frame and then used the remaining big
window (but not 111 lines even on your screen, I suppose;-)).

In the current version, windows are no longer deleted automatically.  So
when you want to make a window that's too large to fit onto the frame in
question (respecting the minimumm heights of other windows on the frame)
Emacs issues an error message.

If you really want one big window for your compilation buffer, you
should create an entry in `display-buffer-alist' (I know you don't like
it but I recommend to use the customization interface when doing this
for the first time) which might look like

(((name . "*compilation*")) (reuse-window same nil nil))

telling the buffer display mechanism to simply use the selected window
for displaying the buffer (and not split the window as it would do by
default).  If you want a more sophisticated behavior, please tell me.

martin





  reply	other threads:[~2011-06-14 17:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANRVBjd5fkREY6aKUkr75nEHJn32DZE56W=36LvBKQXOVVE+zQ@mail.gmail.com>
2011-06-14 15:03 ` bug#8862: compilation-window-height no good anymore jidanni
2011-06-14 17:14   ` martin rudalics [this message]
2011-06-14 18:32     ` Nix
2011-06-14 19:08       ` martin rudalics
2011-06-14 19:11         ` Nix
2011-06-15  3:15         ` Stefan Monnier
2011-06-15  9:09           ` martin rudalics
2011-06-15 14:09             ` Stefan Monnier
2011-06-15 14:51               ` martin rudalics
2011-06-15 15:38                 ` Stefan Monnier
2011-06-15 15:56                   ` martin rudalics
2011-06-14 23:50   ` jidanni
2011-06-15  9:08     ` martin rudalics
2011-06-15 11:46   ` jidanni
2011-06-15 12:57     ` martin rudalics
2011-06-15 13:28       ` martin rudalics
2011-07-15 22:47         ` Glenn Morris
2011-06-15 13:10   ` jidanni
2011-06-15 13:43   ` jidanni
2011-07-24 15:07   ` bug#8862: Stop compilation mode from splitting the window jidanni
2011-07-24 15:34   ` jidanni
2011-07-25  1:14   ` jidanni

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=4DF79704.9010601@gmx.at \
    --to=rudalics@gmx.at \
    --cc=8862@debbugs.gnu.org \
    --cc=jidanni@jidanni.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 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).