unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Startup screen default directory
Date: Tue, 12 Feb 2008 02:14:19 +0200	[thread overview]
Message-ID: <87wspb5d18.fsf@jurta.org> (raw)
In-Reply-To: <E1JOYo1-00080l-U7@fencepost.gnu.org> (Richard Stallman's message of "Mon, 11 Feb 2008 08:34:45 -0500")

>     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	other threads:[~2008-02-12  0:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-10 23:29 Startup screen default directory Juri Linkov
2008-02-11 13:34 ` Richard Stallman
2008-02-12  0:14   ` Juri Linkov [this message]
2008-02-12  1:48     ` Robert J. Chassell
2008-02-12 21:30       ` Juri Linkov
2008-02-12 22:31         ` Stefan Monnier
2008-02-12 23:42           ` Juri Linkov
2008-02-13  2:21         ` Robert J. Chassell
2008-02-12  3:51     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wspb5d18.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).