Make ugrep handle compressed files

This commit is contained in:
Gerard Vermeulen 2022-10-09 06:51:38 +02:00
parent ff4ef881ad
commit 51b3fd2fce

View File

@ -1498,7 +1498,7 @@ to {{{kbd(M-s d)}}} and =deadgrep-edit-mode= to {{{kbd(C-c C-w)}}}.
[[https://www.genivia.com/get-ugrep.html][Ugrep]] is an ultra fast grep with interactive query UI and fuzzy search. The
pages [[https://github.com/Genivia/ugrep#emacs][Using ugrep within Emacs]] and [[https://manueluberti.eu/emacs/2022/08/07/emacs-ugrep/][Ugrep in Emacs]] show how to make Emacs use it
with [[info:emacs#Grep Searching][lgrep]] and [[info:emacs#Xref][xref]]. Listing [[lst:use-ugrep]] shows my implementation of the
suggestions in those pages.
suggestions on those pages.
#+caption[Use =ugrep= when available]:
#+caption: Use =ugrep= when available.
@ -1509,6 +1509,7 @@ suggestions in those pages.
(custom-set-variables
`(grep-template ,(string-join '("ugrep"
"--color=always"
"--decompress"
"--ignore-binary"
"--ignore-case"
"--include=\"<F>\""