all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Haines Brown <haines@histomat.net>
To: help-gnu-emacs@gnu.org
Subject: Re: How to pickle split window?
Date: Fri, 08 Mar 2013 15:05:04 -0500	[thread overview]
Message-ID: <87r4jpejyn.fsf@engels.HistoricalMaterialism.info> (raw)
In-Reply-To: f2535ed5-d25a-4633-ad40-20705b507b4d@googlegroups.com

jpkotta <jpkotta@gmail.com> writes:

> On Friday, March 8, 2013 5:32:17 AM UTC-6, Haines Brown wrote:
>> 
>> What can I do to return to the split window that displays my prior
>> state automatically after closing gnus without having to do an emacs
>> reload

> C-x r w <letter> saves the window configuration to the register
> specified with <letter> (e.g. "a" or "z").  C-x r j <letter> restores
> the window config stored in register <letter>.
>
> There are many packages that save window configurations, see
> http://emacswiki.org/emacs/CategoryWindows#toc4.  I like
> workgroups.el.

Sorry I was not clearer. I understand there are commands to restore
previous window layout, but my interest was for it to be automatic, so
that for example when I close gnus, emacs returns automatically to the
prior windows layout. It would even be nice to return automatically to
the the prior buffers displayed in those windows.

I suspect the answer to somehow to add a hook to gnus quit that
automatically runs (defun reload ()), perhaps calling back most recent
buffers for those windows.

Haines   


  reply	other threads:[~2013-03-08 20:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 11:32 How to pickle split window? Haines Brown
2013-03-08 15:32 ` jpkotta
2013-03-08 20:05   ` Haines Brown [this message]
2013-03-08 20:52     ` Lowell Gilbert
2013-03-09 13:15       ` Haines Brown
2013-03-09 14:19         ` Lowell Gilbert
2013-03-10  2:47         ` Eric Abrahamsen
     [not found]         ` <mailman.21792.1362883346.855.help-gnu-emacs@gnu.org>
2013-03-10 14:00           ` Haines Brown
2013-03-08 20:59     ` Joost Kremers
2013-03-09  0:35     ` Eric Abrahamsen
2013-03-09  8:24     ` Ivan Kanis

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=87r4jpejyn.fsf@engels.HistoricalMaterialism.info \
    --to=haines@histomat.net \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.