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: Juanma Barranquero
Subject: Re: How to restore the layout?
Date: Thu, 27 Jun 2013 16:45:34 +0200

On Thu, Jun 27, 2013 at 4:31 PM, Angelo Graziosi
<address@hidden> wrote:

> I don't understand here.. In my /~/.emacs.d/init.el I have
>
> ;; Instead to save in ~/.emacs.desktop
> (setq desktop-base-file-name "~/.emacs.d/desktop")
>
> ;; Instead to save in ~/.emacs.desktop.lock
> (setq desktop-base-lock-name "~/.emacs.d/desktop.lock")

OK.

> Which "desktop save file" are you talking about? Perhaps
> "~/.emacs.d/desktop"?

According to your code above, yes.

> I have tried
>
> $ grep window .emacs.d/desktop
>
> but found anything called "window-save"...
>
> So I am a little confused.

It's not really important. If you edit that file, below ;;Global
section: if you see any variable whose name starts with "desktop--"
and it's not "desktop--saved-states" (which is its name now), just
delete it.

> Any way, adding "setq desktop-save-windows t" in my init file seem to work.

I sure hoped so :-)

> I notice only that if I close Emacs (the session) with the frame full
> maximized (the button of the system window activated), the next time I
> restart Emacs (the next session), the frame has almost the same size of
> previous session (just the height one line sorter) but the maximized button
> not active. If I have read correctly this, at the moment, is to be expected.

Yes. I plan to fix it, but I first want advice about getting the
pre-maximized frame size without having to de-maximize and re-maximite
it. For the moment being, saving&restoring maximized/fullscreen frames
is not really supported.

> Many thanks for having added this to Emacs!

Thanks for testing. If you find any other bug or unwanted behavior (as
I'm sure you will), please file a bug report. It's less messy than
endlessly adding to this thread.

    J



reply via email to

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