From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64735: 29.0.92; find invocations are ~15x slower because of ignores Date: Fri, 21 Jul 2023 13:46:43 +0000 Message-ID: <87h6pxl6m4.fsf@localhost> References: <1fd5e3ed-e1c3-5d6e-897f-1d5d55e379fa@gutov.dev> <87wmyupvlw.fsf@localhost> <5c4d9bea-3eb9-b262-138a-4ea0cb203436@gutov.dev> <87tttypp2e.fsf@localhost> <837cqu35lw.fsf@gnu.org> <87o7k6pmk3.fsf@localhost> <834jly351p.fsf@gnu.org> <87lefapkdx.fsf@localhost> <831qh230h5.fsf@gnu.org> <87wmyu8mi0.fsf@localhost> <83wmyu1l1k.fsf@gnu.org> <87ttty8l73.fsf@localhost> <6f55b301-7610-ee4a-996e-fc6a8db33c33@gutov.dev> <87y1j9l8u2.fsf@localhost> <0c6f4daf-ea8a-0636-1b51-f4640ff39834@gutov.dev> <87jzutl76e.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1938"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, Eli Zaretskii , 64735@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 15:47:24 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 1qMqTb-0000Fb-UP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 15:47:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMqTJ-0003UP-6n; Fri, 21 Jul 2023 09:47:05 -0400 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 1qMqTH-0003U0-Rl for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:47:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMqTG-0003C8-PM for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMqTG-0001yw-1U for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64735 X-GNU-PR-Package: emacs Original-Received: via spool by 64735-submit@debbugs.gnu.org id=B64735.16899472027587 (code B ref 64735); Fri, 21 Jul 2023 13:47:02 +0000 Original-Received: (at 64735) by debbugs.gnu.org; 21 Jul 2023 13:46:42 +0000 Original-Received: from localhost ([127.0.0.1]:60960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMqSv-0001yJ-PB for submit@debbugs.gnu.org; Fri, 21 Jul 2023 09:46:42 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:55647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMqSs-0001we-DI for 64735@debbugs.gnu.org; Fri, 21 Jul 2023 09:46:40 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 644D4240104 for <64735@debbugs.gnu.org>; Fri, 21 Jul 2023 15:46:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689947192; bh=kreoqqOdrt4S+qGU5+IDB8131y5kmZ1PQiW6teC/qHs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=WgT5TMlk4y43lU414cTDOCKcOoyxwO+bLJGvRPjTvZ4JVCQyDDSvrJljYpVk3Qw2Y H1j6Q53b4QLOsFCwBxebJr9XxRTXRVuz7guSczAN240GvXxOw3f0sNw9DWAK6ZSGwZ hsoJG5PfmHoDtwXnAdTmn/6UNER6DSQpt/Q+2NBzULrsk6BdjuNbLNXqX5PhBpl5iT ydXXxriBL/8NvdhtIBeCnkZPGHLaIsXxU5PjxEvtWHnqalxASYLz8XoexWY1kKCdt7 PAyGC3+t5Luz8HnbRgEtQ7/LLpY3uLhjLFdVMPXlrunUi8gWgCC5JXTXaMLBLsgSz4 h+oArHvUw0hgA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R6rSR5ZkYz6tvt; Fri, 21 Jul 2023 15:46:31 +0200 (CEST) In-Reply-To: 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:265712 Archived-At: Dmitry Gutov writes: > On 21/07/2023 16:34, Ihor Radchenko wrote: >> Dmitry Gutov writes: >> >>> On 21/07/2023 15:58, Ihor Radchenko wrote: >>>> Dmitry Gutov writes: >>>> >>>>>>> Disabling file-handlers is inconceivable in Emacs. >>>>>> Indeed. But we are talking about Emacs find vs. GNU find here. >>>>>> In the scenarios where GNU find can be used, it is also safe to disable >>>>>> file handlers, AFAIU. >> So, we agree here? (I've read your reply as counter-argument to mine.) >> > > We don't, IIUC. > > To use GNU find on a remote host, you need to have the file handlers > enabled. Let me clarify then. I was exploring the possibility to replace GNU find with `find-lisp-find-files'. Locally, AFAIU, running `find-lisp-find-files' without `file-name-handler-alist' is equivalent to running GNU find. (That was a reply to Eli's message that we cannot disable `file-name-handler-alist') On remote host, I can see that `find-lisp-find-files' must use tramp entries in `file-name-handler-alist'. Although, it will likely not be usable then - running GNU find on remote host is going to be unbeatable compared to repetitive TRAMP queries for file listing. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at