From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Oleksandr Gavenko <gavenkoa@gmail.com>
Cc: info-gnus-english@gnu.org
Subject: Re: Preserving window layout?
Date: Fri, 21 Sep 2012 08:25:27 +0200 [thread overview]
Message-ID: <m2txurdh9k.fsf@top-wifi.irisa.fr> (raw)
In-Reply-To: <87sjactsa3.fsf@gavenkoa.example.com> (Oleksandr Gavenko's message of "Thu, 20 Sep 2012 22:20:52 +0300")
Oleksandr Gavenko <gavenkoa@gmail.com> writes:
> 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...
Unfortunately my window manager is not so nice (I'm on OS X).
> 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...
Interesting tip, thanks a lot!
Alan
next prev parent reply other threads:[~2012-09-21 6:25 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
2012-09-21 6:28 ` Alan Schmitt
2012-09-21 6:25 ` Alan Schmitt [this message]
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=m2txurdh9k.fsf@top-wifi.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--cc=gavenkoa@gmail.com \
--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).