From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:56:43 2022 Received: (at submit) by debbugs.gnu.org; 9 Jun 2022 18:56:43 +0000 Received: from localhost ([127.0.0.1]:47772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNKk-0000W4-Le for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:56:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:34908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNKi-0000Vt-OP for submit@debbugs.gnu.org; Thu, 09 Jun 2022 14:56:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzNKi-00073t-Ew for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 14:56:40 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:41828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzNKg-0001Kk-D6 for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 14:56:40 -0400 Received: by mail-lf1-x12d.google.com with SMTP id u26so38678577lfd.8 for ; Thu, 09 Jun 2022 11:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=M8mdEiw7bkeHG1bNejbNpe2FrNkpxhYytIqyuZewPxo=; b=Oi6zX4GpNKKk19Oqd0C0uTLe7BVn1Dowm0uot11TC7Z37BYJ+7BPmOQT12TjJfXNPm lIvuiPjb+GFD2v141GIv53n1eqyOfaEPAgfXWVpDdqHDT58CXpVmy1ZoawMq7peMYkID kHdTUiWhbBiLDH7woMga9qdr2j/U5c6C9fdBCyVYkX60vZz6ghBOZ/Lss45cYBGp0/rZ URvf8TnXkz57FLIqd7ijO/4vGI9ZMkVcEwS3tRXbiVs3hsU1042vMCpGTFCCOCMwEWFH Bv1S6iVZUDUa720AYOXULBaiWCyqTL/f+f9D9SHGjHWhvxNUNezYnypLXKTdRplI5JLS zwyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M8mdEiw7bkeHG1bNejbNpe2FrNkpxhYytIqyuZewPxo=; b=PtctxCaad2SQBofmxmgg9tMcNFJG3ZsCZYykMlUb67NDz0kbMl9Y3hYxiJjxyGTRV0 zp5URtSskCzNCEgLvw2E8udGc1NgJWTq00T2oJ9rqJ7VpE6DB9XQuTga09HCHlMXEYis ihWprla4LZnsrtGOPhg44kFpV6qfUjj4tUU77oEgNkCCIMWGxF+X7aAIGEk0wQ/q3gX2 I7YzMhJiR4KLuPYpchNzyvt1ui19TUPYq2EYZcU3Xm/6eqFImdBlaptBxLSVPyFBsxBq fsb3lvGifaivnqfcMpw9r2NOkJIhHtM/XF5yHcqT1wmvGEzEkUYRBANXFZqoCtWzQBM9 KjFw== X-Gm-Message-State: AOAM533SgjtgPnVZnoSDkDVvpyfXuP5uZqC4oseNhnIjiaW4bA2Kfo5G s+kjx+e/gPc9nAH5G5w4D2qVSndf+b8nyrOAl9ZhUKPxVow= X-Google-Smtp-Source: ABdhPJzYOen4e2nWzBkVd+saPcj3HhAE7eTnzn1CJBYtVee79a2xFMZvTF6j4iCGIKxgJXczaeV6MCqpIyk+7GA5fXM= X-Received: by 2002:a05:6512:3f4:b0:478:ff65:7820 with SMTP id n20-20020a05651203f400b00478ff657820mr28254343lfq.367.1654800995880; Thu, 09 Jun 2022 11:56:35 -0700 (PDT) MIME-Version: 1.0 From: chad Date: Thu, 9 Jun 2022 14:56:24 -0400 Message-ID: Subject: 29.0.50; list-directory doesn't allow globbing interactively To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary="00000000000088bcb105e1086179" Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=yandros@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (--) --00000000000088bcb105e1086179 Content-Type: multipart/alternative; boundary="00000000000088bcaf05e1086177" --00000000000088bcaf05e1086177 Content-Type: text/plain; charset="UTF-8" >From emacs -Q, call list-directory ('C-x C-d'), and specify a glob pattern, such as "/usr/local/src/emacs/lisp/*.el". Emacs will accept this as the argument when called from lisp (following the behavior described in the docstring), but will not accept it interactively. This is due to passing t as the fourth (MUSTMATCH) argument to read-file-name inside list-directory. I believe that this should instead be 'confirm. I have tested the small attached patch for a couple weeks with no trouble. In case there is a problem with the attached patch via gmail, the change is around line 7385 of lisp/files.el: (list (read-file-name > (if pfx "List directory (verbose): " > "List directory (brief): ") > - nil default-directory t > + nil default-directory 'confirm > nil > (lambda (file) > (or (file-directory-p file) This is a tiny change, and also I have assigned copyright papers on file from past work on MH-e many moons ago, I believe under "yandros@mit.edu" (which has, sadly, moved to MS Exchange in the years since). Thanks, ~Chad In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-06-09 built on penguin Repository revision: 0e401fa2670210c7a5c4424ef6ec6896fff7486e Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-native-compilation --with-gnutls --without-xwidgets --without-pop' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 56606 9544) (symbols 48 5724 0) (strings 32 16248 1701) (string-bytes 1 530792) (vectors 16 11364) (vector-slots 8 223293 17601) (floats 8 21 37) (intervals 56 234 3) (buffers 992 11)) --00000000000088bcaf05e1086177 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

From emacs -Q, call list-directory ('C-x C-d')= , and specify a glob
pattern, such as "/usr/local/src/emacs/lisp/*.= el". Emacs will accept
this as the argument when called from lisp (= following the behavior
described in the docstring), but will not accept = it interactively. This
is due to passing t as the fourth (MUSTMATCH) arg= ument to read-file-name
inside list-directory. I believe that this shoul= d instead be 'confirm. I
have tested the=C2=A0small attached patch f= or a couple weeks with no trouble.
In case there is a problem with the = attached patch via gmail, the=C2=A0
change is around line 7385 of= lisp/files.el:

=C2=A0 =C2=A0 =C2=A0 (list (read-file-name
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(if pfx "List directory (verbose): = "
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "List direc= tory (brief): ")
- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nil default-d= irectory t
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nil default-directory &#= 39;confirm
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nil
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda (file)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(or (file-directory-p file)
This is a tiny change, and also I have assigned copyright papers = on
file from past work on MH-e many moons ago, I believe under
"= yandros@mit.edu" (which has, sa= dly, moved to MS Exchange in the years since).

Thanks,
~Chad
<= br>In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.24= , cairo version 1.16.0)
=C2=A0of 2022-06-09 built on penguin
Reposito= ry revision: 0e401fa2670210c7a5c4424ef6ec6896fff7486e
Repository branch:= master
Windowing system distributor 'The X.Org Foundation', ver= sion 11.0.12008000
System Description: Debian GNU/Linux 11 (bullseye)
Configured using:
=C2=A0'configure --with-native-compilation --= with-gnutls --without-xwidgets
=C2=A0--without-pop'

Configure= d features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ J= PEG JSON
LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY I= NOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROL= L_BARS
X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
= =C2=A0 value of $LC_COLLATE: C
=C2=A0 value of $LC_CTYPE: en_US.UTF-8=C2=A0 value of $LC_MESSAGES: en_US.UTF-8
=C2=A0 value of $LC_NUMERIC: = en_US.UTF-8
=C2=A0 value of $LC_TIME: en_US.UTF-8
=C2=A0 value of $LA= NG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mod= e: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t=
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-pare= n-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-sh= adow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t=
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2=A0 ind= ent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-compositio= n-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode= : t

Load-path shadows:
None found.

Features:
(shadow so= rt mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-lo= addefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-con= fig gnus-util text-property-search time-date seq gv
subr-x byte-opt byte= comp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231= mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc= 2045 ietf-drums mm-util mail-prsvr mail-utils
iso-transl tooltip eldoc p= aren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mw= heel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image r= egexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode p= rog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu tim= er select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-= colors frame minibuffer nadvice
simple cl-generic indonesian philippine = cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao = korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech euro= pean ethiopic indian
cyrillic chinese composite emoji-zwj charscript cha= rprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-= preloaded button
loaddefs faces cus-face macroexp files window text-prop= erties overlay
sha1 md5 base64 format env code-pages mule custom widget = keymap
hashtable-print-readable backquote threads dbusbind inotify
dy= namic-setting system-font-setting font-render-setting cairo
move-toolbar= gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile e= macs)

Memory information:
((conses 16 56606 9544)
=C2=A0(symbo= ls 48 5724 0)
=C2=A0(strings 32 16248 1701)
=C2=A0(string-bytes 1 530= 792)
=C2=A0(vectors 16 11364)
=C2=A0(vector-slots 8 223293 17601)
= =C2=A0(floats 8 21 37)
=C2=A0(intervals 56 234 3)
=C2=A0(buffers 992 = 11))
--00000000000088bcaf05e1086177-- --00000000000088bcb105e1086179 Content-Type: application/octet-stream; name="0001-Tweak-list-directory.patch" Content-Disposition: attachment; filename="0001-Tweak-list-directory.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l47doqgc0 RnJvbSA5ZjZiZjNhNThkM2JjNTU4ZDFkMzgxMTFhMGY5YjY0NjBjYzg0NzE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBDaGFkIEJyb3duIDx5YW5kcm9zQGdtYWlsLmNvbT4KRGF0ZTog TW9uLCAyMyBNYXkgMjAyMiAxNDo0OTozOCAtMDQwMApTdWJqZWN0OiBbUEFUQ0hdIFR3ZWFrIGxp c3QtZGlyZWN0b3J5IHRvIGFsbG93IGdsb2JiaW5nIG9uIGludGVyYWN0aXZlIHVzZS4KCi0tLQog bGlzcC9maWxlcy5lbCB8IDIgKy0KIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwgMSBk ZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpc3AvZmlsZXMuZWwgYi9saXNwL2ZpbGVzLmVsCmlu ZGV4IGE1MDVmNjJhZjguLjAyNzdhNzZlNGMgMTAwNjQ0Ci0tLSBhL2xpc3AvZmlsZXMuZWwKKysr IGIvbGlzcC9maWxlcy5lbApAQCAtNzM4NSw3ICs3Mzg1LDcgQEAgbGlzdC1kaXJlY3RvcnkKICAg ICAgKGxpc3QgKHJlYWQtZmlsZS1uYW1lCiAgICAgICAgICAgICAoaWYgcGZ4ICJMaXN0IGRpcmVj dG9yeSAodmVyYm9zZSk6ICIKIAkgICAgICAiTGlzdCBkaXJlY3RvcnkgKGJyaWVmKTogIikKLQkg ICAgbmlsIGRlZmF1bHQtZGlyZWN0b3J5IHQKKwkgICAgbmlsIGRlZmF1bHQtZGlyZWN0b3J5ICdj b25maXJtCiAgICAgICAgICAgICBuaWwKICAgICAgICAgICAgIChsYW1iZGEgKGZpbGUpCiAgICAg ICAgICAgICAgIChvciAoZmlsZS1kaXJlY3RvcnktcCBmaWxlKQotLSAKMi4zMC4yCgo= --00000000000088bcb105e1086179-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 15:20:49 2022 Received: (at 55877) by debbugs.gnu.org; 9 Jun 2022 19:20:49 +0000 Received: from localhost ([127.0.0.1]:47818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNi5-0001AC-3i for submit@debbugs.gnu.org; Thu, 09 Jun 2022 15:20:49 -0400 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:28012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzNi3-0001A2-7C for 55877@debbugs.gnu.org; Thu, 09 Jun 2022 15:20:47 -0400 Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 259J48Cj031703; Thu, 9 Jun 2022 19:20:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=VOyXqdpyoGD6HEo25R7M5guBVN5RCwN7EKQE3+BJhLE=; b=BpHPC+9yZObU0qhPqrHLyeLHJCM10dw3EGXNvhrUbpKyTzkQWrzCLOfDQijNwFlPSogq GMZoZIZDphP0gWYxVrCOorJW19tv2dbQJCksBrjkA1iaw3T09QMY4wS870l8RpxP3HsL DCSEJxEDeiW+yhOz8CXXrq+9bMYAPq+Pv0kuV07rfO+MqX10D0xuv7fwzC1S+jbUU7N0 SDdriMbUKx8a4tBZZSAaR03aYWNEFL2IjPvtqAd5yNR/7rJ4QQJa31yLpxcHZn/1B061 yjeAnkJe+IFglpy0gFTNVg5VtjF5fMgTXNcq9toAP/27R/9jezBwsGdxnc9RDo3tZaHz 7w== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ghexehju6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 09 Jun 2022 19:20:45 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 259JGd79004802; Thu, 9 Jun 2022 19:20:44 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3gfwu50p4p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 09 Jun 2022 19:20:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ckwOvuHqA2KNr53510FH/IDVPeeWjUp7V4WY5gH+zg9S9OujmpGGHK+3wgR9jm1KWcspJ1Taxe0TyNScpGV0/YOb6LxrDgJAuQ1JPvT4XAiWI1gQ87bj8QqsDI83G1c+R47nl3gCe7hD3YsEtXO0flbLoi/bHpeKq53y7JTt5Py9Ds7wK0KnfN5Ur6NkbK3lkyCtvJepyb6hgsxmBT9kSYil+ZxlsBAIqtHHft96C7WGoh13r2X7UvMEDsuD1LXFD/aupoGLTJgWn5Z2FD82ZfDeOUWWZMWjh0DrFpbuvKfXa2E3Os0sGXUMJU3N2QL2jcMT5GqARntriDsqpyMoag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VOyXqdpyoGD6HEo25R7M5guBVN5RCwN7EKQE3+BJhLE=; b=Fn56xM87D3KozMDYFOQ8eziIrJKgXzqNY4pZkM8oM1H/roIY8zzYzMMVwwUCiVpuGIjuIK5hxYaPPreTIpk6vsDwFyXiKmLlsSX4uDeYlAeOQYJNz+tpDH8EzhSSu5d190LiADQoDzmzx6XfBpfRvtWUyZSBSgb0duTDTJuCYWYyL+Qhm/1l6lp2huHHtP+CqaFQkNCA9Kwqihpiafsq/RVNn9auiz1fXu/2YORJlNVjIASek8Db6Dplzk1endnM124p+SuqLCHPRs4E2mU/HTP8QiOkzjlvoEpVXCT2PYjrmZscyIzoDMjSmz4b9RYR0WkDic5hC2DaffWPztDC9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VOyXqdpyoGD6HEo25R7M5guBVN5RCwN7EKQE3+BJhLE=; b=PeNRkdhKlJCoX8qFuXzccIed3eEpnzEGO4zc3Twdyuhf11WTNBKDr5jLX64xb5n9r+K8EmfrqRASW8yRAvBEyW0i7l7TuLLLVzwjtbMpgA8MGNmWg2p0qgruFt+Ob7bYc8143/jBjB7MJMAwt9OUsk4Khf4xqOZDMfLwAKjeDtc= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM6PR10MB4188.namprd10.prod.outlook.com (2603:10b6:5:21b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Thu, 9 Jun 2022 19:20:38 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224%4]) with mapi id 15.20.5332.013; Thu, 9 Jun 2022 19:20:38 +0000 From: Drew Adams To: chad , "55877@debbugs.gnu.org" <55877@debbugs.gnu.org> Subject: RE: [External] : bug#55877: 29.0.50; list-directory doesn't allow globbing interactively Thread-Topic: [External] : bug#55877: 29.0.50; list-directory doesn't allow globbing interactively Thread-Index: AQHYfDSH8Mwpb8IoyU+DWhr4sIWEzK1HcwqA Date: Thu, 9 Jun 2022 19:20:38 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8500e5be-087d-496c-52e6-08da4a4d22b1 x-ms-traffictypediagnostic: DM6PR10MB4188:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +C5y/s+sJYO2RsBnPJhDEIH27aGkw1Z9DammHmcYJubNzkL46mEIu58cvusBnWTNmTiZuTS6f2UhlwMX9C8HxDeu3VbTbZb9JDafp9gJ/AEIEDT652fc9Vj/GzaXctZdeUcBi4SkBFfruRK2rIv3Z9cLRZt6+oBr91oQwFfujGiVgsAwCUg2a2vlm6EX+QfcyZ8vVxjL9AjjLm3KaO7gxTb+W3H55L4Dcr6IlL6l8KgwedJ6Haozsgm/ofRiXLT83WXzfaC837KkCgN8KG+nmMushuRDq8gWXTjJHQsV0NKakCf/jZCkreM2IraBH2/FYKj7Ub35mecTBcmkdAQaGElurMltQSatl6vwJU4elI4WywGopSSEKn08DJIzQ91yZ2JyJQtTA2kF9icvJjJGsaxkITKzJPPvbiqE5leWT6Q/0C9X49rUhvnHMHlRltBgE5zG7pheHcT7j6irkbo+qUIBPFbrIcwhCz5UAj6RxteLd3ybJ39CJzwrrzaIorLp/XO2EU41yFExsFjVC6ky5LE7j59U4/QuU+lVk3tqWB63zvsYTxfCl3Ntcltm1R7QYpbK3+GZSgddNTRn18qYpp0r5wZHCIQwEx3CiBgWtfbXubLJ6gcNW/U5zDn8DVl5U00KF9QQCsJEuKEsiKX65KbAHFqZ0i2+EkcABtQVOnYg+DTTn90TlRR2eQ5+PNGib5Ggu6OJ96e6YVoTR3V42g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8936002)(508600001)(64756008)(38100700002)(9686003)(71200400001)(55016003)(38070700005)(26005)(186003)(5660300002)(110136005)(52536014)(6506007)(66446008)(86362001)(8676002)(122000001)(44832011)(76116006)(2906002)(7696005)(66556008)(66946007)(316002)(33656002)(66476007)(558084003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MFFhS1NTbGJxNUhPOXhaTHZ4YkRwS0h2U2xUbVpLZUZsSzdVTnUzVkdQeGhq?= =?utf-8?B?OEJzYnFUdGRVU1Z6NEh1NURSemN4OWRsMVVIV0toNGZpZUM1TzhIOU1RMDRG?= =?utf-8?B?dGNxM0RyVGdxUSt4bXBnQkJrL1ZHNVBkVi9kUEsyTDdJcS9qT3IvSGpBWHpO?= =?utf-8?B?Z3l1RksyanV6SmlBWmxyY1pKdkxZclFQRHZwY0xWSWtGYUFuYW0vQmduQ1V3?= =?utf-8?B?MWdJMDljRm9RRWJzUXQ3eHhlYjEvNExNYmE5VlhMRXh3V21mMWNJQStIdXB1?= =?utf-8?B?cTlTSkppTmJHaWk3dnk4bTlOOGVNaDZVckRPdzNlQmd4YVlzY3dsY2pnRUM1?= =?utf-8?B?SVgxUmNLbVpRS2k3ZjZTcGlwaDhPN2lXenNqeEh2aVpRK3d3bWM3ZCtwek90?= =?utf-8?B?Tkl3NjdSb0FCOW5YVENSeHNXQ2VVVUlHRWRNRmxWMWJCUnBTT0gyWUJDTGZk?= =?utf-8?B?dStWdDJKRU9GbHFYM2JPaVlIcVp6RW1qZzI0bWk3VTFZQlFYS3lEZmh1WnRL?= =?utf-8?B?WDVST0gyWWxYMWVSWlprOUR0OGFHY2EyQXJpQ0o0RmVTeG9JeVIrNmFqVk5B?= =?utf-8?B?N3pRWC85bnE3anB0YUthclQzUEJCT1h2WkZZZHZ1c2FFWDV5RWxwSUVGSmN5?= =?utf-8?B?YmIrM3FGMjliM252c0Y0eHg4Z09GUmE2T3B6Q3AvT284VEVZVXBuOFA4cVBV?= =?utf-8?B?K2kyVkVSZ0lJL1o5d0l3Y1Fmc1pIU2pYWUEzZ1cxbTR3TWRjSDVBNW1mRDFw?= =?utf-8?B?dFhaV1dCUDhGTnQ5VHQrN3ZSZFZFbkFCZ3pUcUh3QVA2N1prVTI0OUdpV3Iw?= =?utf-8?B?Q0VURzRhMTJyOStMTXBGNEZFWDVHcVllMVdlL3RjOGdxY0JLUE1pWHIwVGwy?= =?utf-8?B?SitOd1RTZ3B6bnZrZEFwYTI0eGZDV2hYbWpWZk9jMnhxMVN0eGhJVytONVBC?= =?utf-8?B?NzVRaGNIM1l5a1NsakVQOG1PNWNKWkFjcUxEMDFSR25mcURvTDgwMnRQVHVK?= =?utf-8?B?VlZnZlF5N2d3ckthV0s1WW1QT1ZjemR0aXEyUnVQN2Rqa3JEVG9PSDh5TEoy?= =?utf-8?B?Y3FXQkxUdlNMLys2akcwS214SDdxanBLYVFFVmxkS0dYWEo2cmo1Wk0xRitJ?= =?utf-8?B?aGpoNFlGOGpzWnVzdWVlVlNQMGRPUjE0R2FHVkpQN0FSbjQrNU5LY2pMZjJV?= =?utf-8?B?RHVkZUJKdXBJczU2azBrdEVzbWNvK2kwV0lpdkpHK05EeW55S3NyeXB6U3p1?= =?utf-8?B?dlhTT3lBcDJKRVBzQmM3MVVzTXd6RTZhVVMwaHZqb0pNT0xWaEtsTWdPZ1o4?= =?utf-8?B?WFUzZTdzUzFWNElmMUZML0QvYlMwTi95by9DUXhyRlA1VzNpclhGeStBNG5H?= =?utf-8?B?ZGh5d2lFRmRkM0lBbFcvS3h3WEcyZ1lPVkg4YmJ3VVZWU3hSUG05QXhtd29a?= =?utf-8?B?UXNWaXNqanRVYzloSXEzN2dVNUlxTm9JbFFxNWdWdVYyRXcwK0svWUtHcWRZ?= =?utf-8?B?eWd2cjBubC9ZQVZ5RWFDd1p6aC9FTnpHTE5OL3lYRmsvMVloVmdsMm45Mm5i?= =?utf-8?B?L0dUNUxIaGRCcElnc0xLdjNMVWR2TWpJZmpZMU5VUVE4amorYnJIOGZNNktQ?= =?utf-8?B?dm5XZlBTaUpMTk5RMGJ4Z2RkQ3h3L3F0SytyQUI3STlrSWlxZ0kyZmcwOFh6?= =?utf-8?B?RnVmcFpLekhadDJHY1JxOXBzSEF2cVRTVnR6bVMrVmdqV2t0bW93Y0hBbUNS?= =?utf-8?B?azdvUWJGcGpjMm5pMGNZWWNEbEE3ei8yNG4yU0tYSE83Z3BvSzRIQWNTWEEv?= =?utf-8?B?SDdoZzFtVjRsUFg2YmJVK05Ub0l1NGJHNkR1aDhzZVljTWM0d21sODBkam50?= =?utf-8?B?aFBVT25hTnQ2M2lOaXpoenZ6c1dpaDlFTGtUZW5CaThhNXRENW9NcmZCOFVm?= =?utf-8?B?ajVqcGFJUC9Sd2ZRalpySU5kemVkZk4zU2Z6Y01UYUJLbjJTSFRZdWFvS2Va?= =?utf-8?B?UTllZnZUTHlydEh3UEpCSWxVa2FBMGd1cTd4RVBjaFV5YnJKNGtyK0c2d3Qr?= =?utf-8?B?T1NHR0FFb3lSaFBBMWgzVUxmNTZqcFlGR3dPSmlxQ1lUR2w0QWtpY00yemRi?= =?utf-8?B?SlZTZXlTd3BHdlBESzJkTFMrMDdGczZuVzdMSkpldWw1M2UrbXBPdUJpSHNG?= =?utf-8?B?ZVRpb25lRzFXUUw3T1dOS3hKWFJhQnFaVHUwaDhoOTBGMFprVUJWVVRuaG52?= =?utf-8?B?WGFUQmdJOVYzQ1o4bWhvaEtXQVZkYjd3Y1pNSkFMK0d2T0xEc1lqejVBTWR1?= =?utf-8?B?bHppT1dHc0ticFBLSWZ3MUlsRVVjS3pxTTBOaTFjTXZoRVhPSkxjQT09?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8500e5be-087d-496c-52e6-08da4a4d22b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2022 19:20:38.0705 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fMX3tpNFuKIKSndBp+wZf5IiYVNPLMJVqkSq68ba/Rj5aD3s8DiuzLXI/h9PhwUux1HtwsnLL/nPyWjrDt8suw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4188 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.874 definitions=2022-06-09_14:2022-06-09, 2022-06-09 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=790 spamscore=0 adultscore=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206090071 X-Proofpoint-GUID: SRrcYpDfkA2W83ZSKN0AstIAZEGRPcMQ X-Proofpoint-ORIG-GUID: SRrcYpDfkA2W83ZSKN0AstIAZEGRPcMQ X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55877 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) SSBkb24ndCBzZWUgdGhhdCwgb3IgSSBkb24ndCB1bmRlcnN0YW5kIHdoYXQgeW91J3JlIGRlc2Ny aWJpbmcuDQoNCldoZW4gSSBkbyBgTS14IGxpc3QtZGlyZWN0b3J5ICouZWwnIGl0IGxpc3RzIHRo ZSAqLmVsIG1hdGNoZXMuDQoNCkJ1dCBJJ20gbm90IHVzaW5nIEVtYWNzIDI5LiAgTWF5YmUgdGhl cmUncyBhIHJlZ3Jlc3Npb24/DQo= From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 16:07:47 2022 Received: (at 55877) by debbugs.gnu.org; 9 Jun 2022 20:07:47 +0000 Received: from localhost ([127.0.0.1]:47875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzORW-0002Rd-VR for submit@debbugs.gnu.org; Thu, 09 Jun 2022 16:07:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzORU-0002RM-9Z for 55877@debbugs.gnu.org; Thu, 09 Jun 2022 16:07:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wcQrJ68yxEELDefyDt7aUXhn0MMAdIHeZAJZk4tBQtM=; b=bDwCMArGJss2L0wkBpw4U1ZfMu AuqeevynwVtM/fhV0fRWMmQpOFZ4aLRlJQm8tQ/FnlN4bIpLeXCZb2S8LLE8ncp4oWUwqVtpSv2wi oef9n2xE0qzLKjOfNyDOlMR/T8ev2CRPijtsDbZd3dU85KnNVxpZCbGTOYEXWiSiEZQg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzORJ-0005Ic-RT; Thu, 09 Jun 2022 22:07:36 +0200 From: Lars Ingebrigtsen To: chad Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: X-Now-Playing: Muslimgauze's _Mort Aux Vaches_: "Jaagheed Zarb" Date: Thu, 09 Jun 2022 22:07:31 +0200 In-Reply-To: (chad's message of "Thu, 9 Jun 2022 14:56:24 -0400") Message-ID: <87ilp9y518.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: chad writes: > From emacs -Q, call list-directory ('C-x C-d'), and specify a glob > pattern, such as "/usr/local/src/emacs/lisp/*.el". Emacs will accept > this as the argument when called from lisp (following the [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877 Cc: 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) chad writes: > From emacs -Q, call list-directory ('C-x C-d'), and specify a glob > pattern, such as "/usr/local/src/emacs/lisp/*.el". Emacs will accept > this as the argument when called from lisp (following the behavior > described in the docstring), but will not accept it interactively. This > is due to passing t as the fourth (MUSTMATCH) argument to read-file-name > inside list-directory. I believe that this should instead be 'confirm. The code (introduced in ec3b6fa8e18a) tries to require that the user has either typed an existing directory, or that it's a wildcard spec. But it does this in the wrong way -- and it does this misguided thing wrong, anyway. :-/ I'll try to fix it some other way. Just changing the t to confirm doesn't really help, because then you can type in non-existing directories. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 04:22:18 2022 Received: (at 55877) by debbugs.gnu.org; 10 Jun 2022 08:22:18 +0000 Received: from localhost ([127.0.0.1]:48621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzZuL-0000ok-S0 for submit@debbugs.gnu.org; Fri, 10 Jun 2022 04:22:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzZuI-0000oT-RG for 55877@debbugs.gnu.org; Fri, 10 Jun 2022 04:22:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qLy21bntqykWsO05hCbBBpn5ssqDKddphysAYM538zk=; b=F1GqG0TbUWeFsjTy8b5ya3B/R7 Ds4xRR6rXK0hVXsYoyEx1esJQDQOLDmshqs0XTsaQCN5h/Lnr4IRQ8o9toYzc1PyNClqicKQF22bd dYhs8uvqbu0KmMTN8bbNkSSWnE/HPjty0QZAvbGQlxvt55XYyzIPt1ky+W7Ayfgw1JEo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzZu9-0004wx-S0; Fri, 10 Jun 2022 10:22:08 +0200 From: Lars Ingebrigtsen To: chad Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: <87ilp9y518.fsf@gnus.org> X-Now-Playing: The Style Council's _The Complete Adventures (5)_: "Hope (Feelings Gonna Getcha)" Date: Fri, 10 Jun 2022 10:22:02 +0200 In-Reply-To: <87ilp9y518.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 09 Jun 2022 22:07:31 +0200") Message-ID: <87edzxx711.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I'll try to fix it some other way. Just changing the t to confirm > doesn't really help, because then you can type in non-existing > directories. I've now fixed this in Emacs 29. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877 Cc: 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Lars Ingebrigtsen writes: > I'll try to fix it some other way. Just changing the t to confirm > doesn't really help, because then you can type in non-existing > directories. I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 04:22:23 2022 Received: (at control) by debbugs.gnu.org; 10 Jun 2022 08:22:23 +0000 Received: from localhost ([127.0.0.1]:48624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzZuR-0000p1-22 for submit@debbugs.gnu.org; Fri, 10 Jun 2022 04:22:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzZuP-0000oc-Ff for control@debbugs.gnu.org; Fri, 10 Jun 2022 04:22:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n/DdJOcrSwf7iugfAFuOjW+KOUFZcRFKQwEzqB2Wj+I=; b=YQe0xqhUdbbPvi6eDX11Xu5C1y Rq+gzIKhiI1jpfFTBxZbVRJXbhptXhy3ZPM6U8Lpka5b78bEIRLWjFqswXNa2SQMh/jcj90bruje7 luFOSmiH4iuItoLqW8aCTf2yQi40QmmfsHTpdLE39RmFityrIPvybPyvzajxlWMkqD2w=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzZuH-0004xA-IK for control@debbugs.gnu.org; Fri, 10 Jun 2022 10:22:15 +0200 Date: Fri, 10 Jun 2022 10:22:11 +0200 Message-Id: <87czfhx70s.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55877 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55877 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) close 55877 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 17:04:29 2022 Received: (at 55877) by debbugs.gnu.org; 10 Jun 2022 21:04:29 +0000 Received: from localhost ([127.0.0.1]:51427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzlnx-0002Ip-86 for submit@debbugs.gnu.org; Fri, 10 Jun 2022 17:04:29 -0400 Received: from mail-lj1-f178.google.com ([209.85.208.178]:47014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzlnv-0002IY-1t for 55877@debbugs.gnu.org; Fri, 10 Jun 2022 17:04:27 -0400 Received: by mail-lj1-f178.google.com with SMTP id l18so354866lje.13 for <55877@debbugs.gnu.org>; Fri, 10 Jun 2022 14:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4IwyaE0ooYbDx8bd5XdGD49CLuU07Yk1CeXu+XeDpiM=; b=kUNlXWR52m2+h+4iFg0nQM9rAL/CrEmht49rtqRcWphothD9MajYpR6j+avfiMe5yc JsFSsutDWe9udo5doDreonBByX/NBw6iK0k52tAd7h8Da+K2BjlWFKzUndX+eE2/jzMt 2rlysqU7sF5N1xRvkr2KC9GzI1sOSwik7KQXiq4Fzgh+pVIgp+UMrnD5w0ANz9QsIoY+ DBoFN5K706P2jzzTFJtnja9qVaXtmFsC4EtkHbM9W+GCXr7dO1qHDrP9P1Yz4UEwPYk6 JEQOkinq9dAujr68qTayknS4jvWKxdJEiR576U1ZeULPJAi0AdZgRjau5HM0X2RS7a5h mxpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4IwyaE0ooYbDx8bd5XdGD49CLuU07Yk1CeXu+XeDpiM=; b=fKySAO3bY83X8J8/FyGocKaC6mK3imjHqHULm+bgIysp31dsjvH1YX92U57tNa3zta SS8IzGCHxX2uFKXTmCxKJRDYiu9lmpWXy0kwV+duvvi0+i+gWd3HiWjQVmZMlL1QQdlY jFHuHcxX9PF5U5ewZ1huNexMwC5QNfCtVKsKVp3muCSoYoVASHo7k4ipr+VEcCRhGMVn NYYiUXZZMRKjXgKfC1ovli3JhF0ljX6vnGNH4zWRxVI3X/y373bv5p1wZHLRrfTTsUlh GmSbiqysM/a2b6OuVcDUudVL1DxCofY/VVyiXHJzt0V8FDsz4JvGI4lbXBB/mFYQHdXh w1HQ== X-Gm-Message-State: AOAM532M0G9BlvcW5Y2L+ppUoFLbiqba5bm01cSoyCo1fu98TOw/oJLR NOP2qyOxadfcgcRAl+0jBi+XGAqMT/1p1DBT9bk= X-Google-Smtp-Source: ABdhPJwoCYq6jiAEVP+3hbykbvprdFScyDDiZqEtZSvJEejvQLoH5RXrZuHxNzhQ0oj6tjDRhK9rROBu+9vUo/3ghPU= X-Received: by 2002:a2e:5448:0:b0:255:a185:86bf with SMTP id y8-20020a2e5448000000b00255a18586bfmr13425856ljd.24.1654895060814; Fri, 10 Jun 2022 14:04:20 -0700 (PDT) MIME-Version: 1.0 References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> In-Reply-To: <87edzxx711.fsf@gnus.org> From: chad Date: Fri, 10 Jun 2022 17:04:09 -0400 Message-ID: Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="0000000000003d918705e11e48f2" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55877 Cc: 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) --0000000000003d918705e11e48f2 Content-Type: text/plain; charset="UTF-8" On Fri, Jun 10, 2022 at 4:22 AM Lars Ingebrigtsen wrote: > Lars Ingebrigtsen writes: > > > I'll try to fix it some other way. Just changing the t to confirm > > doesn't really help, because then you can type in non-existing > > directories. > That's fair. I haven't noticed a problem with it in practice, since there's an extra confirmation step if you try to give it a non-existent dir, and I don't tend to make directories with globs in the filenames. :-) > I've now fixed this in Emacs 29. > Danke mucho. ~Chad --0000000000003d918705e11e48f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jun 10, 2022 at 4:22 AM Lars Inge= brigtsen <larsi@gnus.org> wrote= :
Lars Ingebrigtsen <larsi@gnus.org> writes:

> I'll try to fix it some other way.=C2=A0 Just changing the t to co= nfirm
> doesn't really help, because then you can type in non-existing
> directories.

That's fair. I ha= ven't noticed a problem with it in practice, since there's an extra= confirmation step if you try to give it a non-existent dir, and I don'= t tend to make directories with globs in the filenames. :-)
=C2= =A0
I've now fixed this in Emacs 29.

Da= nke mucho.

~Chad
--0000000000003d918705e11e48f2-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 21:31:33 2022 Received: (at 55877) by debbugs.gnu.org; 11 Jun 2022 01:31:33 +0000 Received: from localhost ([127.0.0.1]:51580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzpyP-00018L-FX for submit@debbugs.gnu.org; Fri, 10 Jun 2022 21:31:33 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:34563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzpyN-000186-PF for 55877@debbugs.gnu.org; Fri, 10 Jun 2022 21:31:32 -0400 Received: by mail-lf1-f50.google.com with SMTP id p18so1026795lfr.1 for <55877@debbugs.gnu.org>; Fri, 10 Jun 2022 18:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xo++xru0+oaQONqlQz4TgRfG1n2k+ODL8UUFRs5WVP8=; b=eR58uRCHpYUrL/B2AvHa8/UsOZAXcPEjEIcLXCxjCtrkpeCfBhP17Yyl30pnfDtjc9 fLSfHex/cut0s1Zggq+oPqR17zQgd6DkfP0/5yw2qdJ4rV/PcYp5E6CZZ3+3+nm3Fs5v GrpoNSaXwYzJp0mwqk4Yse+U71UGpLFcGhC9QF5bwHkruMBZ7pzDUYIVKcG3yGxHFcKv pOwnnf6eiYTc5McRLzYvP/+PHNSDWiAdLVQUUFmMPOywskwsRbu7lH3+5mpacK/Nbjyj SxrA0/5tcjyMjHJnTQdzeM4taXcLffpvjQ/PKiZPHf4Vu6kFYYPYvy/fjCZ5qsJk0rGe /Vzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xo++xru0+oaQONqlQz4TgRfG1n2k+ODL8UUFRs5WVP8=; b=sSmfBPOKVuDh1dhPXKKMpMK0lT7KbJu5vswAzFUjGGAo8YtRiZ/xTTglRdoOVMZiqS ynsHNatBVT9AnzbVVn/xTlHVFiA6USQR5E8glo8ugyKZ9cqahm5nf5vGJpvQlwCt4yHJ 5nfJGzWe4eEPahbmHQ4S2LVRs/nKljUtF0cegNAd9SBsZUMU4hOQ8bmp6S1+tz7rGJde D6WUEfkEkj2RnEZmRJUiVGlsY67QFactZwW+C4tj4CGlMGWO/X1W5vWNOWt5ynziHemZ +siByAeIrb1HmwiKa8YRH+4HWiNZHdk6fmPX2hLiYykS9uGAaLP3GXaHGOt5Oc4MEjvs w1Tg== X-Gm-Message-State: AOAM532QnZgIFsHmrsJBwiItbjyLeKdgjhYdqoAu/IsN7e1jeu7kHfz7 T4j9EaaZ6wofzesc58iW5I/sM1UfUFiytEIqt2s= X-Google-Smtp-Source: ABdhPJyDQd0F6hj3XERRqVbbIq3xMb+lEtyjtKw/AyEL9X/n2ZiJi+QRo/6WuCOoEdI4OIAAzJ7B/mPAnfF17ek6ftg= X-Received: by 2002:a05:6512:b8e:b0:478:f926:1d01 with SMTP id b14-20020a0565120b8e00b00478f9261d01mr30577731lfv.151.1654911085508; Fri, 10 Jun 2022 18:31:25 -0700 (PDT) MIME-Version: 1.0 References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> In-Reply-To: From: chad Date: Fri, 10 Jun 2022 21:31:14 -0400 Message-ID: Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="00000000000062fb5605e12203c3" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55877 Cc: 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) --00000000000062fb5605e12203c3 Content-Type: text/plain; charset="UTF-8" I thought I saw an error here when list-directory with a directory (not file) glob (ex: ~/Project/emacs/*/) is followed by another list-directory, but I think the actual issue is that the default directory in the first case is set to something that doesn't exist, which messes up call-process in the second invocation of list-directory. The error I saw was: Debugger entered--Lisp error: (file-missing "Setting current directory" "No > such file or directory" "/home/chadpbrown/Project/emacs/*/") > call-process("ls" nil t nil "-CF" "--" > "/home/chadpbrown/Project/emacs/src/") > insert-directory("/home/chadpbrown/Project/emacs/src/" "-CF" nil t) > list-directory("~/Project/emacs/src/" nil) > funcall-interactively(list-directory "~/Project/emacs/src/" nil) > call-interactively(list-directory nil nil) > command-execute(list-directory) I'm not sure it's worth the overhead to fix this. I'm testing a small change that replaced default-directory in list-directory (lisp/files.el:7387) with (if (file-exists-p default-directory) default-directory user-emacs-directory) ..but it feels like a hack? ~Chad --00000000000062fb5605e12203c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I thought I saw an error here when list-directory wit= h a directory (not file) glob (ex: ~/Project/emacs/*/) is followed by anoth= er list-directory, but I think the actual issue is that the default directo= ry in the first case is set to something that doesn't exist, which mess= es up call-process in the second invocation of list-directory. The error I = saw was:

Debugger entered--Lisp error: (file-missing "Setting current direc= tory" "No such file or directory" "/home/chadpbrown/Pro= ject/emacs/*/")
=C2=A0 call-process("ls" nil t nil "= -CF" "--" "/home/chadpbrown/Project/emacs/src/")=C2=A0 insert-directory("/home/chadpbrown/Project/emacs/src/" &= quot;-CF" nil t)
=C2=A0 list-directory("~/Project/emacs/src/&q= uot; nil)
=C2=A0 funcall-interactively(list-directory "~/Project/em= acs/src/" nil)
=C2=A0 call-interactively(list-directory nil nil)=C2=A0 command-execute(list-directory)

I&#= 39;m not sure it's worth the overhead to fix this. I'm testing a sm= all change that replaced default-directory in list-directory (lisp/files.el= :7387) with

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (if (file-exists-p default-directory)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 default-directory
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 user-emacs-directory)

..but it feels like a hack?

~Chad

<= /div>
--00000000000062fb5605e12203c3-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 07:02:14 2022 Received: (at 55877) by debbugs.gnu.org; 11 Jun 2022 11:02:14 +0000 Received: from localhost ([127.0.0.1]:51977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzysg-0008PH-Gp for submit@debbugs.gnu.org; Sat, 11 Jun 2022 07:02:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzyse-0008P3-Gf for 55877@debbugs.gnu.org; Sat, 11 Jun 2022 07:02:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=C9GuEIy1yoqYMuM8tXewWvDpauBJpAhk04i6n95je0g=; b=T9ngN092jIn0ajJ9nFepVq6kR6 a7jZslOjMlx0ifN3sS6xpjZKyfzRGgCfKsqP4gGvULHMEQYrmiy3cGYWdkuPLOCJORYG/ozAuJ/qE xIz2i2Y5oNL4Fy1eaw6YF4fevdHBgDZ4ZDBS5EDoCDT+xvMdY58AMZZ7FNRxJVMo6zBw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzysV-00087s-Ki; Sat, 11 Jun 2022 13:02:06 +0200 From: Lars Ingebrigtsen To: chad Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> X-Now-Playing: Mourning A BLKstar's _The Cycle_: "Whom The Bell Tolls" Date: Sat, 11 Jun 2022 13:02:03 +0200 In-Reply-To: (chad's message of "Fri, 10 Jun 2022 21:31:14 -0400") Message-ID: <87h74rsbtg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: chad writes: > I thought I saw an error here when list-directory with a directory (not file) glob (ex: ~ > /Project/emacs/*/) is followed by another list-directory, but I think the actual issue is > that the defau [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877 Cc: 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) chad writes: > I thought I saw an error here when list-directory with a directory (not file) glob (ex: ~ > /Project/emacs/*/) is followed by another list-directory, but I think the actual issue is > that the default directory in the first case is set to something that doesn't exist, which > messes up call-process in the second invocation of list-directory. The error I saw was: > > Debugger entered--Lisp error: (file-missing "Setting current directory" "No such > file or directory" "/home/chadpbrown/Project/emacs/*/") > call-process("ls" nil t nil "-CF" "--" "/home/chadpbrown/Project/emacs/src/") > insert-directory("/home/chadpbrown/Project/emacs/src/" "-CF" nil t) > list-directory("~/Project/emacs/src/" nil) > funcall-interactively(list-directory "~/Project/emacs/src/" nil) > call-interactively(list-directory nil nil) > command-execute(list-directory) I'm unable to reproduce this -- if I say `C-x C-d /tmp/*/ RET' it works fine for me... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 12:39:24 2022 Received: (at 55877) by debbugs.gnu.org; 11 Jun 2022 16:39:24 +0000 Received: from localhost ([127.0.0.1]:53801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o048w-0000oF-VE for submit@debbugs.gnu.org; Sat, 11 Jun 2022 12:39:24 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:41768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o048l-0000nq-Gj for 55877@debbugs.gnu.org; Sat, 11 Jun 2022 12:39:21 -0400 Received: by mail-lf1-f51.google.com with SMTP id 20so2858590lfz.8 for <55877@debbugs.gnu.org>; Sat, 11 Jun 2022 09:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H1ngTpidJKpdYUTT8/i/fUEDswx8IKlsUUSA02XaoEQ=; b=LZIWz6hsML9J0IK1nyD0PUICuzEj9QyMPDDCOU4u8by+fG/jlntSuslr7iOc5L6kSl /tM6suKNItvZm6H3XuktTvzbOdKYJyd6Qtu9DnuaGaGBQp/3oHCoRhVCy8hIWcS4OYKL 17kZZL+h9FYDwp+yS3jrpfBcCyc7hZQUqEuGFRZ0/Mt7M+gH7A0SkrEJ0P+0gR/2jySu YMfjeB4Qgw92u77I98mbedMZzP0xnV92MbyQtTAUMrnwNAgVQ2zgwjoJJGMR1y/DPbKB UmfOPjTkvfdJ5Mov8E17wRfkcWbNsa/+mGT8pXMqTm7QS+y5fI3/qCZIuAf+eN4J/JnE t3JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H1ngTpidJKpdYUTT8/i/fUEDswx8IKlsUUSA02XaoEQ=; b=pLElrOeP45vBpnoPap5IQVQlyZmYBjSGaEic7qJ1aRZIdns92jaNhtp4xlC1h7ncwE hcq50yIOWNwLv8U7N5HMrNl+Tugp8zmQnHFI8z3y9YkY1vMk1XPNzfQK0u7Qo3abgTGg CWmfOhgp6Vcm42B6yU23ZLs06kQoghSjtiI9UNI94OqHMu5wvYQMABTpBq+10+mNwyeq 9SwjoPy+tUrmwfo0/sOq0Dy5DOh4zyExdy/IDVWICG5j8TGKQdL70nkpgYNfK38TER6o eHErxHln8I2oVDem5Uhjfn7Ah9TUfOsp2YuuxyeOVx3ntOtY9M9nkRGiaKjlroRysP6M s6Kw== X-Gm-Message-State: AOAM532PXdPbYIUJn2t5HFhnh+d/iScQVSReFFkm4FRhnfPgyEFs+qZo DPROWRyEP2IIrPMJBwdOyiDgAapz7n9FI2H0wWo= X-Google-Smtp-Source: ABdhPJyssFRM0YedB1gYTVvHp9898KV4xaYHER0gtSWpg5U5tMT+UOJQ4DlINcy/ti1oYjWBaxEJCk4FfS8jgln5nU0= X-Received: by 2002:a05:6512:b8e:b0:478:f926:1d01 with SMTP id b14-20020a0565120b8e00b00478f9261d01mr32271389lfv.151.1654965545036; Sat, 11 Jun 2022 09:39:05 -0700 (PDT) MIME-Version: 1.0 References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> <87h74rsbtg.fsf@gnus.org> In-Reply-To: <87h74rsbtg.fsf@gnus.org> From: chad Date: Sat, 11 Jun 2022 12:38:53 -0400 Message-ID: Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="0000000000006d719805e12eb174" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 55877 Cc: 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) --0000000000006d719805e12eb174 Content-Type: text/plain; charset="UTF-8" On Sat, Jun 11, 2022 at 7:02 AM Lars Ingebrigtsen wrote: > chad writes: > > > I thought I saw an error here when list-directory with a directory (not > file) glob (ex: ~ > > /Project/emacs/*/) is followed by another list-directory, but I think > the actual issue is > > that the default directory in the first case is set to something that > doesn't exist, which > > messes up call-process in the second invocation of list-directory. The > error I saw was: > >[...] > I'm unable to reproduce this -- if I say `C-x C-d /tmp/*/ RET' it works > fine for me... > Sorry, I was probably unclear, and my earlier hack-around was no good. The first call to list-directory works fine. It's the followup, issued from the buffer of the first, that raises the problem, because default-directory in the buffer of the first call is set to, in your example, /tmp/*/, and call-process balks when default-directory doesn't exist. To repeat, from a fresh emacs -Q: `C-x C-d /tmp/*/ RET C-x 0 C-x C-d /tmp/ RET'. I see "insert-directory: Setting current directory: No such file or directory, /tmp/*/" in *Messages* in emacs -Q. (In practice, with a fresh emacs -Q, sometimes I also get the same error from comp-run-async-workers, if it triggers when I'm in that buffer, which was a surprise.) I suspect this is due to the explicit setting of default-directory at the end of list-directory: > ;; Finishing with-output-to-temp-buffer seems to clobber default-directory. > (with-current-buffer buffer > (setq default-directory > (if (file-directory-p dirname) > (file-name-as-directory dirname) > (file-name-directory dirname)))) In the above test case, dirname ends up as "/tmp/*/", which falls through file-directory-p and ends up passed to file-name-directory, which just returns it unchanged under unix, because of the trailing slash. This is a mirror to the logic up-function that checks for wildcards (insert-directory-wildcard-in-dir-p, etc). I considered ways to pass down that information or recreate it, but I don't (yet?) have a better answer for what value it should have than "something safe" or "try to munge the wildcard into an existing directory", which seems terrible. Maybe the right answer is to not setq default-directory at all unless dirname is file-directory-p? Thanks, ~Chad --0000000000006d719805e12eb174 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Jun 11, 2022 at 7:02 AM Lars = Ingebrigtsen <larsi@gnus.org> w= rote:
chad <<= a href=3D"mailto:yandros@gmail.com" target=3D"_blank">yandros@gmail.com= > writes:

> I thought I saw an error here when list-directory with a directory (no= t file) glob (ex: ~
> /Project/emacs/*/) is followed by another list-directory, but I think = the actual issue is
> that the default directory in the first case is set to something that = doesn't exist, which
> messes up call-process in the second invocation of list-directory. The= error I saw was:
>[...]
I'm unable to reproduce this -- if I say `C-x C-d /tmp/*/ RET' it w= orks
fine for me...

Sorry, I was probably un= clear, and my earlier hack-around was no good. The first call to list-direc= tory works fine. It's the followup, issued from the buffer of the first= , that raises the problem, because default-directory in the buffer of the f= irst call is set to, in your example, /tmp/*/, and call-process balks when = default-directory doesn't exist.=C2=A0 To repeat, from a fresh emacs -Q= :

`C-x C-d /tmp/*/ RET C-x 0 C-x C-d /tmp/ RET'= ;.

I see "insert-directory: Setting current d= irectory: No such file or directory, /tmp/*/" in *Messages* in emacs -= Q. (In practice, with a fresh emacs -Q, sometimes I also get the same error= from comp-run-async-workers, if it triggers when I'm in that buffer, w= hich was a surprise.)=C2=A0

I suspect this is due = to the explicit setting of default-directory at the end of list-directory:<= /div>

>=C2=A0 =C2=A0 ;; Finishing with-output-to-temp= -buffer seems to clobber default-directory.
> =C2=A0 =C2=A0(with-cu= rrent-buffer buffer
> =C2=A0 =C2=A0 =C2=A0 (setq default-directory> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (if (file-directory-= p dirname)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(file-name-as-directory dirname)
>=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (file-name-directory dirname))))<= /div>

In the= above test case, dirname ends up as "/tmp/*/", which falls throu= gh file-directory-p and ends up passed to file-name-directory, which just r= eturns it unchanged under unix, because of the trailing slash. This is a mi= rror to the logic up-function that checks for wildcards (insert-directory-w= ildcard-in-dir-p, etc). I considered ways to pass down that information or = recreate it, but I don't (yet?) have a better answer for what value it = should have than "something safe" or "try to munge the wildc= ard into an existing directory", which seems terrible. Maybe the right= answer is to not setq default-directory at all unless dirname is file-dire= ctory-p?

Thanks,
~Chad
--0000000000006d719805e12eb174-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 12:56:03 2022 Received: (at 55877) by debbugs.gnu.org; 11 Jun 2022 16:56:03 +0000 Received: from localhost ([127.0.0.1]:53817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o04P5-0001Gb-8z for submit@debbugs.gnu.org; Sat, 11 Jun 2022 12:56:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o04P3-0001G3-Fw for 55877@debbugs.gnu.org; Sat, 11 Jun 2022 12:56:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o04Oy-0006El-2O; Sat, 11 Jun 2022 12:55:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cTu/4cA91JgPiZsKKRF3fo/E7E/d39AbdcGQZZJFaiU=; b=RIfhu+od6y+X ztk7k4f92Nw5pU6IXcHhtn/zaLRfAN8UgFopEcx7Cti69QMMYRGZKYrV/6hRfKIFHBJNTdXVELOSp HoJrRw7sc5ZGX8elBBdFyJwjEQkT/DgB+wFyLybarC6KotGd91g6g8Qv7jStrIhCY0N8KmiKTFcJ2 /qlKDuGDk+EhXXnY8YLTrxmNoC9h5Wp8hmnDrSf93XvNCRornaLcIdNdlfSyVB/MsIU+36ZLJHZFo fI2jkXz0csbc8WpFnhok03NtwMCrpfD9uc5qY6TDZwNqlsDBhrOVDHAEHssNHQ71tDlNN4I33T75u Xk6PIxwuEnFTNkzR97pPZg==; Received: from [87.69.77.57] (port=1716 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o04Ox-0002xR-IX; Sat, 11 Jun 2022 12:55:55 -0400 Date: Sat, 11 Jun 2022 19:55:41 +0300 Message-Id: <831qvvxhpu.fsf@gnu.org> From: Eli Zaretskii To: chad In-Reply-To: (message from chad on Sat, 11 Jun 2022 12:38:53 -0400) Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> <87h74rsbtg.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877 Cc: larsi@gnus.org, 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) > Cc: 55877@debbugs.gnu.org > From: chad > Date: Sat, 11 Jun 2022 12:38:53 -0400 > > Sorry, I was probably unclear, and my earlier hack-around was no good. The first call to list-directory works > fine. It's the followup, issued from the buffer of the first, that raises the problem, because default-directory in > the buffer of the first call is set to, in your example, /tmp/*/, and call-process balks when default-directory > doesn't exist. To repeat, from a fresh emacs -Q: > > `C-x C-d /tmp/*/ RET C-x 0 C-x C-d /tmp/ RET'. > > I see "insert-directory: Setting current directory: No such file or directory, /tmp/*/" in *Messages* in emacs > -Q. (In practice, with a fresh emacs -Q, sometimes I also get the same error from > comp-run-async-workers, if it triggers when I'm in that buffer, which was a surprise.) > > I suspect this is due to the explicit setting of default-directory at the end of list-directory: > > > ;; Finishing with-output-to-temp-buffer seems to clobber default-directory. > > (with-current-buffer buffer > > (setq default-directory > > (if (file-directory-p dirname) > > (file-name-as-directory dirname) > > (file-name-directory dirname)))) > > In the above test case, dirname ends up as "/tmp/*/", which falls through file-directory-p and ends up passed > to file-name-directory, which just returns it unchanged under unix, because of the trailing slash. This is a > mirror to the logic up-function that checks for wildcards (insert-directory-wildcard-in-dir-p, etc). I considered > ways to pass down that information or recreate it, but I don't (yet?) have a better answer for what value it > should have than "something safe" or "try to munge the wildcard into an existing directory", which seems > terrible. Maybe the right answer is to not setq default-directory at all unless dirname is file-directory-p? Does the below fix the problem? diff --git a/lisp/files.el b/lisp/files.el index 75a856c..aacc1cd 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -7406,9 +7406,9 @@ list-directory ;; Finishing with-output-to-temp-buffer seems to clobber default-directory. (with-current-buffer buffer (setq default-directory - (if (file-directory-p dirname) + (if (file-accessible-directory-p dirname) (file-name-as-directory dirname) - (file-name-directory dirname)))))) + (file-name-directory (directory-file-name dirname))))))) (defun shell-quote-wildcard-pattern (pattern) "Quote characters special to the shell in PATTERN, leave wildcards alone. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 13:03:47 2022 Received: (at 55877) by debbugs.gnu.org; 11 Jun 2022 17:03:47 +0000 Received: from localhost ([127.0.0.1]:53831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o04WV-0001Tz-M1 for submit@debbugs.gnu.org; Sat, 11 Jun 2022 13:03:47 -0400 Received: from mail-lf1-f47.google.com ([209.85.167.47]:33458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o04WQ-0001Ti-NE for 55877@debbugs.gnu.org; Sat, 11 Jun 2022 13:03:42 -0400 Received: by mail-lf1-f47.google.com with SMTP id c2so2994991lfk.0 for <55877@debbugs.gnu.org>; Sat, 11 Jun 2022 10:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+gg0T4VzOr8vbHnNi1XOE4f9oTjR1sAKdmt7F1zXl1Q=; b=AvXraC9xcq4jbp7u4UjnqP7PO7CwA00Gl4bUFBSpnAXkVxtbDYCu7x+xZ7+G8PyH4p iT4I4Ztn4ko9CW+whqeD/M2GKD4oYx9fTjOR8whIXkD9WOnYwLWCzuxDE19jtfEA02JN jYpumvO2lcoquKoEU7J/i1GIH40H6tHFNJ4fuhDG+7fxdS39jxU/J3okD2xF5gHgr+EX /5eR3KHY7PdS23lD5LKm1Yb6/e/u1Y4+gMxIRUxp6Tq5FdK4j9amTg7jXnYv5bHid7ow kcjfGdZ5pbD1TeO0tvxnOqIpNwHwmooWQjRIBa6/0w673XVTu64HEiL+n2hFp9YenWgK 9KOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+gg0T4VzOr8vbHnNi1XOE4f9oTjR1sAKdmt7F1zXl1Q=; b=G3m1u3XrQz5mBSKnMHI7plsiCtxO7iZeTnxJnlARnxRzGqNeXxryXwWJhe2PaAHRI/ k6VqFCnM33I+vSeoVir59whzEy4jcKRnV0A6DTp6z4qRqN+LUtlkxYoX+OC0UfQu7+u4 WwHATz6rVrvnViB8V3XDgwdXtj/PJcqaHmiTD8V9Cost03IAFh6E1x0Si/nCHb3Bkb3o sUjRdhUM7yrSO6DXMQkZ3Pb8fIR1VCazzMavshy61+1j4ZosFTEfCbMDdNuYVQgxB+Wv jvQARAlFzXIOPKDbCxzCZ5Z7JxHL4A/BQi0ea5Fbl39ByiORfSVMYRO4B9vHQYa2Uim6 2dJQ== X-Gm-Message-State: AOAM533r0ggaKuBSqRKhm1fc18i7qTGBmW5EmwV4Mc1A0T9DRG+W2Ckk EziCO4ATSCAlQ1EfOwlyckM88ljB7SdB6s+3OBU= X-Google-Smtp-Source: ABdhPJxQRUnIQ7qvpAFOnBSJ4QHCxfYS/FHI5HMOrZB5MY/f6uxcOppKDEeBS86iO9SmtUR+95kw6RZZMtBTuQEwiaE= X-Received: by 2002:a05:6512:b8e:b0:478:f926:1d01 with SMTP id b14-20020a0565120b8e00b00478f9261d01mr32322952lfv.151.1654967012201; Sat, 11 Jun 2022 10:03:32 -0700 (PDT) MIME-Version: 1.0 References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> <87h74rsbtg.fsf@gnus.org> <831qvvxhpu.fsf@gnu.org> In-Reply-To: <831qvvxhpu.fsf@gnu.org> From: chad Date: Sat, 11 Jun 2022 13:03:21 -0400 Message-ID: Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000e097fe05e12f089a" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55877 Cc: Lars Ingebrigtsen , 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) --000000000000e097fe05e12f089a Content-Type: text/plain; charset="UTF-8" On Sat, Jun 11, 2022 at 12:55 PM Eli Zaretskii wrote: > [...] > Does the below fix the problem? > Yes, it fixes the problem for me under GNU/Linux. Thank you, ~Chad --000000000000e097fe05e12f089a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Jun 11, 2022 at 12:55 PM Eli = Zaretskii <eliz@gnu.org> wrote:
[...]
Does the below fix the problem?

Yes, it= fixes the problem for me under GNU/Linux.

Thank y= ou,
~Chad

--000000000000e097fe05e12f089a-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 11 13:05:42 2022 Received: (at 55877) by debbugs.gnu.org; 11 Jun 2022 17:05:43 +0000 Received: from localhost ([127.0.0.1]:53836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o04YQ-0001XA-Nb for submit@debbugs.gnu.org; Sat, 11 Jun 2022 13:05:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o04YP-0001Wy-S8 for 55877@debbugs.gnu.org; Sat, 11 Jun 2022 13:05:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o04YK-0007eN-M1; Sat, 11 Jun 2022 13:05:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+aw8OsDV66MZxxR8gQPwCmkRN/osKdUjas1SCme1YUA=; b=EN6d36SJpyBU vTyHFTZ6Pu8xpZH+LPvfMVZWJr2GJYpllbWxbHMQwo1xtNq2h10pDWi2L30x2JJqNio3Yvq5RkIeH UYHNmrOPQNUoDxLlTR+tgVnDY0Wx8WSgqcNjKxsfRPg1wbxSaTcBIm8FX+WROLH3UwSOTks4fpQr8 ZTfW4QlyBzJdjc92SFUPhbauxvHs6awLPsywela8poT+npZRJFt0ESsLre04v3OdlN5zYWG5h/jmj +BMbV1nJ8w5LLGOwBlGfJYn+LfC6AOxw4vcMoYJfxZAhD6b8KsqpxPQ+cF6jLVjXJPZwYMWItvf/0 8kRrg0mKcg3xAzOfwj3YZQ==; Received: from [87.69.77.57] (port=2308 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o04YI-0002OE-FH; Sat, 11 Jun 2022 13:05:36 -0400 Date: Sat, 11 Jun 2022 20:05:21 +0300 Message-Id: <83y1y3w2pa.fsf@gnu.org> From: Eli Zaretskii To: chad In-Reply-To: (message from chad on Sat, 11 Jun 2022 13:03:21 -0400) Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> <87h74rsbtg.fsf@gnus.org> <831qvvxhpu.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877 Cc: larsi@gnus.org, 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) > From: chad > Date: Sat, 11 Jun 2022 13:03:21 -0400 > Cc: Lars Ingebrigtsen , 55877@debbugs.gnu.org > > On Sat, Jun 11, 2022 at 12:55 PM Eli Zaretskii wrote: > > [...] > Does the below fix the problem? > > Yes, it fixes the problem for me under GNU/Linux. Thanks for testing. Lars, are you okay with the change I proposed? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 05:59:58 2022 Received: (at 55877) by debbugs.gnu.org; 12 Jun 2022 09:59:58 +0000 Received: from localhost ([127.0.0.1]:54766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0KNy-0000WY-HS for submit@debbugs.gnu.org; Sun, 12 Jun 2022 05:59:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0KNw-0000WI-J9 for 55877@debbugs.gnu.org; Sun, 12 Jun 2022 05:59:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fJObbd41HhZz3maTk7VLEjRTtN/YldhdHm0jliAvac0=; b=XTy0dYYrpDt4CjsGXz4fl9sqUh NDAUco4ACMyjTA1KGCwuXauWuRco5tLYQ0ZFtIImJWcC1rw+Z+1AlXuoBYnp/L/cwzeuGzhvbWnvH j1+XJ7QiE4hQ9K9Vl43I197RqCXweFNK9xf+sdCLMbcj0w9k5KMcDu2qNtrrtmlgHLqg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0KNl-0003O3-QA; Sun, 12 Jun 2022 11:59:48 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> <87h74rsbtg.fsf@gnus.org> <831qvvxhpu.fsf@gnu.org> <83y1y3w2pa.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUSERF6jHyryLxV PDmXWlz///9ZQryFAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGDAk5N3C3Cx0AAAGoSURBVDjLbZIL csQgCIbJ0ANE4wU0ewBSPMBauf+ZCpjsmm3JTDLhkx95ACzFbQds8SESkggzd7hAhipmrQsDfAJm kS5CCPQCRQFB7dItsvcZELKe7+JEQTahUkhIPdWkTrCHGEKIqzvqkBoReQYh8QVGirj5fy258w2U zSSYfxLXegfjHABKzQPkUHLMKpDIAFcuYXMQcyw7dy0QmCfg9uhPkyHAT6Cy2lX1c6WfS0rTaLeB mJQpaFNEbqrOOIBMoDSXcsBzRBk5uoPvGaTnFcF0zGDvOLzIeOQJPDqKA33uEcQxo1WuIE2AqcZt U6C2TGAvtIQwAB3p3fZQ1iXEZACpyfM9wbKiRqD6GUVoAjuGzQbC2O5Ar+R+bkn6tIklrwxf2t4j aF8UYLyA/rHoJiUel8YTBLbxNfX76OEU0xyeGl9uteMEltnEXcjmb0RXyJbEF3fE4Kova8kJUnu+ tUCFvq+IbfJb/o193y6hyzCs6GXXDp9mfdW66Q/wizL/C8Y2zBnOkj79cAzgAbcrbX/AOqo4AbyU lgF8v84kAxzrdXAqxj/0C8wtgenSMRVkAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTEyVDA5 OjU3OjU1KzAwOjAwsdDWUQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0xMlQwOTo1Nzo1NSsw MDowMMCNbu0AAAAASUVORK5CYII= X-Now-Playing: Arto Lindsay's _Mundo Civilizado_: "Mar da =?utf-8?Q?G?= =?utf-8?Q?=C3=A1vea=22?= Date: Sun, 12 Jun 2022 11:59:43 +0200 In-Reply-To: <83y1y3w2pa.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Jun 2022 20:05:21 +0300") Message-ID: <87pmjep5gw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Lars, are you okay with the change I proposed? Looks fine to me. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877 Cc: chad , 55877@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Eli Zaretskii writes: > Lars, are you okay with the change I proposed? Looks fine to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 06:05:04 2022 Received: (at 55877-done) by debbugs.gnu.org; 12 Jun 2022 10:05:04 +0000 Received: from localhost ([127.0.0.1]:54779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0KSu-0000gR-Gn for submit@debbugs.gnu.org; Sun, 12 Jun 2022 06:05:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0KSr-0000fP-Ey for 55877-done@debbugs.gnu.org; Sun, 12 Jun 2022 06:05:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44244) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0KSm-00063W-6w; Sun, 12 Jun 2022 06:04:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HbBFLJ/933UzbtE6T9aNBEOXf4PDIdfvDC1+qDKDwTs=; b=leq5kv3yathb Q6tE0S2OWsokTrYARgZAy757FIEfCgREBKk7h7a4eECqlQmlaqzKUa8ud8yM+2tsawdfMRjIf3Cah Ieyi5P93k06U312cMubN2SVDgcM4hL4+EPMeX4AcRMPN9ZNiKnPUIY3lErZja2Hm4Z3ezb4FK2pTu QrzAzWWPznNBGRJl2CPpZzbws/KX7XrXV8mZrsPPI91rTZxpSPm6H8ylybEIBlx+nIdkjm5haUH6d UoLyJvPKCKb2kxMcoHEn6JhEk2lSS7F3zjqBrjOZu2OEtW9QofVNU+nwa8ww2T41/EF8ZaVKf2BNY LzBn7s9VW4CYcATkNP34nQ==; Received: from [87.69.77.57] (port=1479 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0KSl-0001a8-Cj; Sun, 12 Jun 2022 06:04:55 -0400 Date: Sun, 12 Jun 2022 13:04:40 +0300 Message-Id: <83pmjeurif.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87pmjep5gw.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 12 Jun 2022 11:59:43 +0200) Subject: Re: bug#55877: 29.0.50; list-directory doesn't allow globbing interactively References: <87ilp9y518.fsf@gnus.org> <87edzxx711.fsf@gnus.org> <87h74rsbtg.fsf@gnus.org> <831qvvxhpu.fsf@gnu.org> <83y1y3w2pa.fsf@gnu.org> <87pmjep5gw.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55877-done Cc: 55877-done@debbugs.gnu.org, yandros@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: chad , 55877@debbugs.gnu.org > Date: Sun, 12 Jun 2022 11:59:43 +0200 > > Eli Zaretskii writes: > > > Lars, are you okay with the change I proposed? > > Looks fine to me. Thanks, installed on master. From unknown Mon Jun 16 23:53:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Jul 2022 11:24:06 +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