[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 11:35:36 -0900 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Tim Johnson <tim@akwebsoft.com> [151213 10:33]:
> Using GNU emacs 24.3 on ubuntu 14.04.
>
> 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?
>
> at this point, I'm not using more than the default
> frame.
>
> I'd like to do this without installing another package. I'm thinking
> about using a dedicated register to save one or more configs.
>
> I've tried using C-x r w <ENTER> to save it. But when I restart
> emacs and try C-x r j, I get the following:
>
> jump-to-register: Register doesn't contain a buffer position or
> configuration
Addendum :
C-x r w p (save window config in register p)
and then c-h v register-alist
shows the following:
((112 #<window-configuration> #<marker at 2995 in .emacs>)
(13 "Unprintable entity" #<marker at 5620 in .emacs>)
(313465889 "Unprintable entity" #<marker in no buffer>))
Now :
Save the desktop and close emacs. Re-open emacs
and retrieve the desktop file.
then c-h v register-alist
((112 "Unprintable entity" #<marker at 2995 in .emacs>)
(13 "Unprintable entity" #<marker at 5620 in .emacs>)
(313465889 "Unprintable entity" #<marker in no buffer>))
... No window config
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
- Saving window config using desktop globals, Tim Johnson, 2015/12/13
- Re: Saving window config using desktop globals,
Tim Johnson <=
- Re: Saving window config using desktop globals, Emanuel Berg, 2015/12/13
- Re: Saving window config using desktop globals, Emanuel Berg, 2015/12/13
- Re: Saving window config using desktop globals, Emanuel Berg, 2015/12/13
- Re: Saving window config using desktop globals, Tim Johnson, 2015/12/13
- Re: Saving window config using desktop globals, Emanuel Berg, 2015/12/13
- Re: Saving window config using desktop globals, Tim Johnson, 2015/12/13
- Re: Saving window config using desktop globals, Emanuel Berg, 2015/12/13
- Re: Saving window config using desktop globals, Tim Johnson, 2015/12/13
- Re: Saving window config using desktop globals, Emanuel Berg, 2015/12/13
- Re: Saving window config using desktop globals, Tim Johnson, 2015/12/13