all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jpkotta <jpkotta@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to pickle split window?
Date: Fri, 8 Mar 2013 07:32:54 -0800 (PST)	[thread overview]
Message-ID: <f2535ed5-d25a-4633-ad40-20705b507b4d@googlegroups.com> (raw)
In-Reply-To: <87vc92dt4u.fsf@engels.HistoricalMaterialism.info>

On Friday, March 8, 2013 5:32:17 AM UTC-6, Haines Brown wrote:
> I normally run emacs with split windows and so have 
> 
> 
> 
>    (split-window-horizontally)
> 
> 
> 
> in its initialization file. However, I periodically interrupt work
> 
> to run M-x gnus. When I close gnus, I am not returned to a split window,
> 
> but to a single window. 
> 
> 
> 
> 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
> 
> command with:
> 
> 
> 
>   ;; Enable M-x reload
> 
>   (defun reload () "Reloads .emacs interactively."
> 
>     (interactive)
> 
>     (load "~/.emacs"))
> 
> 
> 
> Haines Brown

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.


  reply	other threads:[~2013-03-08 15:32 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 [this message]
2013-03-08 20:05   ` Haines Brown
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=f2535ed5-d25a-4633-ad40-20705b507b4d@googlegroups.com \
    --to=jpkotta@gmail.com \
    --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.