emacs-devel
[Top][All Lists]
Advanced

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

Re: How to restore the layout?


From: Angelo Graziosi
Subject: Re: How to restore the layout?
Date: Fri, 05 Jul 2013 17:02:30 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Il 05/07/2013 16.55, Juanma Barranquero ha scritto:
On Fri, Jul 5, 2013 at 4:02 PM, Angelo Graziosi
 wrote:

When I restart Emacs, it restore both buffers:
~/applications/foo.f90 (and this is OK) and an EMPTY
~/applications/foo.cpp!!! and foo.cpp is visited in Fundamental mode (notice
the new directory for foo.cpp too..).

This only happens if you set desktop-restore-frames = t, which is
currently experimental.

Obviously I have that

I think this is the right thing to
do: files that do not exist any more (or are moved elsewhere) should not be
restored at all.

It's not a file, it's a buffer. Note that buffer-file-name is nil.

OK, it is a buffer, but restoring what that doesn't exist any more is wrong, in my opinion


That's a consequence of the way window-state-put currently works. Martin?

Yes, Martin.. please fix that...


Ciao,
 Angelo.





reply via email to

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