From unknown Wed Jun 18 23:11:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19701 <19701@debbugs.gnu.org> To: bug#19701 <19701@debbugs.gnu.org> Subject: Status: 24.3; directory-files platform-dependent behaviour when directory doesn't exist Reply-To: bug#19701 <19701@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:11:46 +0000 retitle 19701 24.3; directory-files platform-dependent behaviour when direc= tory doesn't exist reassign 19701 emacs submitter 19701 VIDA G=C3=A1bor severity 19701 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 27 09:12:22 2015 Received: (at submit) by debbugs.gnu.org; 27 Jan 2015 14:12:22 +0000 Received: from localhost ([127.0.0.1]:57762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YG6sQ-0008Pw-4c for submit@debbugs.gnu.org; Tue, 27 Jan 2015 09:12:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33769) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YG6sO-0008Pi-0A for submit@debbugs.gnu.org; Tue, 27 Jan 2015 09:12:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG6sH-0004n6-Aa for submit@debbugs.gnu.org; Tue, 27 Jan 2015 09:12:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG6sH-0004n2-88 for submit@debbugs.gnu.org; Tue, 27 Jan 2015 09:12:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG6sF-0002Eq-PY for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2015 09:12:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG6sC-0004ma-F7 for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2015 09:12:11 -0500 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:33221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG6sC-0004mS-9C for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2015 09:12:08 -0500 Received: by mail-wg0-f48.google.com with SMTP id x12so14964345wgg.7 for ; Tue, 27 Jan 2015 06:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=xxZHuduFUCdAnBNwUm5et5ZzqOuqIdIv9yjeT8UkPyY=; b=NWkBWwjXvMRzsIPj0Co276J9Wv6mQZm/PGBRBIf8ZlPMoUPkVXx+Ydff2ut3k5g+KY FhGHEsJt8XtPIgX/13JzV+VMlCyUZF91S6yoxNgBDfWzq8y4MIKcu15JYl+AQcbErWVW bZOlN2kYD/kiR7AuOtf1rLhK4j8XbYwS1kr0hn7ZQldleT/JbUNohR6Jn+nk8Q69Nma+ Ots/kv5vxT0Aia1cpKu1JWhbUofd5LrWyOWIDZ/6nHLR1l6jMZiGfaP4fAIw1JfDQQ3W 2uVOQGjQqiAz2JTmePYWzZIS6yuS3hSr1+YtQbejTc8PQHqgyZFEgncl/aZryfl6C9FD lUiQ== X-Received: by 10.194.8.2 with SMTP id n2mr3279154wja.46.1422367927325; Tue, 27 Jan 2015 06:12:07 -0800 (PST) Received: from nedu.dnsdynamic.net (82.131.246.23.pool.invitel.hu. [82.131.246.23]) by mx.google.com with ESMTPSA id z6sm2323543wix.20.2015.01.27.06.12.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Jan 2015 06:12:06 -0800 (PST) Received: from elx4vv1q12 (localhost [127.0.0.1]) by nedu.dnsdynamic.net (Postfix) with ESMTP id A724166193B for ; Tue, 27 Jan 2015 15:12:03 +0100 (CET) From: =?utf-8?Q?VIDA_G=C3=A1bor?= To: bug-gnu-emacs@gnu.org Subject: 24.3; directory-files platform-dependent behaviour when directory doesn't exist Date: Tue, 27 Jan 2015 13:55:35 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -4.0 (----) X-Debbugs-Envelope-To: submit 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.0 (----) Hi! On Linux when I specify a non-existing directory to directory-files, it sig= nals an error: (directory-files "abcd") eval: Opening directory: no such file or directory, /home/evidgbo/tmp/abcd But on Windows, it returns nil: (directory-files "abcd") =3D> nil I think they should work tha same way regardless of the underlying system, = and it ends up in a Gnus error, what I will report separately once I understand th= at problem better. I used the official Windows version: GNU EMacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN -- Thanks and regards, G=C3=A1bor Vida In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.1 LTS Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2= 4.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-l= isp:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk3' '--with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-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 line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t=20 - e m a c - s - u g =20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-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 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 dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 27 14:07:20 2015 Received: (at 19701-done) by debbugs.gnu.org; 27 Jan 2015 19:07:20 +0000 Received: from localhost ([127.0.0.1]:58263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGBTs-0007hH-Bh for submit@debbugs.gnu.org; Tue, 27 Jan 2015 14:07:20 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:49733) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGBTp-0007gx-BD for 19701-done@debbugs.gnu.org; Tue, 27 Jan 2015 14:07:19 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NIU00400NH1DJ00@a-mtaout23.012.net.il> for 19701-done@debbugs.gnu.org; Tue, 27 Jan 2015 21:07:10 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIU0046GNRXE300@a-mtaout23.012.net.il>; Tue, 27 Jan 2015 21:07:10 +0200 (IST) Date: Tue, 27 Jan 2015 21:07:00 +0200 From: Eli Zaretskii Subject: Re: bug#19701: 24.3; directory-files platform-dependent behaviour when directory doesn't exist In-reply-to: X-012-Sender: halo1@inter.net.il To: VIDA =?utf-8?Q?G=C3=A1bor?= Message-id: <8361bsoxez.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19701-done Cc: 19701-done@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: VIDA Gábor > Date: Tue, 27 Jan 2015 13:55:35 +0100 > > On Linux when I specify a non-existing directory to directory-files, it signals an > error: > > (directory-files "abcd") > eval: Opening directory: no such file or directory, /home/evidgbo/tmp/abcd > > But on Windows, it returns nil: > > (directory-files "abcd") > => nil That is correct. > I think they should work tha same way regardless of the underlying > system, and it ends up in a Gnus error, what I will report > separately once I understand that problem better. The Windows implementation of directory-files always worked like that; I looked as far back as Emacs 21.4. (Technically, this happened because the Windows implementation of 'opendir' doesn't actually open the directory, so it doesn't know.) This was never a problem, though. What exactly does Gnus do that this subtlety gets in the way? In any case, I fixed this in commit 9664def on the emacs-24 branch. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 27 15:14:31 2015 Received: (at 19701-done) by debbugs.gnu.org; 27 Jan 2015 20:14:31 +0000 Received: from localhost ([127.0.0.1]:58292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGCWt-0000vd-68 for submit@debbugs.gnu.org; Tue, 27 Jan 2015 15:14:31 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:45038) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGCWq-0000vP-VK for 19701-done@debbugs.gnu.org; Tue, 27 Jan 2015 15:14:29 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t0RKELUN030472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 27 Jan 2015 20:14:22 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0RKEJ7W013156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 27 Jan 2015 20:14:20 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0RKEJoq006602; Tue, 27 Jan 2015 20:14:19 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 27 Jan 2015 12:14:18 -0800 (PST) From: Drew Adams To: Eli Zaretskii , =?utf-8?B?VklEQSBHw6Fib3I=?= Subject: RE: bug#19701: 24.3; directory-files platform-dependent behaviour when directory doesn't exist References: <8361bsoxez.fsf@gnu.org> In-Reply-To: <8361bsoxez.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19701-done Cc: 19701-done@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: -2.3 (--) > The Windows implementation of directory-files always worked like that; > I looked as far back as Emacs 21.4. Same thing for Emacs 20.7. ;-) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 28 07:41:33 2015 Received: (at 19701-done) by debbugs.gnu.org; 28 Jan 2015 12:41:33 +0000 Received: from localhost ([127.0.0.1]:58537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGRw4-0002m2-VE for submit@debbugs.gnu.org; Wed, 28 Jan 2015 07:41:33 -0500 Received: from mail-wg0-f41.google.com ([74.125.82.41]:36984) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGRw1-0002ln-Rb for 19701-done@debbugs.gnu.org; Wed, 28 Jan 2015 07:41:31 -0500 Received: by mail-wg0-f41.google.com with SMTP id a1so20361817wgh.0 for <19701-done@debbugs.gnu.org>; Wed, 28 Jan 2015 04:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=cWafcTLw4Tu2uoUa2TVCSZb4W1SPHfKaHdS4K3+VKEE=; b=eu1S3FlulX7WpGspQ+J65a/4//02VX3zDG7hkCDZcxHfvjxZ1ueDM7wQ0MU4H2qLEg Jlwpv1HhZDzu3BcG75V/kbR83ObYaysGxKiHDly4tx8un6rN3xNMQYmkDvPWWeWXvUSH inXjMKbGJOjhKgHIEaYCFnDclCCVSH6HokPtClpuZ/StPROS8CEVQd/q/b/Lk2YkBg2q LRyfxI/b7OhACdiZuLNe3/5RGduHZ6sBk/pi6d0Mu7fv26T5I4EkS4QZRkveNF9Pkadt tADh/D67PBaqtVgZclDjBYpR/feelgSM3qZJ8UiAiAtNWdCmcG62qWnF94bwQwfKLBZ3 7Ikg== X-Received: by 10.194.173.233 with SMTP id bn9mr6862853wjc.123.1422448884026; Wed, 28 Jan 2015 04:41:24 -0800 (PST) Received: from nedu.dnsdynamic.net (82.131.246.23.pool.invitel.hu. [82.131.246.23]) by mx.google.com with ESMTPSA id dc1sm2636317wib.18.2015.01.28.04.41.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Jan 2015 04:41:23 -0800 (PST) Received: from elx4vv1q12 (localhost [127.0.0.1]) by nedu.dnsdynamic.net (Postfix) with ESMTP id 8654366193B; Wed, 28 Jan 2015 13:41:20 +0100 (CET) From: =?utf-8?Q?Vida_G=C3=A1bor?= To: Eli Zaretskii Subject: Re: bug#19701: 24.3; directory-files platform-dependent behaviour when directory doesn't exist In-Reply-To: <8361bsoxez.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Jan 2015 21:07:00 +0200") Date: Wed, 28 Jan 2015 12:45:53 +0100 Message-ID: References: <8361bsoxez.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19701-done Cc: 19701-done@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 (/) > This was never a problem, though. What exactly does Gnus do that this > subtlety gets in the way? I'm migrating from Windows to GNU/Linux, and while I'm doing this Gnus didn= 't start properly with my old configuration. I use %F in gnus-group-line-format, whi= ch ends up calling gnus-total-fetched-for. This function calculates the total amount o= f disk space used by cache and agent. I use Gnus agent but don't use cache (gnus-u= se-cache is nil). Later, gnus-cache-update-file-total-fetched-for iterates over the files tha= t belong to the cahe of the group. This list in nil on Windows, so I had no problem,= but on GNU/Linux, it raises an error, because I have no cache directory. I replaced some parts of the call stack below with ellipsis. Debugger entered--Lisp error: (file-error "Opening directory" "no such file= or directory" "/home/evidgbo/config/emacs.d/gnus-cache/nntp+gmane:gmane.an= nounce") directory-files("/home/evidgbo/config/emacs.d/gnus-cache/nntp+gmane:gmane= .announce" t nil t) gnus-cache-update-file-total-fetched-for("nntp+gmane:gmane.announce" nil) gnus-cache-total-fetched-for("nntp+gmane:gmane.announce") gnus-total-fetched-for("nntp+gmane:gmane.announce") (format " %5s U, %3d T, %3d D, %s L:%d %s %s\n" gnus-tmp-number-of-un= read (gnus-range-length (cdr (assq (quote tick) gnus-tmp-marked))) (gnus-ra= nge-length (cdr (assq (quote dormant) gnus-tmp-marked))) (gnus-total-fetche= d-for gnus-tmp-group) gnus-tmp-level (gnus-user-format-function-t gnus-tmp-= header) (if (boundp (quote gnus-tmp-decoded-group)) gnus-tmp-decoded-group = gnus-tmp-group)) (insert (format " %5s U, %3d T, %3d D, %s L:%d %s %s\n" gnus-tmp-numb= er-of-unread (gnus-range-length (cdr (assq (quote tick) gnus-tmp-marked))) = (gnus-range-length (cdr (assq (quote dormant) gnus-tmp-marked))) (gnus-tota= l-fetched-for gnus-tmp-group) gnus-tmp-level (gnus-user-format-function-t g= nus-tmp-header) (if (boundp (quote gnus-tmp-decoded-group)) gnus-tmp-decode= d-group gnus-tmp-group))) (let (gnus-position) (insert (format "%c%s %c%c %5s " gnus-tmp-process-ma= rked gnus-group-indentation gnus-tmp-summary-live (gnus-group-new-mail gnus= -tmp-group) (if (gnus-active gnus-tmp-group) (gnus-number-of-unseen-article= s-in-group gnus-tmp-group) "*"))) (setq gnus-position (point)) (gnus-put-te= xt-property (point) (progn (insert gnus-tmp-qualified-group) (point)) gnus-= mouse-face-prop gnus-mouse-face) (if (> (current-column) 35) (let ((end (po= int))) (if (=3D (move-to-column 35) 35) (delete-region (point) end) (delete= -region (1- (point)) end) (insert " "))) (insert-char 32 (max (- 35 (curren= t-column)) 0))) (insert (format " %5s U, %3d T, %3d D, %s L:%d %s %s\n"= gnus-tmp-number-of-unread (gnus-range-length (cdr (assq (quote tick) gnus-= tmp-marked))) (gnus-range-length (cdr (assq (quote dormant) gnus-tmp-marked= ))) (gnus-total-fetched-for gnus-tmp-group) gnus-tmp-level (gnus-user-forma= t-function-t gnus-tmp-header) (if (boundp (quote gnus-tmp-decoded-group)) g= nus-tmp-decoded-group gnus-tmp-group))) (if gnus-position (gnus-put-text-pr= operty gnus-position (1+ gnus-position) (quote gnus-position) t))) eval((let (gnus-position) (insert (format "%c%s %c%c %5s " gnus-tmp-proce= ss-marked gnus-group-indentation gnus-tmp-summary-live (gnus-group-new-mail= gnus-tmp-group) (if (gnus-active gnus-tmp-group) (gnus-number-of-unseen-ar= ticles-in-group gnus-tmp-group) "*"))) (setq gnus-position (point)) (gnus-p= ut-text-property (point) (progn (insert gnus-tmp-qualified-group) (point)) = gnus-mouse-face-prop gnus-mouse-face) (if (> (current-column) 35) (let ((en= d (point))) (if (=3D (move-to-column 35) 35) (delete-region (point) end) (d= elete-region (1- (point)) end) (insert " "))) (insert-char 32 (max (- 35 (c= urrent-column)) 0))) (insert (format " %5s U, %3d T, %3d D, %s L:%d %s = %s\n" gnus-tmp-number-of-unread (gnus-range-length (cdr (assq (quote tick) = gnus-tmp-marked))) (gnus-range-length (cdr (assq (quote dormant) gnus-tmp-m= arked))) (gnus-total-fetched-for gnus-tmp-group) gnus-tmp-level (gnus-user-= format-function-t gnus-tmp-header) (if (boundp (quote gnus-tmp-decoded-grou= p)) gnus-tmp-decoded-group gnus-tmp-group))) (if gnus-position (gnus-put-te= xt-property gnus-position (1+ gnus-position) (quote gnus-position) t)))) gnus-group-insert-group-line("nntp+gmane:gmane.announce" 3 ((seen (1 . 18= 742) (18916 . 19115))) 3948 "nntp:gmane") gnus-topic-prepare-topic((("announcements" visible nil nil)) 2 5 nil nil = 1 nil) gnus-topic-prepare-topic((("gmane" visible nil ((subscribe . "^nntp\\+gma= ne:") (gcc-self . "nnimap+nedu:incoming") (agent-predicate and (not my-arti= cle-old-p)))) (("announcements" visible nil nil))) 1 5 nil nil 1 nil) gnus-topic-prepare-topic(...) gnus-group-prepare-topics(5 nil nil) gnus-group-list-groups(nil) byte-code("..." [dont-connect did-connect gnus-startup-file gnus-current-= startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hook= s gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-setup= -news nil gnus-setup-news-hook gnus-request-create-group "queue" (nndraft "= ") gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-gr= oup gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook= level gnus-agent] 4) gnus-1(nil nil nil) gnus(nil) call-interactively(gnus record nil) command-execute(gnus record) execute-extended-command(nil "gnus") call-interactively(execute-extended-command nil nil) But I had no time so far to do a clean reproduction. As a workaround, I rem= oved %F from gnus-group-line-format temporary. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 28 10:38:01 2015 Received: (at 19701) by debbugs.gnu.org; 28 Jan 2015 15:38:01 +0000 Received: from localhost ([127.0.0.1]:59133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGUgq-0007Dk-SR for submit@debbugs.gnu.org; Wed, 28 Jan 2015 10:38:01 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:58968) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGUgo-0007DT-Jl for 19701@debbugs.gnu.org; Wed, 28 Jan 2015 10:38:00 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NIW00I008KHMG00@a-mtaout20.012.net.il> for 19701@debbugs.gnu.org; Wed, 28 Jan 2015 17:37:51 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIW00I9O8R1M910@a-mtaout20.012.net.il>; Wed, 28 Jan 2015 17:37:50 +0200 (IST) Date: Wed, 28 Jan 2015 17:37:41 +0200 From: Eli Zaretskii Subject: Re: bug#19701: 24.3; directory-files platform-dependent behaviour when directory doesn't exist In-reply-to: X-012-Sender: halo1@inter.net.il To: Vida =?iso-8859-1?Q?G=E1bor?= Message-id: <83lhkmor0a.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <8361bsoxez.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19701 Cc: 19701@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: Vida Gábor > Cc: 19701-done@debbugs.gnu.org > Date: Wed, 28 Jan 2015 12:45:53 +0100 > > > This was never a problem, though. What exactly does Gnus do that this > > subtlety gets in the way? > > I'm migrating from Windows to GNU/Linux, and while I'm doing this Gnus didn't start > properly with my old configuration. I use %F in gnus-group-line-format, which ends up > calling gnus-total-fetched-for. This function calculates the total amount of disk > space used by cache and agent. I use Gnus agent but don't use cache (gnus-use-cache > is nil). > > Later, gnus-cache-update-file-total-fetched-for iterates over the files that belong > to the cahe of the group. This list in nil on Windows, so I had no problem, but on > GNU/Linux, it raises an error, because I have no cache directory. In that case, I probably should clarify how I fixed the problem: now Emacs will signal an error on Windows as well. I think there's a test missing in Gnus, but I'll defer to Gnus expert to judge that. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 29 07:01:29 2015 Received: (at 19701) by debbugs.gnu.org; 29 Jan 2015 12:01:29 +0000 Received: from localhost ([127.0.0.1]:56881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGnmq-0000S7-Nq for submit@debbugs.gnu.org; Thu, 29 Jan 2015 07:01:28 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:40836) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGnmo-0000Ru-Qc for 19701@debbugs.gnu.org; Thu, 29 Jan 2015 07:01:27 -0500 Received: by mail-wi0-f181.google.com with SMTP id fb4so23534264wid.2 for <19701@debbugs.gnu.org>; Thu, 29 Jan 2015 04:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=9gFaWQ8rdIvBv4LOrQFNdSAuQcsGt2ab1frvn27xM8s=; b=zYB8qKC+9u2znFQZF/1mkesXHQv26sy0jalag4J+gnvn4g9dNigrxu24P6JxlErow/ 1EfhEeUZklt2ovOnrOOqwxRseZQYTvLNkUXiheS2Vzxi8mqDQaWmzQV6C8KNynN14T3+ 6bKinCJ5bmPAClQpBrqwz5/249KDjefSK2ZBCkKo0tihLYCAnmTOTfuu3OMSxi7LrHGf N23c8pPbMX8vwXcIbmEQzhZsi0JdNVDHgVmLhHOMv6XLyo2WJlhHUY3UyMxhedZ0tPPa mBGMaa5zkkxQHjuVKbByzx+vTVGKFcHpAIuJKoB3YNCZeESv3Cx8hAMbfWJv1zH0NUS0 TdBg== X-Received: by 10.194.110.233 with SMTP id id9mr275872wjb.136.1422532881069; Thu, 29 Jan 2015 04:01:21 -0800 (PST) Received: from nedu.dnsdynamic.net (82.131.246.23.pool.invitel.hu. [82.131.246.23]) by mx.google.com with ESMTPSA id i13sm10177701wjr.7.2015.01.29.04.01.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Jan 2015 04:01:20 -0800 (PST) Received: from elx4vv1q12 (localhost [127.0.0.1]) by nedu.dnsdynamic.net (Postfix) with ESMTP id 9F8E466193B; Thu, 29 Jan 2015 13:01:13 +0100 (CET) From: =?utf-8?Q?Vida_G=C3=A1bor?= To: Eli Zaretskii Subject: Re: bug#19701: 24.3; directory-files platform-dependent behaviour when directory doesn't exist In-Reply-To: <83lhkmor0a.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 28 Jan 2015 17:37:41 +0200") Date: Thu, 29 Jan 2015 12:56:19 +0100 Message-ID: References: <8361bsoxez.fsf@gnu.org> <83lhkmor0a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19701 Cc: 19701@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, Jan 28 2015, Eli Zaretskii wrote: > I think there's a test missing in Gnus, but I'll defer to Gnus expert > to judge that. Thank you, I'll include this bug as a reference to the Gnus bug when I'll report it, but I'm unsure as it should be seen frequently when someone doesn't use cache. So it's highly possible that I misunderstand or misuse something. From unknown Wed Jun 18 23:11:46 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, 26 Feb 2015 12: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