all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Sam Steingold <sds@gnu.org>, 16884@debbugs.gnu.org
Subject: bug#16884: 24.3.50; desktop-read should not die on non-existing directories
Date: Wed, 26 Feb 2014 19:49:23 +0100	[thread overview]
Message-ID: <CAAeL0SQo007iE-uFM018F42vCLxu91V6mBD2VkatXoEqYUQy0Q@mail.gmail.com> (raw)
In-Reply-To: <58ios1iuv6.fsf@fencepost.gnu.org>

On Wed, Feb 26, 2014 at 7:36 PM, Glenn Morris <rgm@gnu.org> wrote:

> Yes. In just the same way as
>
> M-: (dired "/blargh") RET
>
> throws an error.
>
> This is all fine in normal use.

Well, I find it curious that dired of an empty directory or a failing
pattern match should throw an error (as I said, it doesn't on Windows
when using ls-lisp.el), but if that's the usual and time-honored
behavior, who am I to discuss it?

> But dired-restore-desktop-buffer should trap the "glob match fails" case
> in just the same way as it traps the "no such directory" case.

Yes, if (dired "/nonexistent") errors out, we should catch it when
restoring desktop.el. And it shouldn't ever be a with-demoted-errors,
failing to restore buffers in desktop.el is quite silent, just a
message at the end "X frames, Y buffers restored, Z failed to
restore."





  reply	other threads:[~2014-02-26 18:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 19:06 bug#16884: 24.3.50; desktop-read should not die on non-existing directories Sam Steingold
2014-02-25 21:08 ` Juanma Barranquero
2014-02-26 17:28   ` Glenn Morris
2014-02-26 17:35     ` Glenn Morris
2014-02-26 17:47       ` Juanma Barranquero
2014-02-26 18:15         ` Sam Steingold
2014-02-26 18:18           ` Juanma Barranquero
2014-02-26 18:36             ` Glenn Morris
2014-02-26 18:49               ` Juanma Barranquero [this message]
2014-02-26 19:22                 ` Glenn Morris
2014-02-26 20:31                   ` Juanma Barranquero
2014-02-26 18:38             ` Sam Steingold
2014-02-26 18:20         ` Eli Zaretskii
2014-02-26 18:28           ` Juanma Barranquero
2014-02-26 18:34             ` Eli Zaretskii
2014-02-26 18:36               ` Juanma Barranquero
2014-02-26 19:04                 ` Eli Zaretskii
2014-02-26 19:09                   ` Glenn Morris
2014-02-26 19:13                     ` Eli Zaretskii
2014-02-26 19:20                       ` Glenn Morris
2014-02-26 17:40     ` Juanma Barranquero

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

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

  git send-email \
    --in-reply-to=CAAeL0SQo007iE-uFM018F42vCLxu91V6mBD2VkatXoEqYUQy0Q@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=16884@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    --cc=sds@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.