Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: Preserving window layout?
Date: Fri, 21 Sep 2012 09:59:16 +0800	[thread overview]
Message-ID: <87ipb8w2yz.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87boh0trjk.fsf@gavenkoa.example.com>

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

  reply	other threads:[~2012-09-21  1:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 14:32 Alan Schmitt
2012-09-20 19:20 ` Oleksandr Gavenko
2012-09-20 19:36   ` Oleksandr Gavenko
2012-09-21  1:59     ` Eric Abrahamsen [this message]
2012-09-21  6:28     ` Alan Schmitt
2012-09-21  6:25   ` Alan Schmitt
2012-09-22 23:18 ` Philipp Haselwarter
2012-09-24  6:38   ` Alan Schmitt
2012-09-27 21:49 ` Angel de Vicente
2012-10-01 17:50   ` Alan Schmitt

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=87ipb8w2yz.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.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.
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 NNTP newsgroup(s).