GNU bug report logs -
#54025
27.2; dired-do-find-regexp skips occurences
Previous Next
Full log
Message #53 received at 54025 <at> debbugs.gnu.org (full text, mbox):
Hi Andrey,
On 26.02.2022 16:54, Петров Андрей wrote:
> 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?).
Try it, it works well enough already. Or at least much better than the
previous approach for searching across many files (exemplified by 'M-x
project-search').
> - 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.
Good thing project-find-regxp does not do that.
> - 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?
It would take roughly (network rtt)x(number of open buffers with found
matches). Or more: there might be a multiplier on rtt, depending on how
this is implemented in Tramp.
> 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.
Check the current code in master out. It should be working fine for most
cases, but not, alas, for remote files edited outside of the Emacs
process. Those might see result in discrepancies.
This bug report was last modified 3 years and 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.