From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#60819: 28.2; `ls-lisp.el' regression introduced in Emacs 26 Date: Sat, 14 Jan 2023 22:28:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22194"; mail-complaints-to="usenet@ciao.gmane.io" To: 60819@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 14 23:29:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGp1k-0005Zp-Ua for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Jan 2023 23:29:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGp1P-0002xn-PX; Sat, 14 Jan 2023 17:29:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGp1N-0002hx-Gx for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 17:29:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGp1K-0003nB-JB for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 17:29:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGp1K-0003I6-EZ for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 17:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jan 2023 22:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60819 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.167373533012617 (code B ref -1); Sat, 14 Jan 2023 22:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jan 2023 22:28:50 +0000 Original-Received: from localhost ([127.0.0.1]:55735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGp18-0003HQ-0B for submit@debbugs.gnu.org; Sat, 14 Jan 2023 17:28:50 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGp14-0003HH-BN for submit@debbugs.gnu.org; Sat, 14 Jan 2023 17:28:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGp13-0001ko-Sa for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 17:28:46 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGp10-0003km-P5 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 17:28:45 -0500 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30EKw9Gs017125 for ; Sat, 14 Jan 2023 22:28:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=n82PLxMj2FYkHwi3z990dt69ynikfWN+tw5QL7mqMVc=; b=cWtsGzw7mf4J9HJwAKBCLV+DQFMsX0RuVFEWHqrPA12VEDx3GcFJYAV+IwiP5mjGyMf5 gflkAW7OkzdtIfDDHw/tETjnILoXBt8NTVsbZj1zoWEw/SSknbWRE2Rc8sXGmQIfD+Qw R+jYUFAeEukGTJn+Wz/xJt+UYhPGe2vsdhH8t0IZ5Q7Kj8iF6Jq9W7470aiTpJaWjWO9 E1b7plXLw89i4SA7wq2uPsFHSUjhdqdMNf3FxTQkaRSmRwUP3ZUYFcMgfdkcrcGSboKw 4cqPGXmPge7UWwswqteVYdcFlGo1iqZBri1xpMsyYrpmFwkcxj6MVg3GQzIUbFOEnEhQ gw== Original-Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3n3k6c0ph9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 14 Jan 2023 22:28:39 +0000 Original-Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 30ELrsgY009290 for ; Sat, 14 Jan 2023 22:28:39 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2102.outbound.protection.outlook.com [104.47.58.102]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3n44q5rd4n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 14 Jan 2023 22:28:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AirjF+P5Jukz1aRe5c6zYVVuwnG9acDre5OlCLVj9AG1gMjwjrovggA56Ok6IryU2SEuAZkws+LH9LW/7J4iX3PnzYH79BS/uzouNtcWJAjI4MBedSyQgdPBJB3tj8tYCW/gZk6NSsy+Bg95PyZQXHsgASneaHn4rBX27zuL+bPezEl6ILDtYX2fTOtcnjx2Kh+G8BfVBBQ/CUOtMqqf3B/xyz4rSqA2ZnBbG+LCo468zwXdl3AORv3cxCvM4C2wEkUHt8wwVdz9meoJQLSEp5qhrL4LT994GyL7Vf/GX7lUtwoKHMu2z6L+FS9RIYjv63+RhG8NT96+ib/D2x8uiA== 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=n82PLxMj2FYkHwi3z990dt69ynikfWN+tw5QL7mqMVc=; b=iLHNuSaQWllaUNVm9/mBCviKSicbD+7v0PA8hkagbGbSD5nuaYYBgbFB6WAzQrzeaZC9DB4m5h+fJ47MxKAE9sswro/LL/AcywFsF0GIyKtNzriT26/iK7r4ATkVhJcN4rEHy0ejapZJlvf2iqalEt2kLBmK9JS6UhLwyfP5uFg7ObcrHEU4KpFU0aM10u08CKe3gKanewOKq1ERZO8Yp0q93wwpbo/CykMeRpZTImHaXT459dxMqsNysSfs0sELco9w258XdlqIr7/xxrqHS31xew1+CW6AcQLrz5TEAncKWWbi704QNAbVkwAxHk9AP5N7/NDj5PaIEWZGl8gdkg== 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=n82PLxMj2FYkHwi3z990dt69ynikfWN+tw5QL7mqMVc=; b=b1WBhfxBAHXp7ezo4soag1ST/nXLX+o1YrROOijU4FlAWYo2S5JlwBL4t/vqZOoLzjDwXpD2vSK7Uk3kOVjB5Lb2A/rB5JB/fIG8SD+8FS5YgTX8lwgcKt598jsT3eKqwYMte7kerD0UqrQhhJnzw1nkWDCQ6g/dktE7CXmuMCI= Original-Received: from CO6PR10MB5473.namprd10.prod.outlook.com (2603:10b6:5:355::21) by BL3PR10MB6042.namprd10.prod.outlook.com (2603:10b6:208:3b2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Sat, 14 Jan 2023 22:28:37 +0000 Original-Received: from CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::59af:ade8:1aa1:3ec0]) by CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::59af:ade8:1aa1:3ec0%9]) with mapi id 15.20.6002.011; Sat, 14 Jan 2023 22:28:37 +0000 Thread-Topic: 28.2; `ls-lisp.el' regression introduced in Emacs 26 Thread-Index: AdkoZ4I6rcQ2M+6VQ+a8aatrAmnqUw== Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR10MB5473:EE_|BL3PR10MB6042:EE_ x-ms-office365-filtering-correlation-id: 6799db07-c470-4bb4-b0e3-08daf67eadd5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6Vmo0vAHtqgh0rGw/EuQpSgjlF0qDWRxwElq7BH1x7Fc3w2/PsbvBrknR26uDbBuDaBjeDKMlnNJd00hRkvoBRGbTyD6G8lsATg/1W2uKB4wrbzHsCIRO6AdFaaFc/jUnNeao+pordyM+qfNA5bA5DODDeHILZc1PX76HHrdm5yoqXp8LpzF3NrgEhAvJrK6oAN+7OtqGC8zvFJqvti9XcdqtevceKMhvORgjmhOCQgiMv6Kszot6cuV8FxP01W860R/+7tfK8XUyvLejmnQcAh5hm/bu+vL2KoNtFny7C8XWljcGOIIoqUmGi31rzMvTYoIbPMw0KGsUa5ZkDsbxF08Jl9cuCJc/G0ElsHQEDwvyDwJcAqWqU3WKyKzeS8BtKkXA03ZdNAr3j8wTfLEmZj0H7qWsYs8AtpoiWgZCTMsBG4jRIGyPaaVdQcV8LLeNd+uu5j79oP0Mwvs9Esojq0LphX2KkrF9w8PKSYuuE2NN3kSYC7AiRJTBgifAEyt9XZCt0cw48B5njtrXTz8+5qmpOBqT6fzHAenKhqKlpeKVhZKS1k3WD62RAlFYAc2idaltoR9e1RyAtjcuZW4a1fndY2cavj+nOFwzDTtTprfcbPhsh0Yet7xiwgoeNCBHd7mpauxAhhMhK5Yhm8/APevNMCbeuB0BgopjzaoA5JCa5fIzOmMbt3PLATJgMq1GdQcwoZcBsDAiYZMIYQs3uH6I1wXy1yiP7MOh8WrqsA= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR10MB5473.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(376002)(136003)(346002)(396003)(366004)(451199015)(8936002)(26005)(76116006)(66556008)(41300700001)(66476007)(66946007)(66446008)(8676002)(6916009)(64756008)(52536014)(38070700005)(6506007)(2906002)(316002)(45080400002)(33656002)(5660300002)(55016003)(71200400001)(478600001)(86362001)(7696005)(186003)(83380400001)(44832011)(9686003)(122000001)(38100700002)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: WezO57hXOp9jh5YYQ7ZzhtqojrzcXtm+tt/YsLS11R0rVJviFyu9+Kpmrt5ESlVt7Un/f8Fm/hElRlb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TbxtYhG7AS2NRFnX+yffp8dXTw8BAX3HXY3BEEQrXNvxI/c1uc6Imlan4jRh1U6Gi2N43DFMo4gEAiFNrxgPgYdxWlKC5Nu5Q0fL2qTssOnOZR4Gtz2GiM8mLZGj1syUavqDGdAa/kPHUPWTlj4HvNQnGEzW3Z4qCAe0AeCmMpdQeytjfB3dygDb15m2XN7f3yzuNPGws1+/Aa9Ed32D8f7O43VN9e1OOgmeirVF+MZPBLypOhY90M9HxUXknWtEZW0QDtIXtOMUuApq32XF7pk4f+hJjtQ9QtRm+F02G2pt4ePIx0BYYtDgf4u1oo6fqm1J7/MgdykedbTOdIWVd5y0lE8dfgLnGSdhQDa1KTG//Ue5WAsOnokhwxVMCKueAGfkaDTth6E1H30h9dv5Cyimgxj+WBAtclDnvj/LeTiDYzHJ8VuJ/aUa2bRoFH101KM8JBKPWE0hFw1ntAANxzC//NO8wBHQbDGrtLofiGy3qgqoD1o75UzSSzZkXnNOpZ5tzvp7xV4zUChWI/WaWZ02fMlnuH 2Gxx9vUYbNhVfjnqCY X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5473.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6799db07-c470-4bb4-b0e3-08daf67eadd5 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2023 22:28:36.8809 (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: Yc6jQy93o/ayD2wlsnWvsygjE5QCFrqDDYMHISGR9CTBwJnYcbtbjPdjd5vRyQy8DRlrjVL5gug+WmBvq1WUlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6042 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-14_08,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 suspectscore=0 malwarescore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301140164 X-Proofpoint-GUID: WBEAWzAYoATomLwbvNLp3qAwBp_pg2pt X-Proofpoint-ORIG-GUID: WBEAWzAYoATomLwbvNLp3qAwBp_pg2pt Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253396 Archived-At: In all Emacs releases prior to Emacs 26, if you use command `dired' with an input directory name that has wildcards and ends with a slash, e.g. c:/foo/bar/*b*/, the command simply ignores the trailing slash and correctly gives you a listing of all files and dirs in c:/foo/bar/ whose names contain a b character. Starting with Emacs 26, such input raises an error. IMO it should not. Other than that, the error message is anyway inappropriate: "No files matching regexp". There's absolutely no regep involved. *b* is a glob pattern, not a regexp - and so is *b*/, for that matter. In general, the character / in a glob pattern cannot be matched by a wildcard. E.g., Wikipedia says "Normally, the path separator character (/ on Linux/Unix, MacOS, etc. or \ on Windows) will never be matched." and Linux man page glob(7) says "A '/' in a pathname cannot be matched by a '?' or '*' wildcard, or by a range like "[.-0]"." I think the change in behavior (raising an error) is wrong. Emacs prior to Emacs 26 was correct in ignoring a trailing slash in this context. Please revert the code that introduced this regression. In GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19044 System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2364) Configured using: 'configure --with-modules --without-dbus --with-native-compilation --without-compress-install CFLAGS=3D-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB (NATIVE_COMP present but libgccjit not available)