help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving window config using desktop globals


From: Tim Johnson
Subject: Re: Saving window config using desktop globals
Date: Sun, 13 Dec 2015 14:27:09 -0900
User-agent: Mutt/1.5.21 (2010-09-15)

* Emanuel Berg <embe8573@student.uu.se> [151213 13:59]:
> Tim Johnson <tim@akwebsoft.com> writes:
> 
> > I use the following method (add-to-list
> > 'desktop-globals-to-save 'current-project-directory)
> > (add-to-list 'desktop-globals-to-save 'kill-ring) to
> > save certain variables.
> >
> > How may I extend this method to save and retrieve my
> > window configuration?
> 
> It is much easier to understand what you mean and thus
> give help if you don't describe the problem in terms
> of technology, but rather from a human POV - what is
> it, that you want to do, that you cannot? In what
> situation will it solve what problem? Etc.
  Thanks for the reply.
  OK: POV -> My pov is the window arrangement.  
    Let's say that my screen is split into 4 windows of equal size. 
        I can save that arrangement in register 'a' by invoking
        c-x r w a.
        As I work, I might find myself with another arrangement and want
        to go back to my original.
        I invoke c-x r j a and bingo! There I have it.

    Can I save the arrangement that I saved in the register 'a
        in my desktop file? My current setup doesn't do that.
        register-alist is not saved to the desktop file with the same
        items that I view from *Help* when I invoke c-h v
        register-alist.

        I appreciate the code you provided. But my main concern is to
        preserve a window layout so that when I close emacs and restart
        or load another desktop and reload the first I desktop can see
        the same layout.

    I hope that this narrative is more clear.
        regards
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]