all messages for Emacs-related lists mirrored at yhetil.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: Wed, 15 Jun 2011 14:57:42 +0200	[thread overview]
Message-ID: <4DF8AC46.4090500@gmx.at> (raw)
In-Reply-To: <87oc1zmi5y.fsf@jidanni.org>

  I want to say M-x compile ... and the new buffer should then take up the
 > entire screen.

So your use case is that you have more than one window on your screen
but when you invoke compile you just want to have one window?  Try the
following:

(setq display-buffer-alist
       (cons '(((name . "*compilation*"))
	      (fun-with-args
	       (lambda (buffer &rest args)
		 (delete-other-windows)
		 (display-buffer buffer 'same-window))))
	    display-buffer-alist))

You might have to adjust the name if that of your compilation buffer is
not *compilation*.

martin





  reply	other threads:[~2011-06-15 12:57 UTC|newest]

Thread overview: 27+ 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
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 [this message]
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
2011-07-24 15:34 ` jidanni
2011-07-24 15:07 jidanni
2011-07-24 17:06 ` martin rudalics
2011-07-25  1:14   ` jidanni
2011-07-24 17:06 ` bug#8862: " martin rudalics

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=4DF8AC46.4090500@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 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.