[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preserving window layout?
From: |
Oleksandr Gavenko |
Subject: |
Re: Preserving window layout? |
Date: |
Thu, 20 Sep 2012 22:20:52 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
On 2012-09-20, Alan Schmitt wrote:
> I'm trying to work in a single Emacs frame, split in several windows,
> but this does not work well with gnus. Reading the documentation, I see
> that there is an option to prevent gnus from taking over the frame
> (http://gnus.org/manual/gnus_288.html), but its use is discouraged.
>
> Hence my question: has anyone found a way to use gnus without losing an
> existing windows layout? I saw some discussion on emacswiki
> (http://www.emacswiki.org/emacs/OneWindow) and I'm wondering if there
> are other tricks that I may have missed.
>
I suggest dumb solution:
M-x new-frame RET M-x gnus RET
If you have nice windows manager with cool select windows application you easy
switch between main Emacs frame and Gnus one...
Really I use at most only 2 Emacs windows. For fast navigation I use saved
points in registers and iswitchb-mode.
I think you can try to hack some Elisp code with use of:
(setq my-window-conf (current-window-configuration))
(gnus)
(set-window-configuration my-window-conf) ;; restore window layout and
;; selected buffers
http://www.gnu.org/software/emacs/manual/html_node/elisp/Window-Configurations.html
I think that it is you want but I don't how integrate this code with gnus and
your preferences...
Try searching on emacswiki by set-window-configuration keyword...
--
Best regards!