From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= Newsgroups: gmane.emacs.bugs Subject: bug#54025: 27.2; dired-do-find-regexp skips occurences Date: Sat, 26 Feb 2022 14:54:39 +0000 Message-ID: References: <611521ae-42d4-6584-915e-243060de536e@yandex.ru> <831qzwx5a6.fsf@gnu.org> <967624c188c942ff8ecbf23bd6be46d0@pay-lab.ru> <0239f68191344ab49b23ddc96c7bd6e9@pay-lab.ru> <8017fbd711264d36ba69b62c480a55c6@pay-lab.ru> <7f544a39-e32d-2d62-4db8-dc957d243aec@yandex.ru> <87fso7mkj0.fsf@gmx.de> <274c3d9c-205d-be47-1bc6-1aeeacd659e8@yandex.ru> <8735k7m1ez.fsf@gmx.de> ,<87pmn9lu2k.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "54025@debbugs.gnu.org" <54025@debbugs.gnu.org> To: Michael Albinus , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 26 23:33:13 2022 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 1nO5cl-000A4r-Py for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Feb 2022 23:33:11 +0100 Original-Received: from localhost ([::1]:55512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nO5ck-0004Wl-E0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Feb 2022 17:33:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nO5cc-0004WF-Vo for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 17:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nO5cc-0004et-Nc for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 17:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nO5cc-0003Td-LR for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 17:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2022 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54025 X-GNU-PR-Package: emacs Original-Received: via spool by 54025-submit@debbugs.gnu.org id=B54025.164591473913278 (code B ref 54025); Sat, 26 Feb 2022 22:33:02 +0000 Original-Received: (at 54025) by debbugs.gnu.org; 26 Feb 2022 22:32:19 +0000 Original-Received: from localhost ([127.0.0.1]:56416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nO5bu-0003S4-DW for submit@debbugs.gnu.org; Sat, 26 Feb 2022 17:32:19 -0500 Original-Received: from mail1.itgrp.ru ([185.8.182.248]:59051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNyT9-0002Pp-F5 for 54025@debbugs.gnu.org; Sat, 26 Feb 2022 09:54:48 -0500 IronPort-SDR: DEX/NNGm+CdHYvV2T3pFAleQljn9u+HSp0fYQdvam6NWJSTxN0KK8DaFWAhPTNoAco/DzSbu82 C5e/Mj4Zf6GQ== X-IronPort-AV: E=Sophos;i="5.90,139,1643662800"; d="scan'208";a="159764729" Thread-Topic: bug#54025: 27.2; dired-do-find-regexp skips occurences Thread-Index: AQHYIyjXtspqEmtb7Emo34ft0KOoIayc/TcAgABkI0mAADe4/YACqySAgAB1HP6AASCpgIAAfuOKgAD/QYCAAKCyrYAAKwkAgABIRLiAAGrrgIAA8rDegAAoEG4= In-Reply-To: <87pmn9lu2k.fsf@gmx.de> Accept-Language: ru-RU, en-US Content-Language: ru-RU x-originating-ip: [10.24.4.20] X-Mailman-Approved-At: Sat, 26 Feb 2022 17:32:17 -0500 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" Xref: news.gmane.io gmane.emacs.bugs:227690 Archived-At: Michael, Dmitry, - I think it is not the best idea to search in files and directories visited through tramp (does internal grep call have an optimized version for that?). - I believe what saving buffers before operation involves more traffic then checking for modification time. - Also if I remember correctly I saw some inflating transcoding while copying files into local machine using tramp (that's why I prefer using tar/ssh/untar or scp over dired tools for copying files between machines) - aggressive traffic optimization is not always used. - When I trying to type something in buffer visiting modified from outside file I am prompted to confirm my intention (really edit the buffer?) - if I'm not wrong, it should involve some network activity. So does the time modification checking give so much overhead? I found the synchronizing of search results in xref buffers with buffer contents (when you passes through an xref) very comfortable. It might be more confusing when user clicks to xref and jumps into non-matching text area. Best regards, Andrey Petrov. ________________________________________ =EF=D4: Michael Albinus =EF=D4=D0=D2=C1=D7=CC=C5=CE=CF: 26 =C6=C5=D7=D2=C1=CC=D1 2022 =C7. 16:56:51 =EB=CF=CD=D5: Dmitry Gutov =EB=CF=D0=C9=D1: 54025@debbugs.gnu.org; =F0=C5=D4=D2=CF=D7 =E1=CE=C4=D2=C5= =CA =F4=C5=CD=C1: Re: bug#54025: 27.2; dired-do-find-regexp skips occurences Dmitry Gutov writes: > Hi Michael, Hi Dmitry, > IIUC Tramp caches some information about files, and flushes those > cashes after "destructive" operations. "Last modification time" could > reside in such a cache. In general, this is correct. But verify-visited-file-modtime is different. Its task is to check, whether the buffer's known file modification time is still valid; it could have changed on disk due to external changes or so. That's why it cannot use the Tramp cache. Best regards, Michael.