From: "Петров Андрей" <an.petrov@itgrp.ru>
To: Michael Albinus <michael.albinus@gmx.de>,
Dmitry Gutov <dgutov@yandex.ru>
Cc: "54025@debbugs.gnu.org" <54025@debbugs.gnu.org>
Subject: bug#54025: 27.2; dired-do-find-regexp skips occurences
Date: Sat, 26 Feb 2022 14:54:39 +0000 [thread overview]
Message-ID: <d97aac127316481494d0379664b15381@itgrp.ru> (raw)
In-Reply-To: <87pmn9lu2k.fsf@gmx.de>
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.
________________________________________
От: Michael Albinus <michael.albinus@gmx.de>
Отправлено: 26 февраля 2022 г. 16:56:51
Кому: Dmitry Gutov
Копия: 54025@debbugs.gnu.org; Петров Андрей
Тема: Re: bug#54025: 27.2; dired-do-find-regexp skips occurences
Dmitry Gutov <dgutov@yandex.ru> 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.
next prev parent reply other threads:[~2022-02-26 14:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 11:40 bug#54025: 27.2; dired-do-find-regexp skips occurences Петров Андрей
2022-02-21 0:35 ` Dmitry Gutov
2022-02-21 3:33 ` Eli Zaretskii
2022-02-21 7:00 ` Петров Андрей
2022-02-21 23:58 ` Dmitry Gutov
2022-02-23 2:38 ` Dmitry Gutov
2022-02-23 7:01 ` Петров Андрей
2022-02-24 2:50 ` Dmitry Gutov
2022-02-24 7:25 ` Петров Андрей
2022-02-25 1:38 ` Dmitry Gutov
2022-02-25 8:13 ` Michael Albinus
2022-02-25 13:47 ` Dmitry Gutov
2022-02-25 15:05 ` Michael Albinus
2022-02-26 0:28 ` Dmitry Gutov
2022-02-26 11:56 ` Michael Albinus
2022-02-26 14:54 ` Петров Андрей [this message]
2022-02-27 2:50 ` Dmitry Gutov
2022-02-27 12:50 ` Петров Андрей
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d97aac127316481494d0379664b15381@itgrp.ru \
--to=an.petrov@itgrp.ru \
--cc=54025@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).