From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: empty-directory predicate, native implementation Date: Thu, 15 Oct 2020 15:29:29 +0200 Message-ID: References: <83y2ka18t7.fsf@gnu.org> <87y2kaj799.fsf@gmx.de> <83blh60wgr.fsf@gnu.org> <87h7qxjh7g.fsf@gmx.de> <878sc8kgy8.fsf@gmx.de> <87imbcls71.fsf@gmx.de> <83eem0zt0b.fsf@gnu.org> <87k0vsrd6m.fsf@gmx.de> <83a6wozs7h.fsf@gnu.org> <87sgafq2e2.fsf@gmx.de> <87h7qvptm3.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5475"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 15 15:31:32 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kT3Lw-0001Ik-C3 for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 15:31:32 +0200 Original-Received: from localhost ([::1]:47180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT3Lv-000489-2g for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 09:31:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT3K6-0002nN-6h for emacs-devel@gnu.org; Thu, 15 Oct 2020 09:29:38 -0400 Original-Received: from mail-oln040092067036.outbound.protection.outlook.com ([40.92.67.36]:18691 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT3K3-0007LD-LE; Thu, 15 Oct 2020 09:29:37 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i8n0WVbn5eWQh+120cjcnCNNfNbMJRqx83hwp+2ZikwA0PsiCEpZBrbX7IgJWUhRxEw7n0tYB/7GO88vawaaZky4BOpJLEfovmat40+nrtaZ0+G2qA24FYwKb8AyakV8tUwKvN2oZrgXqvzODqMkSiQIQi9s2P9cYVOQY2JtZlJitnYQ6/uXxxYC2AK3usOIp42WOjC3iDTLE51Tj2w62yC+ZgvclVz724z4BgEOJ+iT1m0AStVVGAfT/5B0ICwyngBWIc1ZpeeuuGv3Oi54zLui/SIeo4ids3Up1tADHZsPrPu1tU57iRRz0YEAE5xvbh1sSyzLhweB/m5sPlwsiA== 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-SenderADCheck; bh=DK6TtX8eY+Vz+qh7a+7mYwE5S3KD0DIx6Zqmf1n+MeM=; b=Xpb2aRjj3Tj/bQxuWfC/qMZ4BSxG3ZxPJ5XyaPL7vk1coZS2vof2qR57x0eV1ExPzLdIXuq2wpD/NX41KmpCKexRQR6vtnSvyo2HH+0rkb6IumTiQl19p/dYmiWY+qfec4UivU1oAaQo1ucOkF0ZB9FpykZT3cxzPJadE6fILtbQvkb6fSWC6Zm7tszp+YQ8CsCPNi0whY+jGezVFgpXZSwWzl0r9d51p8g5cu0CKaVVRqFETtQljvDHOtp1+YJ/CaZo3E6maJFRFoqMu5Z0X/9qOuGbo3aTGShrvANJdqomiosYZqcWu6xKCvbgdQFeHv0etF5V8s4+rA0/HF3dvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DK6TtX8eY+Vz+qh7a+7mYwE5S3KD0DIx6Zqmf1n+MeM=; b=Gaoh33P6LRjYFcJs0UWDYmwbFZ4ovrxI+pTRl3rF9ZLFDqAMbTf9ICRNCzDzWo4cqv5pLKhwQxk0PHSNmhJK9FOeKtUwiQQnYPjEdUz4CYC6l3Czn26UX/qXkWDIXYYbj15uVdlyTPwhJqENhKoy2Lew3qjq1Xbz93Le19w+sdPglCQouKmUp+B21b0VtJBcwF9rY9Hdj9K6WHsn3/lRxgztJtwllGXmhWQPpmTueZ5HcO97Y0WyETGqRIXazRGQ4zZakDyqKdRJ6uedtKak6kkQd3/4mhTOf7Nmv0e/F+VSk5YXpMx05Kg1hRTHDGYSWrR9scoArygk2OCA5QSmmA== Original-Received: from AM5EUR02FT014.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::43) by AM5EUR02HT223.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::505) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Thu, 15 Oct 2020 13:29:30 +0000 Original-Received: from AM6PR06MB4518.eurprd06.prod.outlook.com (2a01:111:e400:7e1c::43) by AM5EUR02FT014.mail.protection.outlook.com (2a01:111:e400:7e1c::175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Thu, 15 Oct 2020 13:29:30 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:D1DF52529BEEAE6370015630ADEC9C58FACAFDCEEF8FCB42E9F72D8391B613D1; UpperCasedChecksum:583ECE070E75DEE8F937E901F5BC6EAE1171D6C43B4C2641CC9A34EEE7F65284; SizeAsReceived:8176; Count:46 Original-Received: from AM6PR06MB4518.eurprd06.prod.outlook.com ([fe80::bcb9:3133:8a66:dc8e]) by AM6PR06MB4518.eurprd06.prod.outlook.com ([fe80::bcb9:3133:8a66:dc8e%6]) with mapi id 15.20.3477.021; Thu, 15 Oct 2020 13:29:30 +0000 In-Reply-To: <87h7qvptm3.fsf@gmx.de> (Michael Albinus's message of "Thu, 15 Oct 2020 14:21:40 +0200") X-TMN: [jJMn8FRAaNnqZZNldPhLq0BH4jMureyE] X-ClientProxiedBy: AM6PR0202CA0052.eurprd02.prod.outlook.com (2603:10a6:20b:3a::29) To AM6PR06MB4518.eurprd06.prod.outlook.com (2603:10a6:20b:6b::13) X-Microsoft-Original-Message-ID: <87y2k7ty6e.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR0202CA0052.eurprd02.prod.outlook.com (2603:10a6:20b:3a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20 via Frontend Transport; Thu, 15 Oct 2020 13:29:29 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 3bf8f88a-2e23-4889-3b64-08d8710e5845 X-MS-TrafficTypeDiagnostic: AM5EUR02HT223: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lnLxXKGCZ2k4phJ98omrg0e9QiWJgTyo7PPPfwm5HjUa05s7iFcRr9a2nRjHSzlX+hzHukDETMx6B4Knwab7OZofEeMuL0N0CAuTvcQ97Nv6g8/ieE3/RTkj2SaIfJ4Y9MgqJStyJLSEdOPaebffWv7/N9sQth84duGZhjqARNkQoXTUxgY4qIihZNb/3+zKWnSQOy0prdlILFCb9JjiSfg7qYETdppLX96RhUUW/VDiBgOS7fAB2Z8+J+SCaJAy X-MS-Exchange-AntiSpam-MessageData: Dxruo8ThaTjKTmirSq646kNQWBSZGpzjCIJ9STsNfW+WSKv7fXiPCgn6fx4bDpHOaD/nVeejks3P4MBJKusWOgyYpEvaqD1hUluCh8TgU0JUCu6n9v42fO/08FxUbtqr78omHoIwsb1AsQ5yBWb1Jw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bf8f88a-2e23-4889-3b64-08d8710e5845 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2020 13:29:30.0936 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM5EUR02FT014.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT223 Received-SPF: pass client-ip=40.92.67.36; envelope-from=arthur.miller@live.com; helo=EUR02-AM5-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/15 09:29:30 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257724 Archived-At: Michael Albinus writes: > Arthur Miller writes: > > Hi Arthur, > >>> Thanks for this. I haven't seen your name on the FSF file; I guess your >>> legal papers are on the way? >> They are not, but they can be if someone send me link. I've been looking >> at this page: >> >> https://www.gnu.org/prep/maintain/html_node/Copyright-Papers.html#Copyright-Papers >> >> but I am not really sure where do I send request. > > Sorry, I should have asked. I'll send you the template off-list. > >>> - Adapt the file name handlers. These are ange-ftp-directory-files, >>> ange-ftp-directory-files-and-attributes, tramp-handle-directory-files, >>> tramp-handle-directory-files-and-attributes, >>> tramp-adb-handle-directory-files-and-attributes, >>> tramp-crypt-handle-directory-files, >>> tramp-rclone-handle-directory-files, >>> tramp-sh-handle-directory-files-and-attributes, >>> tramp-smb-handle-directory-files. >> >> Aha, so it is how it works; didn't have time to look into tramp yet. >> Ok, I'll do; I'll sent in patch(es) when I am done. Probably not today >> though but during the weekend of beginning of the next week. > > There's no rush. Doing the legal work will take a week or so. > >> So many changes just for one signature :-). > > In order to enjoy you: Tramp is backward compatible back to Emacs > 25. This must also be taken into account :-) :-) You definitely understand my humour! > But don't worry, I'll make the needed changes after your commit. > >>> - Adapt resp extend ERT tests. These are tramp-test16-directory-files, >>> tramp-test19-directory-files-and-attributes, >>> tramp-archive-test16-directory-files and >>> tramp-archive-test19-directory-files-and-attributes. >>> >>> - Optionally (but much appreciated), write new ERT tests for >>> directory-files and directory-files-and-attributes. >> >> Will have to look at ERT, I suppose it is not too complicated, >> opportunity to learn it. > > A look at the ert manual might help. (info "(ert)") > >> I mainly try to be clear "what I intent" for some future reader; since >> previous code uses lisp.h macros, I used same. I thought that one extra >> 'if' is not that much of a penalty, I'll gladly shortcircut with !last. > > In case you feel the need, you could also provide a comment. > > Best regards, Michael. Ok, I have sent a request for papers; and will deep dive into tramp soon. Thank you a lot for guiding me, it is indispensible. Best regards /a