From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 25 14:06:51 2014 Received: (at submit) by debbugs.gnu.org; 25 Feb 2014 19:06:51 +0000 Received: from localhost ([127.0.0.1]:39815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WINL8-0001lX-Bm for submit@debbugs.gnu.org; Tue, 25 Feb 2014 14:06:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48756) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WINL6-0001lJ-E6 for submit@debbugs.gnu.org; Tue, 25 Feb 2014 14:06:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WINKx-00085f-BA for submit@debbugs.gnu.org; Tue, 25 Feb 2014 14:06:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,FREEMAIL_FROM, NULL_IN_BODY,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WINKx-00085Y-7l for submit@debbugs.gnu.org; Tue, 25 Feb 2014 14:06:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WINKt-0007s9-7S for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2014 14:06:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WINKp-00082F-7b for bug-gnu-emacs@gnu.org; Tue, 25 Feb 2014 14:06:35 -0500 Received: from mail-qc0-x235.google.com ([2607:f8b0:400d:c01::235]:40345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WINKk-00080M-Gg; Tue, 25 Feb 2014 14:06:26 -0500 Received: by mail-qc0-f181.google.com with SMTP id c9so10858084qcz.26 for ; Tue, 25 Feb 2014 11:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:return-receipt-to:reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; bh=BHmSnnVk5TmgBCdCNqRU4XKhBIjx+C4GFqn+Q62c+Is=; b=lZmBNxICNsVDhs5adUJhkkOeAsrubRmKG9R77YoTL85fZLnzveeLQ2ohM95TPXQ05r XnYgaT5YGgxhqObCLznJMi/Mz7DmQzUO/vNV2pvTa5tUrnv1s5+oNcyIfKc93ZDpjAT3 Q+Gq1n/Nj62Tc6N/v7DbTxqGVzcOAKH9ddNpJoDG0qfPPthlEoQ25CwXkxC600cA/ear VwItPJdkkV1LOijFEgPM+9OeB0wEhw+HhdJd8ymVx1VhtelBvjkVTzXlaOh5LW1++Dp6 2jansMDcjM+RwPzT/L4d1sfLCSyVJKEUB3slxyfAQX6xAKyshpoL039uYh8kewSGrOW8 Bb6Q== X-Received: by 10.140.91.12 with SMTP id y12mr2246440qgd.26.1393355185485; Tue, 25 Feb 2014 11:06:25 -0800 (PST) Received: from sds-MacBook-Pro.local (static-72-80-117-250.nycmny.fios.verizon.net. [72.80.117.250]) by mx.google.com with ESMTPSA id 110sm31227147qgv.19.2014.02.25.11.06.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Feb 2014 11:06:24 -0800 (PST) From: Sam Steingold To: bug-gnu-emacs@gnu.org Subject: 24.3.50; desktop-read should not die on non-existing directories X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Tue, 25 Feb 2014 14:06:22 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: sds@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) In GNU Emacs 24.3.50.6 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19) of 2014-02-25 on sds-MacBook-Pro.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns' when restarting emacs I just got this: Debugger entered--Lisp error: (file-error "Reading directory" "no such file or directory" "/Users/sds/.emacs.d/auto-saves/*") access-file("/Users/sds/.emacs.d/auto-saves/*" "Reading directory") insert-directory("/Users/sds/.emacs.d/auto-saves/*" "-als" t nil) dired-insert-directory("/Users/sds/.emacs.d/auto-saves/*" "-als" nil t t) dired-readin-insert() dired-readin() dired-internal-noselect("/Users/sds/.emacs.d/auto-saves/*" nil) dired-noselect("/Users/sds/.emacs.d/auto-saves/*" nil) dired("/Users/sds/.emacs.d/auto-saves/*") dired-restore-desktop-buffer(nil "*" ("/Users/sds/.emacs.d/auto-saves/*")) #[0 " \f\236A\206\305\300\301\302#\207" [nil "*" ("/Users/sds/.emacs.d/auto-saves/*") desktop-buffer-major-mode desktop-buffer-mode-handlers desktop-restore-file-buffer] 4 "\n\n(fn)"]() funcall(#[0 " \f\236A\206\305\300\301\302#\207" [nil "*" ("/Users/sds/.emacs.d/auto-saves/*") desktop-buffer-major-mode desktop-buffer-mode-handlers desktop-restore-file-buffer] 4 "\n\n(fn)"]) desktop-create-buffer(206 nil "*" dired-mode (rcirc-track-minor-mode) 288 (nil nil) t ("/Users/sds/.emacs.d/auto-saves/*") nil) eval-buffer(# nil "/Users/sds/.emacs.d/.emacs.desktop" nil t) ; Reading at buffer position 8688 load-with-code-conversion("/Users/sds/.emacs.d/.emacs.desktop" "/Users/sds/.emacs.d/.emacs.desktop" t t) load("/Users/sds/.emacs.d/.emacs.desktop" t t t) desktop-read() #[0 "\303\211\235\203\304\"\301\305!\210\210 \205\306 \210\307\211\207" [command-line-args desktop-save-mode inhibit-startup-screen "--no-desktop" delete 0 desktop-read t] 4 "\n\n(fn)"]() run-hooks(after-init-hook) command-line() normal-top-level() because I did M-x recover-session RET in the previous incarnation. I think this error should be caught and either ignored or reported as a message. Important settings: value of $LANG: C locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: rcirc-track-minor-mode: t which-function-mode: t url-handler-mode: t show-paren-mode: t desktop-save-mode: t shell-dirtrack-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t abbrev-mode: t Recent messages: Running git --no-pager update-index --refresh . in background... ls does not support --dired; see `dired-use-ls-dired' for more details. Mark set [12 times] Desktop: File "/Users/sds/Magnetic/lifespan24/2014-Feb/search-freq-hist.png" no longer exists. Entering debugger... Running git --no-pager update-index --refresh . in background... done Running git --no-pager diff-index --relative -z -M HEAD -- . in background... done Running git --no-pager ls-files -z -o --directory --no-empty-directory --exclude-standard -- . in background... done is undefined Scanning for dabbrevs...done Load-path shadows: None found. Features: (shadow sort bbdb-message mailalias cookie1 mail-extr gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win dabbrev emacsbug message cl-macs gv rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums help-mode debug image-mode goto-addr vc-hg dired-aux dired vc-dir ewoc vc vc-dispatcher sql view vc-git edit-server-autoloads package midnight warnings gnus gnus-ems nnheader mail-utils wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site timezone rcirc server which-func imenu url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars paren help-at-pt desktop frameset cus-start cus-load ido ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug format-spec ess-roxy advice hideshow ess-help ess-developer ess-r-args eldoc help-fns ess-s-l ess ess-inf comint ansi-color ring ess-mode ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat ess-site cl cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://dhimmi.com http://pmw.org.il http://think-israel.org http://honestreporting.com http://ffii.org (let ((a "(let ((a %c%s%c)) (format a 34 a 34))")) (format a 34 a 34)) From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 25 16:09:23 2014 Received: (at 16884) by debbugs.gnu.org; 25 Feb 2014 21:09:23 +0000 Received: from localhost ([127.0.0.1]:39966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIPFj-0000aZ-4j for submit@debbugs.gnu.org; Tue, 25 Feb 2014 16:09:23 -0500 Received: from mail-yk0-f172.google.com ([209.85.160.172]:60887) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIPFh-0000aL-6S for 16884@debbugs.gnu.org; Tue, 25 Feb 2014 16:09:21 -0500 Received: by mail-yk0-f172.google.com with SMTP id 200so20265557ykr.3 for <16884@debbugs.gnu.org>; Tue, 25 Feb 2014 13:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mijro40Eo5bStWRoafWNZm/Rk/M6Z+9zeuav/GrD++I=; b=AQAhdyIIBPR4fwZlTCSRK4i7aNYvysKpSiIb4IZjUDulPG6wyLyr91xE4AzcnuvZRo iU5Wdu17L5KHxKKV+EDnoWDjTWna9BMqhHehIQn9XPyxQdN0dAbEsZsZsLtS1WkyTsXy +xM0N8BXGm66+XkKyMCHOwo1CUNKe6SUQiZnVW8PhHs9kpJk2EfA1UG4lIcmZt03X8dh On1llNDZvDHmajolGvOfzce1sHZzH9nlPHBYN2ZLJE31ARpdJJ0lWfVkWjV1ogWT5ctZ C4nohcigti51bSEtrDAs1scFKFtZ0PQJV9KzcvqKprOYUFcIA0azng7Pp4anTni0OtFU QjQA== X-Received: by 10.236.201.77 with SMTP id a53mr2751026yho.104.1393362555800; Tue, 25 Feb 2014 13:09:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Tue, 25 Feb 2014 13:08:35 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Tue, 25 Feb 2014 22:08:35 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Sam Steingold Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, Feb 25, 2014 at 8:06 PM, Sam Steingold wrote: > when restarting emacs I just got this: > > Debugger entered--Lisp error: (file-error "Reading directory" "no such file or directory" "/Users/sds/.emacs.d/auto-saves/*") > access-file("/Users/sds/.emacs.d/auto-saves/*" "Reading directory") > because I did M-x recover-session RET in the previous incarnation. > I think this error should be caught and either ignored or reported as a message. On Windows I don't see that. If the directory does not exist (either the auto-saves one or any other directory in a Dired buffer), desktop just outputs its usual summary line saying that N buffers were restored, M buffers failed to restore. Can you reproduce it at will? J From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 12:28:56 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 17:28:56 +0000 Received: from localhost ([127.0.0.1]:41562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiHw-0004qt-0V for submit@debbugs.gnu.org; Wed, 26 Feb 2014 12:28:56 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:46903) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiHu-0004qk-KX for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 12:28:54 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIiHt-0008LE-MZ; Wed, 26 Feb 2014 12:28:53 -0500 From: Glenn Morris To: Juanma Barranquero Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories References: X-Spook: Crypto AG cryptanalysis defense information warfare Ruby X-Ran: =,WR2^a`[b`0uo~(J\[X!'VMp.`O4)pPD==l-~Zu]|Atkh/wGR*#2xP8rMbhA-k$:vsZ{r X-Hue: magenta X-Attribution: GM Date: Wed, 26 Feb 2014 12:28:53 -0500 In-Reply-To: (Juanma Barranquero's message of "Tue, 25 Feb 2014 22:08:35 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Note the unusual use of "*" in the backtrace. The problem is not "non-existing directory" as it says in the subject, but failure to match a glob pattern. mkdir /tmp/foo touch /tmp/foo/1 emacs -Q M-x dired /tmp/foo/* ; why not just /tmp/foo ... ? M-x desktop-save RET /tmp RET M-x kill-emacs rm /tmp/foo/1 ; not rm -rf /tmp/foo emacs -Q M-: (desktop-read "/tmp") -> Debugger entered--Lisp error: (file-error "Reading directory" "no such file or directory" "/tmp/foo/*") From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 12:35:42 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 17:35:42 +0000 Received: from localhost ([127.0.0.1]:41568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiOT-00052j-PX for submit@debbugs.gnu.org; Wed, 26 Feb 2014 12:35:41 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:46993) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiOP-00052Z-Pk for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 12:35:39 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIiOP-0002FQ-0e; Wed, 26 Feb 2014 12:35:37 -0500 From: Glenn Morris To: Juanma Barranquero Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories References: X-Spook: asset satellite imagery target John Kerry BLU-114/B X-Ran: a>M~rCb7k3L@|<'8`yun,Z[Es?mWHyp7ia+Jb%ve#-c\XZj{#6.Dd0rHye:jy=8:uH0u6Q X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 26 Feb 2014 12:35:36 -0500 In-Reply-To: (Glenn Morris's message of "Wed, 26 Feb 2014 12:28:53 -0500") Message-ID: <1gsir5ixp3.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) PS maybe just stick a with-demoted-errors in dired-restore-desktop-buffer. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 12:41:24 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 17:41:24 +0000 Received: from localhost ([127.0.0.1]:41573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiTz-0005EW-Hz for submit@debbugs.gnu.org; Wed, 26 Feb 2014 12:41:23 -0500 Received: from mail-yh0-f50.google.com ([209.85.213.50]:44197) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiTw-0005EL-0u for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 12:41:20 -0500 Received: by mail-yh0-f50.google.com with SMTP id 29so1350222yhl.37 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 09:41:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=rLcF65q39CPYC8LHONS2cx/SYuNhqqfRLr00yfc0/cg=; b=TMnSxh8PpQrtN+MpFazMfOyGo2MopY8uHec+nzNjdHNAhjGmd69mRE53d0jT7f+zBs +13UuMTM0vhJ99IJVujJ9mm+GRuJSRtnJK6/pFOblIbEWRFjgzmv4gRk47UidhCUMptJ bwaiftocoL+nYci4sYKGDDoHwUfJ8cY5ozpqy/bhG7/W9m1zhzqZI+xuXdp+SvtMN4wY oOcQOcIBdUd5sZynBeVFoaEvhnrDbOhlXNqO3mbD3xWrKJCx8DeDWIAeQ/YaY5vovmhn q7hhGAVm6Gefzl/Kv3czj5oo+BCTzf6QjPrE3mkfWAMH5hJUsSVKdWCVKqD9YrAzkcex g14Q== X-Received: by 10.236.149.2 with SMTP id w2mr3765479yhj.114.1393436479447; Wed, 26 Feb 2014 09:41:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 09:40:39 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Wed, 26 Feb 2014 18:40:39 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 6:28 PM, Glenn Morris wrote: > mkdir /tmp/foo > touch /tmp/foo/1 > emacs -Q > M-x dired /tmp/foo/* ; why not just /tmp/foo ... ? > M-x desktop-save RET /tmp RET > M-x kill-emacs > > rm /tmp/foo/1 ; not rm -rf /tmp/foo > > emacs -Q > M-: (desktop-read "/tmp") > > -> Debugger entered--Lisp error: (file-error "Reading directory" > "no such file or directory" "/tmp/foo/*") Doesn't happen on Windows. I get a buffer named "*", with contents: c:/Windows/Temp/foo: wildcard * total used in directory 12 available 57142624 drwxrwxrwx 1 Administradores None 0 feb 26 18:36 . drwxrwxrwx 1 Administradores Administradores 12288 feb 26 18:35 .. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 12:48:01 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 17:48:02 +0000 Received: from localhost ([127.0.0.1]:41577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiaP-0005QE-HO for submit@debbugs.gnu.org; Wed, 26 Feb 2014 12:48:01 -0500 Received: from mail-yk0-f174.google.com ([209.85.160.174]:55751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIiaN-0005Q6-PP for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 12:48:00 -0500 Received: by mail-yk0-f174.google.com with SMTP id 20so3393358yks.5 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 09:47:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=T4d4tXogbY6fDb1Jy+OEF+qaaAbujYkAaNwh0fA/vfo=; b=Hh/t8Sr+OYQHBFd0EKUhui52NLRHGbAalXrnzYcqCJOPuz+vd3L8APSFtWnyWOMAfF zVYVS3v2MwnmmWI1EEQh/lT05x6y/2d2qWUdLSeRHqSatz7H+hyssh8gDfvcOwcmvDum x4NKOMLUepZezNp8OOnVyis/Lsk7TC/wmnvaOJqZS7GEDvt9xqkT/pW8zDmXxCyd5tUC BBfxczz7d765bHPTXJBCc/PRFZh6C2QgJxEdWYmlUb15ZV67hK52Nv4iKl0nl+v+pCLu 8KZ0yK6nvRNA7Xpz9gs4ADhjzzYF9mJPN9xjOXUpDCS4yYei2RKcnm7TwnK9PtH9jzMk wB9Q== X-Received: by 10.236.101.18 with SMTP id a18mr9225433yhg.65.1393436878966; Wed, 26 Feb 2014 09:47:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 09:47:18 -0800 (PST) In-Reply-To: <1gsir5ixp3.fsf@fencepost.gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Wed, 26 Feb 2014 18:47:18 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 6:35 PM, Glenn Morris wrote: > PS maybe just stick a with-demoted-errors in dired-restore-desktop-buffer. I don't think it is in fact related to desktop. If I call (dired-restore-desktop-buffer nil "*" '("C:/Windows/temp/foo/*")) it doesn't fail. The problem seems to be that (dired "/some/path/with/empty/dir/*") is failing for you (y'all, I mean ;-), while it works on Windows. Can you try this without desktop.el? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:15:29 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:15:29 +0000 Received: from localhost ([127.0.0.1]:41589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIj0y-0006BW-Sc for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:15:29 -0500 Received: from mail-la0-f52.google.com ([209.85.215.52]:59961) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIj0t-0006BG-J9 for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:15:27 -0500 Received: by mail-la0-f52.google.com with SMTP id ec20so120971lab.25 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 10:15:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=rPG5ssq1ljrRSJDiC8Q1pqQh+iGewQS9HdBJAsla6yk=; b=josDq9KSBgtc5H7EznIGrB+/LkFTGTcZDvl5eGzOtGsgvmARrWXDb6GbAlH6lUd1ja wjxVOrYGKPQ2jJ26yBlum9IUrE0bhu9kaJm/ZqEWWeePkQMt619iOn9azM1g5vOb3wxw hdbOTSHxKl3yJxCEc0seFw2eW/Y9GymKhJhjPrUzf792cgb3TqmpyGyhwmEgKmWB5smG rhPTlZ0GzE4a7wC5SlFb015XIe1BlhNuWZ6W2lOJVwHt/FsPCP54fXGvHuqlHGVhNMq8 s3anIEZoAeavBcIQd7EGm8xRCUzeIpH80w8m9jJG30K3Fzi1NAaHnInGAT50L6FFzhd/ GOYg== MIME-Version: 1.0 X-Received: by 10.152.88.13 with SMTP id bc13mr3339251lab.13.1393438522416; Wed, 26 Feb 2014 10:15:22 -0800 (PST) Received: by 10.112.76.227 with HTTP; Wed, 26 Feb 2014 10:15:22 -0800 (PST) In-Reply-To: References: <1gsir5ixp3.fsf@fencepost.gnu.org> Date: Wed, 26 Feb 2014 13:15:22 -0500 X-Google-Sender-Auth: oJYCIo4vpF2zyYqX8_7phBkWax0 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories From: Sam Steingold To: Juanma Barranquero Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Glenn Morris , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I set debug-on-error to t in .emacs, this might be causing the problem. however, I think this kind of error reporting should be controlled by --debug-init and not debug-on-error On Wed, Feb 26, 2014 at 12:47 PM, Juanma Barranquero wrote: > On Wed, Feb 26, 2014 at 6:35 PM, Glenn Morris wrote: > >> PS maybe just stick a with-demoted-errors in dired-restore-desktop-buffer. > > I don't think it is in fact related to desktop. If I call > > (dired-restore-desktop-buffer nil "*" '("C:/Windows/temp/foo/*")) > > it doesn't fail. The problem seems to be that (dired > "/some/path/with/empty/dir/*") is failing for you (y'all, I mean ;-), > while it works on Windows. Can you try this without desktop.el? -- Sam Steingold From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:19:16 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:19:16 +0000 Received: from localhost ([127.0.0.1]:41599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIj4d-0006Ib-Q4 for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:19:16 -0500 Received: from mail-yk0-f170.google.com ([209.85.160.170]:40474) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIj4b-0006IR-SZ for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:19:14 -0500 Received: by mail-yk0-f170.google.com with SMTP id 9so1547526ykp.1 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 10:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QObvarhgS1FCbM0dQJc1GnQfK3p0tr+34kFq32ZsjZw=; b=hjHP9VTbRdhUz2ihs9nu15mZdJl9onJjgsppy92NRSewVaaZWCe/unA+ZGtOwpG7q6 dVZftGbPOeTKMyap/ijfdOscmOKH2s1rMEXo41/chp+xBf5bzzPSRTFSodT5M/A7Hi1y ZjPR4Ed9XDec0XJvAbr76xJIXQX7RTE1/rRfenpGNyjyPzJcCJkl1MqnvNOaeNwgtRhj a2BiPTZp3xdKZck9HUNilsiNVqPIri2sGdoNuZS45hfIcvtMNVgnhc5/qAikK6A3PQli 8+U4AquaJ8D+gkxOzKVbqMQuCJM4gba4QCR9w7BUp5qLAtOlAFnp7SnJCwUGgigc3i2x D8Fw== X-Received: by 10.236.23.71 with SMTP id u47mr2984593yhu.143.1393438753283; Wed, 26 Feb 2014 10:19:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 10:18:33 -0800 (PST) In-Reply-To: References: <1gsir5ixp3.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Wed, 26 Feb 2014 19:18:33 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Sam Steingold Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Glenn Morris , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 7:15 PM, Sam Steingold wrote: > I set debug-on-error to t in .emacs, this might be causing the problem. Not unless there's an error in the first place. If you run M-: (dired "/Users/sds/.emacs.d/auto-saves/*") (assuming that the auto-saves directory is empty), do you get an error? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:20:37 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:20:37 +0000 Received: from localhost ([127.0.0.1]:41607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIj5w-0006LL-Nv for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:20:37 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:44513) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIj5t-0006LB-GJ for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:20:34 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N1M00C007U16Z00@a-mtaout21.012.net.il> for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 20:20:32 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1M00CW18A70G70@a-mtaout21.012.net.il>; Wed, 26 Feb 2014 20:20:32 +0200 (IST) Date: Wed, 26 Feb 2014 20:20:29 +0200 From: Eli Zaretskii Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83wqghybv6.fsf@gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16884 Cc: rgm@gnu.org, sds@gnu.org, 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Wed, 26 Feb 2014 18:47:18 +0100 > Cc: Sam Steingold , 16884@debbugs.gnu.org > > On Wed, Feb 26, 2014 at 6:35 PM, Glenn Morris wrote: > > > PS maybe just stick a with-demoted-errors in dired-restore-desktop-buffer. > > I don't think it is in fact related to desktop. If I call > > (dired-restore-desktop-buffer nil "*" '("C:/Windows/temp/foo/*")) > > it doesn't fail. The problem seems to be that (dired > "/some/path/with/empty/dir/*") is failing for you (y'all, I mean ;-), > while it works on Windows. Can you try this without desktop.el? Dired on Windows uses ls-lisp.el, not a real ls program. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:29:35 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:29:35 +0000 Received: from localhost ([127.0.0.1]:41612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjEc-0006b2-P9 for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:29:35 -0500 Received: from mail-yh0-f45.google.com ([209.85.213.45]:35121) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjEa-0006au-Vt for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:29:33 -0500 Received: by mail-yh0-f45.google.com with SMTP id i57so1431160yha.32 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 10:29:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=uaLExYD57BbozJgRr8Wrq0iwCsAwtCQGJLUhgehM3Ks=; b=AN0x68ROUOjbWLHqyC7s8kYzQ+n4A3qwCuGTTPeOE6CRjmWOrA0o0x8YYIv6wy3zkM CTQ6jWOnHob8uAgJBntLocp9ugmrWhcGKgkc6ocAHcDPKcrPCHT6dpfrc0JWzXBznQWd d44mEYLVW3Prgdf1YfxZHvxP3HJRCC5AiGmsPUZHQMvo64K3QLep+AO89By/OlldIJ1n FtYazn4Sc/0fjtRiADfbOjUgCmcspZhI7bk+sWVLd1c3B4vOgalUWN0cRoFgJz5LFq5v ratZDsVShNXkNo4hyTEw+CWlPCD93UE8dTaG23H6V3lvE6Kkl2p1fqJ3mnWG9755EcnS q16Q== X-Received: by 10.236.149.2 with SMTP id w2mr4093482yhj.114.1393439372349; Wed, 26 Feb 2014 10:29:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 10:28:51 -0800 (PST) In-Reply-To: <83wqghybv6.fsf@gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 26 Feb 2014 19:28:51 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Glenn Morris , Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 7:20 PM, Eli Zaretskii wrote: > Dired on Windows uses ls-lisp.el, not a real ls program. Yep, you're right. But dired is documented to accept wildcards: Dired displays a list of files in dirname (which may also have shell wildcards appended to select certain files). so, in any platform, I wouldn't expect it to throw an error if the wildcard matches no file. However, if I set (setq insert-directory-program "c:/bin/gnu/bin/ls.exe" ls-lisp-use-insert-directory-program t) then (dired "C:/windows/temp/foo/*") does indeed throw an error. Is that the expected behavior? It seems like a bug to me (just not in desktop.el, but dired.el). From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:34:14 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:34:14 +0000 Received: from localhost ([127.0.0.1]:41617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjJ7-0006jm-RJ for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:34:14 -0500 Received: from mtaout24.012.net.il ([80.179.55.180]:57022) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjJ4-0006ja-Vc for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:34:12 -0500 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N1M000008AHRS00@mtaout24.012.net.il> for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 20:32:38 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1M002NM8UDOS00@mtaout24.012.net.il>; Wed, 26 Feb 2014 20:32:37 +0200 (IST) Date: Wed, 26 Feb 2014 20:34:05 +0200 From: Eli Zaretskii Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83vbw1yb8i.fsf@gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16884 Cc: rgm@gnu.org, sds@gnu.org, 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Wed, 26 Feb 2014 19:28:51 +0100 > Cc: Glenn Morris , Sam Steingold , 16884@debbugs.gnu.org > > Dired displays a list of files in dirname (which may also have > shell wildcards appended to select certain files). > > so, in any platform, I wouldn't expect it to throw an error if the > wildcard matches no file. Why do you expect an error to be thrown? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:36:47 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:36:47 +0000 Received: from localhost ([127.0.0.1]:41623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjLb-0006np-BM for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:36:47 -0500 Received: from mail-yh0-f54.google.com ([209.85.213.54]:47436) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjLZ-0006nb-Pp for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:36:46 -0500 Received: by mail-yh0-f54.google.com with SMTP id c41so1448006yho.13 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 10:36:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=pdk9p3CqIGZNTGx9pjcL0g4x2cOFKVn4yQl8WiKYPt4=; b=t2rRIGnMdBJMYyrxoJGrUdMGqtpQ+8YJXiK6xVVcY5qWRX8URMbguOIawrbBLo7wqc j3srmTDKcb3yNNGDSqENdK+SQILO0vb+eVs7jdt2LxDn3Ky/ICv9/9XrXXkarQZRU90s 28Kev9XdQr9Sp+8d4TMaBhjmgiQ0AFCxabA+MWlpeJw6gsHHzhEeqK/aMayFGOIAY6VD /+GXn87Q7kSrlKpy0cbUf0G2kD+fTCHNkKXyM1Gnso41S49u0FTY/7oZVa1b8AQAaAPN i73Hzm8kHPsU+PBRe06OmahbaMxtpjaEYxfgqKkoudAZvN1I5icqAD0Kp/0Mwf8RT+Mu P2ug== X-Received: by 10.236.17.195 with SMTP id j43mr3134680yhj.137.1393439805274; Wed, 26 Feb 2014 10:36:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 10:36:05 -0800 (PST) In-Reply-To: <83vbw1yb8i.fsf@gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> <83vbw1yb8i.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 26 Feb 2014 19:36:05 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Glenn Morris , Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 7:34 PM, Eli Zaretskii wrote: > Why do you expect an error to be thrown? I don't expect it. I get it, when using the ls executable, and that's also what Sam and Glenn are reporting. Am I missing something? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:36:51 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:36:51 +0000 Received: from localhost ([127.0.0.1]:41625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjLe-0006o1-JV for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:36:50 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:48142) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjLa-0006ni-Qk for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:36:47 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIjLZ-00076r-TL; Wed, 26 Feb 2014 13:36:45 -0500 From: Glenn Morris To: Juanma Barranquero Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories References: <1gsir5ixp3.fsf@fencepost.gnu.org> X-Spook: assassination Vince Foster Chobetsu kilo class Juiliett X-Ran: kQcIGh"sCOc|Zrmw*ar^eH)^3Fk;IV4qx,_'3-kgyuQ.?44oZxf^O6W;-9BY,4sL!gFa31 X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 26 Feb 2014 13:36:45 -0500 In-Reply-To: (Juanma Barranquero's message of "Wed, 26 Feb 2014 19:18:33 +0100") Message-ID: <58ios1iuv6.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Juanma Barranquero wrote: > If you run > > M-: (dired "/Users/sds/.emacs.d/auto-saves/*") > > (assuming that the auto-saves directory is empty), do you get an error? Yes. In just the same way as M-: (dired "/blargh") RET throws an error. This is all fine in normal use. 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:39:04 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:39:04 +0000 Received: from localhost ([127.0.0.1]:41675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjNn-0006tl-Pz for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:39:04 -0500 Received: from mail-qc0-f177.google.com ([209.85.216.177]:64539) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjNZ-0006sy-KP for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:39:01 -0500 Received: by mail-qc0-f177.google.com with SMTP id m20so1936005qcx.36 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 10:38:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :return-receipt-to:reply-to:date:message-id:mime-version :content-type; bh=bicPd3fbd07SAPGfu934+QLKeZMcg6no/9ouWqiJ8ag=; b=rNcPNl5M/s2tpyMf++H63gVLynG6UctYCDhCM49pnB+woufr3+TZbH13gm4xIKoZUY kqYVy0fEAYhdff72hr76jF2hmhP289iYlc/ERB+kzdOr2vM0hpTnkLggoF1i9xszBfLx rfvCKlghoSfyrKf10nWOSJSyp1eHRdYFnoVc5dx+TqpheAzjydBprgFvwdIj5RfFPoG/ t1OdPAItqQr+zYy208gwpzl7eBqIrzPpYRqWw0dgbQU5bMxxIpyZHsVg6lqNg1hwvbw4 UsW3ivFVvxrH7YFNxAnscyXacX71S952JY3bDoq+9GX03FdRXm4sgvUt8flxtNKYBx8Y l6tQ== X-Received: by 10.229.171.8 with SMTP id f8mr12480676qcz.13.1393439929013; Wed, 26 Feb 2014 10:38:49 -0800 (PST) Received: from sds-MacBook-Pro.local (static-72-80-117-250.nycmny.fios.verizon.net. [72.80.117.250]) by mx.google.com with ESMTPSA id d15sm5022684qaq.4.2014.02.26.10.38.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Feb 2014 10:38:47 -0800 (PST) From: Sam Steingold To: Juanma Barranquero Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories In-Reply-To: (Juanma Barranquero's message of "Wed, 26 Feb 2014 19:18:33 +0100") References: <1gsir5ixp3.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Wed, 26 Feb 2014 13:38:45 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Glenn Morris , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: sds@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > * Juanma Barranquero [2014-02-26 19:18:33 +0100]: > > On Wed, Feb 26, 2014 at 7:15 PM, Sam Steingold wrote: > >> I set debug-on-error to t in .emacs, this might be causing the problem. > > Not unless there's an error in the first place. > > If you run > > M-: (dired "/Users/sds/.emacs.d/auto-saves/*") > > (assuming that the auto-saves directory is empty), do you get an error? auto-saves is not empty ATM, but auto-save-list is: (dired "/Users/sds/.emacs.d/auto-save-list/*") Debugger entered--Lisp error: (file-error "Reading directory" "no such file or directory" "/Users/sds/.emacs.d/auto-save-list/*") access-file("/Users/sds/.emacs.d/auto-save-list/*" "Reading directory") insert-directory("/Users/sds/.emacs.d/auto-save-list/*" "-als" t nil) dired-insert-directory("/Users/sds/.emacs.d/auto-save-list/*" "-als" nil t t) dired-readin-insert() dired-readin() dired-internal-noselect("/Users/sds/.emacs.d/auto-save-list/*" nil) dired-noselect("/Users/sds/.emacs.d/auto-save-list/*" nil) dired("/Users/sds/.emacs.d/auto-save-list/*") eval((dired "/Users/sds/.emacs.d/auto-save-list/*") nil) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp(nil) call-interactively(eval-print-last-sexp nil nil) command-execute(eval-print-last-sexp) -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://pmw.org.il http://truepeace.org http://memri.org http://camera.org http://islamexposedonline.com Three can keep a secret if two of them are dead. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 13:50:08 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 18:50:08 +0000 Received: from localhost ([127.0.0.1]:41742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjYV-0008QT-Of for submit@debbugs.gnu.org; Wed, 26 Feb 2014 13:50:08 -0500 Received: from mail-yh0-f45.google.com ([209.85.213.45]:43394) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjYS-0008QD-IB for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 13:50:05 -0500 Received: by mail-yh0-f45.google.com with SMTP id i57so1466257yha.32 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 10:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3p3I+tCxNc4VZEU4b930YYjZ5pBl8oZz7+RZ5dskirU=; b=gNmZKKnyTktr1dbuyPTagyXe54iI17ttGjZ80m3Kl3Vg1PCqBM7g+3t5ZHYLtW0sBA v692GtqCi/7IygSFioL66qRmZ7vqxVQQ4Ao3/soP80WINg35e2KLK8JX5JTScgZc6feZ 6mPCtRqa1LY7ouqGIWixWEThoJEud3Y164MO/QX2m+4s4f4yqnRduw1A2Ihsh1gV89c5 yz8gFDBZyb51SKj884pwrqvhl0L0NFUftM3y6ydflUTRB+hh8a5lotLIbStM635X8zzD 9r+ZXpy54loQC2ZkNYkJgKAaw7pFSYZwn+NawSoCEIg/VpBewicmQqsBjuC/xEslwuUF veVg== X-Received: by 10.236.123.38 with SMTP id u26mr9573253yhh.93.1393440604033; Wed, 26 Feb 2014 10:50:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 10:49:23 -0800 (PST) In-Reply-To: <58ios1iuv6.fsf@fencepost.gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> <58ios1iuv6.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Wed, 26 Feb 2014 19:49:23 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 7:36 PM, Glenn Morris 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." From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 14:04:37 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 19:04:37 +0000 Received: from localhost ([127.0.0.1]:41758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjmW-0000Py-TE for submit@debbugs.gnu.org; Wed, 26 Feb 2014 14:04:37 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:34476) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjmQ-0000Pj-8r for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 14:04:35 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N1M00K00A12N800@a-mtaout22.012.net.il> for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 21:04:28 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1M00KRTABGEV40@a-mtaout22.012.net.il>; Wed, 26 Feb 2014 21:04:28 +0200 (IST) Date: Wed, 26 Feb 2014 21:04:25 +0200 From: Eli Zaretskii Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83sir5y9ty.fsf@gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> <83vbw1yb8i.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16884 Cc: rgm@gnu.org, sds@gnu.org, 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Wed, 26 Feb 2014 19:36:05 +0100 > Cc: Glenn Morris , Sam Steingold , 16884@debbugs.gnu.org > > On Wed, Feb 26, 2014 at 7:34 PM, Eli Zaretskii wrote: > > > Why do you expect an error to be thrown? > > I don't expect it. I get it, when using the ls executable, and that's > also what Sam and Glenn are reporting. AFAIK, what happens when a wildcard matches nothing is implementation defined. What exactly depends on an error being thrown in this case? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 14:09:38 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 19:09:38 +0000 Received: from localhost ([127.0.0.1]:41763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjrN-0000Yg-Nc for submit@debbugs.gnu.org; Wed, 26 Feb 2014 14:09:37 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:48930) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjrL-0000YX-6i for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 14:09:35 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIjrK-0000Yq-9H; Wed, 26 Feb 2014 14:09:34 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> <83vbw1yb8i.fsf@gnu.org> <83sir5y9ty.fsf@gnu.org> X-Spook: SCUD missile Honduras UMTS weapons of mass destruction X-Ran: )Db'%/[x7wSm_ro'X@ix:--S[.V4%FZlxOSQQcd"bP+Pj#DX|!Q>0a97r7K,]\}>>Loqlt X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 26 Feb 2014 14:09:34 -0500 In-Reply-To: <83sir5y9ty.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 26 Feb 2014 21:04:25 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 16884 Cc: Juanma Barranquero , sds@gnu.org, 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Eli Zaretskii wrote: > AFAIK, what happens when a wildcard matches nothing is implementation > defined. ls FILE-THAT-DOES-NOT-EXIST returns non-zero. ls knows nothing of wildcards, that's the shell's business. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 14:14:04 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 19:14:04 +0000 Received: from localhost ([127.0.0.1]:41770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjvg-0000gy-Cz for submit@debbugs.gnu.org; Wed, 26 Feb 2014 14:14:04 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:54821) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIjvZ-0000gI-Cu for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 14:14:01 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N1M00B00ABQSP00@mtaout28.012.net.il> for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 21:14:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1M00BP0ARX0B20@mtaout28.012.net.il>; Wed, 26 Feb 2014 21:14:21 +0200 (IST) Date: Wed, 26 Feb 2014 21:13:53 +0200 From: Eli Zaretskii Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83r46py9e6.fsf@gnu.org> References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> <83vbw1yb8i.fsf@gnu.org> <83sir5y9ty.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16884 Cc: lekktu@gmail.com, sds@gnu.org, 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: Juanma Barranquero , sds@gnu.org, 16884@debbugs.gnu.org > Date: Wed, 26 Feb 2014 14:09:34 -0500 > > ls knows nothing of wildcards, that's the shell's business. Not on Windows, where the wildcards are expanded by the application's startup code. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 14:20:13 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 19:20:13 +0000 Received: from localhost ([127.0.0.1]:41781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIk1d-0000sJ-GW for submit@debbugs.gnu.org; Wed, 26 Feb 2014 14:20:13 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:49111) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIk1a-0000sB-PA for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 14:20:11 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIk1Z-0002Jo-SP; Wed, 26 Feb 2014 14:20:09 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories References: <1gsir5ixp3.fsf@fencepost.gnu.org> <83wqghybv6.fsf@gnu.org> <83vbw1yb8i.fsf@gnu.org> <83sir5y9ty.fsf@gnu.org> <83r46py9e6.fsf@gnu.org> X-Spook: CDC KGB Operation Iraqi Freedom Al Jazeera George W. Bush X-Ran: {0cp+8[6Z,IeJ62 (Eli Zaretskii's message of "Wed, 26 Feb 2014 21:13:53 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16884 Cc: lekktu@gmail.com, sds@gnu.org, 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Eli Zaretskii wrote: >> ls knows nothing of wildcards, that's the shell's business. > > Not on Windows, where the wildcards are expanded by the application's > startup code. I'm shocked, shocked to learn that Windows is dumb. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 14:22:16 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 19:22:16 +0000 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 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 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 From: Glenn Morris To: Juanma Barranquero Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories References: <1gsir5ixp3.fsf@fencepost.gnu.org> <58ios1iuv6.fsf@fencepost.gnu.org> X-Spook: Ruby Ridge csystems kilderkin Rand Corporation X-Ran: H2oqFH User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 14:22:36 2014 Received: (at control) by debbugs.gnu.org; 26 Feb 2014 19:22:36 +0000 Received: from localhost ([127.0.0.1]:41791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIk3v-0000wh-DE for submit@debbugs.gnu.org; Wed, 26 Feb 2014 14:22:35 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:49168) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIk3t-0000wZ-6i for control@debbugs.gnu.org; Wed, 26 Feb 2014 14:22:33 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WIk3t-0002W3-1N for control@debbugs.gnu.org; Wed, 26 Feb 2014 14:22:33 -0500 Date: Wed, 26 Feb 2014 14:22:33 -0500 Message-Id: Subject: control message for bug 16884 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) close 16884 24.4 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 26 15:32:12 2014 Received: (at 16884) by debbugs.gnu.org; 26 Feb 2014 20:32:12 +0000 Received: from localhost ([127.0.0.1]:41863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIl9H-0005M3-Qz for submit@debbugs.gnu.org; Wed, 26 Feb 2014 15:32:12 -0500 Received: from mail-yh0-f51.google.com ([209.85.213.51]:64651) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIl9B-0005Le-RT for 16884@debbugs.gnu.org; Wed, 26 Feb 2014 15:32:09 -0500 Received: by mail-yh0-f51.google.com with SMTP id b6so1060081yha.10 for <16884@debbugs.gnu.org>; Wed, 26 Feb 2014 12:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kiEFkSqY7Ir3JfkNJZFel1+GtL0zlEtUivcbdMfd54c=; b=NOPb8VUbWoRzWLI5bO/5d9APtaMnrZos+Tcn/qbimUiOT8Gmq7HT1zoE51gIJjl8T7 NUxCFubc4jxgEfZe5Tgtv+NTf2eXVEtcAHb1f1FbJFHbr5Wj987XDyGDyZoWLfYnNx1k 6J9KzNao5KvfrPOOoPA3uCC2DmO8KeEHikDuMvWhxMm8WGBk1eegKA2V4wXl24ICUuek Fng+knYi5qEfJ1IVn+YLDKosQUQ5bPQCR3dq8+B8B82SgSadkEwj2HNjLK+xJ99/G/HI EMGC+Ux8XMdhBX8F26HiIXq6vXu9VssMHSeog7OeHGNkfLuQTLUMSBFPgFkoji9TW/K5 Lz4A== X-Received: by 10.236.23.71 with SMTP id u47mr3805927yhu.143.1393446725154; Wed, 26 Feb 2014 12:32:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.197.1 with HTTP; Wed, 26 Feb 2014 12:31:24 -0800 (PST) In-Reply-To: References: <1gsir5ixp3.fsf@fencepost.gnu.org> <58ios1iuv6.fsf@fencepost.gnu.org> From: Juanma Barranquero Date: Wed, 26 Feb 2014 21:31:24 +0100 Message-ID: Subject: Re: bug#16884: 24.3.50; desktop-read should not die on non-existing directories To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16884 Cc: Sam Steingold , 16884@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Feb 26, 2014 at 8:22 PM, Glenn Morris wrote: > I just went with with-demoted-errors, with is consistent with the > existing "no such directory" case. I'm OK with that. We can change it afterwards if anyone complains. Thanks. From unknown Sun Jun 22 11:40:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 27 Mar 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator