emacs-devel
[Top][All Lists]
Advanced

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

Re: Startup screen default directory


From: Juri Linkov
Subject: Re: Startup screen default directory
Date: Tue, 12 Feb 2008 02:14:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>     When desktop-mode is active, then after loading the desktop file and
>     restoring all saved files, the startup screen have the default directory
>     set to the directory of the last restored file.  Since the last file is
>     not visible (only the startup screen is shown), this leaves to wonder
>     why the default directory of the startup screen is set to some arbitrary
>     directory.  This is very confusing.  I propose to set the default
>     directory of the startup screen to the directory where Emacs was run.
>
> That seems like a good idea.

It seems setting the default directory of the startup screen to the
directory where Emacs was run is good even in case when the user doesn't
use the desktop.

> However, maybe desktop.el should switch to the restored buffers.  If
> someone is restoring an old desktop, he has seen the splash screen
> before, and has probably used Emacs for some time.
> There is no need to show him the startup screen again.

Wouldn't it be enough to check for the autoloaded variable
`desktop-save-mode'? When it is non-nil, we can assume that
the user has customized it to load the desktop, so don't show
the splash screen.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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