From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54608: 29.0.50; xref-search-program-alist: support ugrep Date: Mon, 28 Mar 2022 14:29:14 +0200 Message-ID: <7327a2ae-1a92-d1bc-f8ee-a95088ab5e52@inventati.org> Reply-To: Manuel Uberti Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------rfdQShpxFKrqNQ8OflAeUPGu" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40886"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: 54608@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 28 14:31:00 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 1nYoWR-000AOf-Tv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Mar 2022 14:31:00 +0200 Original-Received: from localhost ([::1]:40454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYoWQ-0001Da-J3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Mar 2022 08:30:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYoVW-0001DS-S4 for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 08:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYoVW-0004sy-HO for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 08:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYoVW-0008QK-8c for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 08:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Uberti Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Mar 2022 12:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54608 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164847058032315 (code B ref -1); Mon, 28 Mar 2022 12:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Mar 2022 12:29:40 +0000 Original-Received: from localhost ([127.0.0.1]:57469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYoVA-0008P8-8H for submit@debbugs.gnu.org; Mon, 28 Mar 2022 08:29:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYoV7-0008P0-ML for submit@debbugs.gnu.org; Mon, 28 Mar 2022 08:29:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYoUw-00016I-DB for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 08:29:28 -0400 Original-Received: from devianza.investici.org ([198.167.222.108]:58569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYoUs-0004p6-VF for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 08:29:25 -0400 Original-Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4KRsSr6NFXz6vC6 for ; Mon, 28 Mar 2022 12:29:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1648470556; bh=s/ttucy8At4gKr/6AKiF/fA6KnRFG6HihZZ7ZBvavek=; h=Date:To:Subject:From:From; b=kfYy4R9UjL4+k4Wfmb/oEgbZhJGi2JA0Z/W0Hty5w1jPavaBVYh7VpAavUYQ3g9x8 lojTQpaBncnbtAv8mQYhcBOl8kdRng+fmFY4SRPRSrxUTFCsAWOuegIKbF0U/VE5+d JqgxqJKcx64siiuBBtqRX5gLbsKpVHITz/S7nEX0= Original-Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4KRsSr5Ngwz6v7X for ; Mon, 28 Mar 2022 12:29:16 +0000 (UTC) Content-Language: en-GB Received-SPF: pass client-ip=198.167.222.108; envelope-from=manuel.uberti@inventati.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:229009 Archived-At: This is a multi-part message in MIME format. --------------rfdQShpxFKrqNQ8OflAeUPGu Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I attached a small patch to extend xref-search-program-alist and xref-xref-search-program with support for ugrep[1]. Is it something that can be of any interest? [1] https://github.com/Genivia/ugrep In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2022-03-28 built on hathaway Repository revision: 0e7314f6f15a20cb2ae712c09bb201f571823a6f Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04 LTS Configured using: 'configure --with-harfbuzz --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: it_IT.UTF-8 value of $LC_TIME: it_IT.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: goto-address-mode: t shell-dirtrack-mode: t pixel-scroll-precision-mode: t windmove-mode: t delete-selection-mode: t minibuffer-electric-default-mode: t savehist-mode: t global-so-long-mode: t global-subword-mode: t subword-mode: t winner-mode: t global-company-mode: t company-mode: t minibuffer-depth-indicate-mode: t vertico-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug dabbrev goto-addr pcmpl-args pcmpl-linux pcmpl-unix shell pcomplete smerge-mode diff whitespace bug-reference log-edit message sendmail yank-media rmc puny dired-x dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log vc-dir ewoc server misearch multi-isearch time-date noutline outline checkdoc lisp-mnt elec-pair flymake-proc flymake pp buffer-env vc-git diff-mode easy-mmode vc vc-dispatcher grep compile text-property-search comint ansi-color thingatpt vertico-directory cursor-sensor modus-operandi-theme modus-themes pixel-scroll windmove delight comp comp-cstr warnings cl-extra help-mode delsel minibuf-eldef savehist so-long cap-words superword subword winner company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase mb-depth vertico ibuf-macs rx info tex-site package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 295405 65421) (symbols 48 17422 1) (strings 32 62953 4379) (string-bytes 1 2031804) (vectors 16 33099) (vector-slots 8 928479 37143) (floats 8 203 609) (intervals 56 3658 1060) (buffers 992 31)) -- Manuel Uberti www.manueluberti.eu --------------rfdQShpxFKrqNQ8OflAeUPGu Content-Type: text/x-patch; charset=UTF-8; name="0001-Support-ugrep-in-xref-search-program-alist.patch" Content-Disposition: attachment; filename="0001-Support-ugrep-in-xref-search-program-alist.patch" Content-Transfer-Encoding: base64 RnJvbSBmZjk0OWY3YzY1OTEzNjk3YmZjOWYyODRiODZjNmU1NTQ3OWU5NzMwIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBNYW51ZWwgVWJlcnRpIDxtYW51ZWwudWJlcnRpQGlu dmVudGF0aS5vcmc+CkRhdGU6IE1vbiwgMjggTWFyIDIwMjIgMTQ6MjY6NTAgKzAyMDAKU3Vi amVjdDogW1BBVENIXSBTdXBwb3J0IHVncmVwIGluIHhyZWYtc2VhcmNoLXByb2dyYW0tYWxp c3QKCiogbGlzcC9wcm9nbW9kZXMveHJlZi5lbAp4cmVmLXNlYXJjaC1wcm9ncmFtLWFsaXN0 IChBZGQgdWdyZXApCnhyZWYtc2VhcmNoLXByb2dyYW0gKEFkZCB1Z3JlcCkKLS0tCiBsaXNw L3Byb2dtb2Rlcy94cmVmLmVsIHwgNCArKystCiAxIGZpbGUgY2hhbmdlZCwgMyBpbnNlcnRp b25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9wcm9nbW9kZXMveHJl Zi5lbCBiL2xpc3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