From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#16884: 24.3.50; desktop-read should not die on non-existing directories Date: Wed, 26 Feb 2014 14:22:13 -0500 Message-ID: References: <1gsir5ixp3.fsf@fencepost.gnu.org> <58ios1iuv6.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1393442588 3767 80.91.229.3 (26 Feb 2014 19:23:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2014 19:23:08 +0000 (UTC) Cc: Sam Steingold , 16884@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 26 20:23:15 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WIk4S-0003vw-3e for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 20:23:08 +0100 Original-Received: from localhost ([::1]:42933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIk4R-0007Cy-KX for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 14:23:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIk4O-0007CI-4N for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 14:23:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIk4N-0003ib-81 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 14:23:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIk4N-0003iX-4c for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 14:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WIk4M-0000xf-IU for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 14:23:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2014 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16884 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16884-submit@debbugs.gnu.org id=B16884.13934425363601 (code B ref 16884); Wed, 26 Feb 2014 19:23:02 +0000 Original-Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 19:22:16 +0000 Original-Received: from localhost ([127.0.0.1]:41786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIk3b-0000vy-TK for submit@debbugs.gnu.org; Wed, 26 Feb 2014 14:22:16 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49166) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIk3a-0000vr-LF for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 14:22:14 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIk3a-0002VG-0i; Wed, 26 Feb 2014 14:22:14 -0500 X-Spook: Ruby Ridge csystems kilderkin Rand Corporation X-Ran: H2oqFH List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86291 Archived-At: Juanma Barranquero wrote: >> 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." If you've got time to implement this nicety, go for it. I just went with with-demoted-errors, with is consistent with the existing "no such directory" case.