[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore the layout?
From: |
Juanma Barranquero |
Subject: |
Re: How to restore the layout? |
Date: |
Fri, 5 Jul 2013 16:55:19 +0200 |
On Fri, Jul 5, 2013 at 4:02 PM, Angelo Graziosi
<address@hidden> 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.
> 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.
That's a consequence of the way window-state-put currently works. Martin?
J
- RE: How to restore the layout?, (continued)
Re: How to restore the layout?, Angelo Graziosi, 2013/07/04
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/04
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/04
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/04
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/05
- Re: How to restore the layout?,
Juanma Barranquero <=
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/06