[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: all I wanted to do was make the compilation-mode-hook the sole visib
From: |
despen |
Subject: |
Re: all I wanted to do was make the compilation-mode-hook the sole visible buffer |
Date: |
Wed, 28 Mar 2012 19:28:13 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
jidanni@jidanni.org writes:
> All I wanted to do was make the compilation-mode-hook the sole visible buffer.
> (setq
> compilation-mode-hook
> (function
> (lambda ()
> (delete-other-windows);doesn't work, so try:
> ; (enlarge-window 111);window-resize: Cannot resize the root window of a
> frame
> )))
>
> Please don't tell me about frames again.
Again?
> All I want to do is make this work.
I think what you want is when you do a compile you want to
switch to the buffer the compilation is in, and make it the only window
in the frame. If so:
You want to use "add-hook", not setq.
Then you want to do something equivalent to C-x, C-o,
then C-x 1.
--
Dan Espen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: all I wanted to do was make the compilation-mode-hook the sole visible buffer,
despen <=