[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore the layout?
From: |
Stephen Leake |
Subject: |
Re: How to restore the layout? |
Date: |
Sun, 30 Jun 2013 11:27:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) |
Juanma Barranquero <address@hidden> writes:
> On Sat, Jun 29, 2013 at 10:51 AM, Stephen Leake
> <address@hidden> wrote:
>
>> Prompt the user.
>
> Not so sure. If you invoke desktop-read interactively, it could make
> sense (or we could add an argument, so C-u M-x desktop-read selects
> the alternate behavior). But in the most common case, which is (likely
> to be) running desktop-read from after-init-hook (which is
> automatically done now if you enable desktop-mode), I don't think
> asking the user is the way to go. Far from it.
Can you elaborate? what is wrong with prompting the user from
after-init-hook?
The doc for after-init-hook says it is run "after initializing the Emacs
session". It does not mention displays, so I assume the default display
is available for prompting the user.
--
-- Stephe
- Re: How to restore the layout?, (continued)
- Re: How to restore the layout?, martin rudalics, 2013/06/29
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/29
- Re: How to restore the layout?, martin rudalics, 2013/06/30
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/30
- Re: How to restore the layout?, martin rudalics, 2013/06/30
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/30
- Re: How to restore the layout?, Stephen Leake, 2013/06/29
- Re: How to restore the layout?, chad, 2013/06/29
- Re: How to restore the layout?, Eli Zaretskii, 2013/06/29
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/29
- Re: How to restore the layout?,
Stephen Leake <=
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/30
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/28
- Re: How to restore the layout?, Stephen Leake, 2013/06/29