[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preserving window layout?
From: |
Eric Abrahamsen |
Subject: |
Re: Preserving window layout? |
Date: |
Fri, 21 Sep 2012 09:59:16 +0800 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) |
On Fri, Sep 21 2012, Oleksandr Gavenko wrote:
> On 2012-09-20, Oleksandr Gavenko wrote:
>> 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...
>
> Quotation from
> http://stackoverflow.com/questions/2572950/preserve-window-layout-in-emacs/2575269#2575269
>
> I sometimes still use C-x r w <register> to store a window configuration in
> a register, and C-x r j <register> (where <register> is a single character)
> to jump back to it.
>
> I learn Emacs with you ))
I also just use multiple frames (I use stumpwm, so using emacs as a
fullblown window manager seemed redundant), but this is a really nice
tip, thanks.
--
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.4)
of 2012-09-16 on pellet
Ma Gnus v0.6