* How to save
@ 2011-11-05 23:10 Marius Hofert
2011-11-06 15:28 ` Jonathan Groll
0 siblings, 1 reply; 10+ messages in thread
From: Marius Hofert @ 2011-11-05 23:10 UTC (permalink / raw)
To: Emacs help
Hi,
I use (desktop-save-mode 1) to save all currently opened buffers so that Emacs is opened next time; all buffers are still there to work with. Is there something similar with Emacs' windows? (so that not only the buffers but also the windows will be opened on start, ideally in their old locations)
Cheers,
Marius
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-05 23:10 How to save Marius Hofert
@ 2011-11-06 15:28 ` Jonathan Groll
2011-11-06 15:50 ` Marius Hofert
0 siblings, 1 reply; 10+ messages in thread
From: Jonathan Groll @ 2011-11-06 15:28 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 6 Nov 2011 00:10:31 +0100, Marius Hofert <marius.hofert@math.ethz.ch> wrote:
> Hi,
>
> I use (desktop-save-mode 1) to save all currently opened buffers so that Emacs is opened next time; all buffers are still there to work with. Is there something similar with Emacs' windows? (so that not only the buffers but also the windows will be opened on start, ideally in their old locations)
Look at:
http://www.emacswiki.org/emacs/EmacsLispScreen
or
http://blog.nguyenvq.com/2011/03/07/escreen-instead-of-elscreen-for-screen-like-features-in-emacs/
Cheers,
Jonathan
--
jjg: Jonathan J. Groll : groll co za
has_one { :blog => "http://bloggroll.com" }
Sent from my computer device which runs on free software
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-06 15:28 ` Jonathan Groll
@ 2011-11-06 15:50 ` Marius Hofert
2011-11-06 21:37 ` Jonathan Groll
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Marius Hofert @ 2011-11-06 15:50 UTC (permalink / raw)
To: Jonathan Groll; +Cc: help-gnu-emacs
Thanks, Jonathan.
I was hoping for a less intrusive solution. I also saw save-place constructions but that also seemed quite heavy.
I'm still wondering why it does not work with just desktop-save-mode, it specificallys says on http://www.gnu.org/s/libtool/manual/emacs/Saving-Emacs-Sessions.html that the buffers, their file names, major modes, buffer positions,.. are saved. Hmm...
Cheers,
Marius
On 2011-11-06, at 16:28 , Jonathan Groll wrote:
> On Sun, 6 Nov 2011 00:10:31 +0100, Marius Hofert <marius.hofert@math.ethz.ch> wrote:
>
>> Hi,
>>
>> I use (desktop-save-mode 1) to save all currently opened buffers so that Emacs is opened next time; all buffers are still there to work with. Is there something similar with Emacs' windows? (so that not only the buffers but also the windows will be opened on start, ideally in their old locations)
>
> Look at:
> http://www.emacswiki.org/emacs/EmacsLispScreen
>
> or
>
> http://blog.nguyenvq.com/2011/03/07/escreen-instead-of-elscreen-for-screen-like-features-in-emacs/
>
> Cheers,
> Jonathan
> --
> jjg: Jonathan J. Groll : groll co za
> has_one { :blog => "http://bloggroll.com" }
> Sent from my computer device which runs on free software
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-06 15:50 ` Marius Hofert
@ 2011-11-06 21:37 ` Jonathan Groll
2011-11-07 1:24 ` Eric Abrahamsen
2011-11-07 6:25 ` Andreas Röhler
2 siblings, 0 replies; 10+ messages in thread
From: Jonathan Groll @ 2011-11-06 21:37 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 6 Nov 2011 16:50:47 +0100, Marius Hofert <marius.hofert@math.ethz.ch> wrote:
> Thanks, Jonathan.
>
> I was hoping for a less intrusive solution. I also saw save-place
> constructions but that also seemed quite heavy. I'm still wondering
> why it does not work with just desktop-save-mode, it specificallys
> says on
> http://www.gnu.org/s/libtool/manual/emacs/Saving-Emacs-Sessions.html
> that the buffers, their file names, major modes, buffer positions,..
> are saved. Hmm...
Also, see http://www.emacswiki.org/emacs/FrameConfiguration
Especially: http://www.emacswiki.org/emacs/FrameRestorePackage
Disclaimer: Haven't used any of the above myself.
Cheers,
Jonathan
--
jjg: Jonathan J. Groll : groll co za
has_one { :blog => "http://bloggroll.com" }
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-06 15:50 ` Marius Hofert
2011-11-06 21:37 ` Jonathan Groll
@ 2011-11-07 1:24 ` Eric Abrahamsen
2011-11-07 6:25 ` Andreas Röhler
2 siblings, 0 replies; 10+ messages in thread
From: Eric Abrahamsen @ 2011-11-07 1:24 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, Nov 06 2011, Marius Hofert wrote:
> Thanks, Jonathan.
>
> I was hoping for a less intrusive solution. I also saw save-place constructions but that also seemed quite heavy.
> I'm still wondering why it does not work with just desktop-save-mode,
> it specificallys says on
> http://www.gnu.org/s/libtool/manual/emacs/Saving-Emacs-Sessions.html
> that the buffers, their file names, major modes, buffer positions,..
> are saved. Hmm...
>
> Cheers,
>
> Marius
For more frame-/window-specific solutions see
http://www.emacswiki.org/emacs/CategoryWindows, specifically the
"Switching Window Configurations" section. I use Workgroups
(http://www.emacswiki.org/emacs/WorkgroupsForWindows) and like it quite
a bit: it saves frame/window/buffer configurations, but doesn't save all
my open files unless I ask it to. For me, that's just the right amount
of persistence.
Eric
--
GNU Emacs 24.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
of 2011-10-06 on pellet
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-06 15:50 ` Marius Hofert
2011-11-06 21:37 ` Jonathan Groll
2011-11-07 1:24 ` Eric Abrahamsen
@ 2011-11-07 6:25 ` Andreas Röhler
2011-11-07 6:38 ` Marius Hofert
2 siblings, 1 reply; 10+ messages in thread
From: Andreas Röhler @ 2011-11-07 6:25 UTC (permalink / raw)
To: help-gnu-emacs
Am 06.11.2011 16:50, schrieb Marius Hofert:
> Thanks, Jonathan.
>
> I was hoping for a less intrusive solution. I also saw save-place constructions but that also seemed quite heavy.
> I'm still wondering why it does not work with just desktop-save-mode, it specificallys says on http://www.gnu.org/s/libtool/manual/emacs/Saving-Emacs-Sessions.html that the buffers, their file names, major modes, buffer positions,.. are saved. Hmm...
>
> Cheers,
>
> Marius
>
>
>
> On 2011-11-06, at 16:28 , Jonathan Groll wrote:
>
>> On Sun, 6 Nov 2011 00:10:31 +0100, Marius Hofert<marius.hofert@math.ethz.ch> wrote:
>>
>>> Hi,
>>>
>>> I use (desktop-save-mode 1) to save all currently opened buffers so that Emacs is opened next time; all buffers are still there to work with. Is there something similar with Emacs' windows? (so that not only the buffers but also the windows will be opened on start, ideally in their old locations)
>>
sounds worth a feature request
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-07 6:25 ` Andreas Röhler
@ 2011-11-07 6:38 ` Marius Hofert
2011-11-07 14:37 ` Drew Adams
0 siblings, 1 reply; 10+ messages in thread
From: Marius Hofert @ 2011-11-07 6:38 UTC (permalink / raw)
To: Andreas Röhler; +Cc: help-gnu-emacs
Indeed.
I don't need a complicated window manager, but having three windows open on close, it would be nice to get them back. I found this, when testing new settings in .emacs. I typically restart to make sure it works.
Question: Where to address feature requests to?
> sounds worth a feature request
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: How to save
2011-11-07 6:38 ` Marius Hofert
@ 2011-11-07 14:37 ` Drew Adams
2011-11-09 6:51 ` Marius Hofert
0 siblings, 1 reply; 10+ messages in thread
From: Drew Adams @ 2011-11-07 14:37 UTC (permalink / raw)
To: 'Marius Hofert', 'Andreas Röhler'; +Cc: help-gnu-emacs
> Question: Where to address feature requests to?
M-x report-emacs-bug
That's for reporting bugs and requesting enhancements.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-07 14:37 ` Drew Adams
@ 2011-11-09 6:51 ` Marius Hofert
2011-11-09 18:41 ` Philipp Haselwarter
0 siblings, 1 reply; 10+ messages in thread
From: Marius Hofert @ 2011-11-09 6:51 UTC (permalink / raw)
To: Drew Adams; +Cc: help-gnu-emacs
just a brief follow-up: Lennart Borgman answered the feature request ("bug#9985: Feature request: save open windows"):
"... I know there are several elisp libraries that does this. (One of them can be found in nXhtml.)"
On 2011-11-07, at 15:37 , Drew Adams wrote:
>> Question: Where to address feature requests to?
>
> M-x report-emacs-bug
>
> That's for reporting bugs and requesting enhancements.
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to save
2011-11-09 6:51 ` Marius Hofert
@ 2011-11-09 18:41 ` Philipp Haselwarter
0 siblings, 0 replies; 10+ messages in thread
From: Philipp Haselwarter @ 2011-11-09 18:41 UTC (permalink / raw)
To: help-gnu-emacs
from the TODO file (C-h C-t):
> * Important features:
> ...
> ** "Perspectives" are named persistent window configurations
The idea has been around a while, and emacs already knows how to do a
lot of what would be required to provide functionality similar to that
of all the window/workspace managers out there:
`window-configuration-to-register' actually provides most of what one
could wish for, except there's no way to save a "window configuration"
persistently.
(iirc this is actually one of the motivations named by the workgroup
author: window configuration can't be serialized in elisp (?))
Personally I use workgroups, which lets me define persistent named
workspaces each with its own window configuration.
It's a bit sad to see how many people have tried solving this problem
but no solution made it to core emacs. The issue does seem to be shared
by many.
--
Philipp Haselwarter
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-11-09 18:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-05 23:10 How to save Marius Hofert
2011-11-06 15:28 ` Jonathan Groll
2011-11-06 15:50 ` Marius Hofert
2011-11-06 21:37 ` Jonathan Groll
2011-11-07 1:24 ` Eric Abrahamsen
2011-11-07 6:25 ` Andreas Röhler
2011-11-07 6:38 ` Marius Hofert
2011-11-07 14:37 ` Drew Adams
2011-11-09 6:51 ` Marius Hofert
2011-11-09 18:41 ` Philipp Haselwarter
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 read-only IMAP folder(s) and NNTP newsgroup(s).