From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74631: 30.0.92; [PATCH] autoload project-recompile and set default-directory Date: Wed, 18 Dec 2024 19:12:12 +0200 Organization: LINKOV.NET Message-ID: <87ed25p237.fsf@mail.linkov.net> References: <87zflffzp5.fsf@daniel-mendler.de> <02c71b77-433c-4dae-baa0-13376dee75f2@gutov.dev> <87cyi0rola.fsf@mail.linkov.net> <5ec1d7f1-64ca-4ca5-8d2f-97b1925f0bd6@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25917"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 74631@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 18 18:19:42 2024 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 1tNxi1-0006a2-Lc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Dec 2024 18:19:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNxhh-0000Vd-Ed; Wed, 18 Dec 2024 12:19:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNxhQ-0000QU-Il for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 12:19:09 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNxhP-0007MR-LD for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 12:19:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=83qsY3EtsyW+ynjJtKkH9olgY2+gTyotV9aj9b/ZeE4=; b=lCLHKRClUMikMDI2lu6I8WpUILoZfnGGOwVc6+Rp9IIUxOexCjHlCO2PHKV/+quRAfDgSLWwmCuu3enAW4NKMDHiIbiw89PMG0/oyEoaQiltwUJdLwM8CmCRfp9jyzVrA7wc2Q0KyAdYiva5S5uXYfvoxkDtZ59O4zCoD9Pb+IY2CLGrAKtIt+iQo8g5jS4wlmsr5jEwyENWwUciRwvaboViG+bByu2VEp8n8sej+2tK+eGSWqRzoxVT0IEgZ+fgC673Hcng+v2nlqJCbRoTmj+MqHPINqERcozVUNYgm+Q8imTR65UNy6H/quF7N1pAnC4iJRSO4YTuHNuKRjoEFQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNxhO-0006tF-Fb for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 12:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Dec 2024 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74631 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74631-submit@debbugs.gnu.org id=B74631.173454231326438 (code B ref 74631); Wed, 18 Dec 2024 17:19:02 +0000 Original-Received: (at 74631) by debbugs.gnu.org; 18 Dec 2024 17:18:33 +0000 Original-Received: from localhost ([127.0.0.1]:35802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNxgu-0006sK-RL for submit@debbugs.gnu.org; Wed, 18 Dec 2024 12:18:33 -0500 Original-Received: from [217.70.183.200] (port=43811 helo=relay7-d.mail.gandi.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNxgt-0006s0-Hk for 74631@debbugs.gnu.org; Wed, 18 Dec 2024 12:18:32 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id BC4192000A; Wed, 18 Dec 2024 17:17:56 +0000 (UTC) In-Reply-To: <5ec1d7f1-64ca-4ca5-8d2f-97b1925f0bd6@gutov.dev> (Dmitry Gutov's message of "Wed, 11 Dec 2024 01:27:11 +0200") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297343 Archived-At: >>> The comment is related to the previous thread (bug#68570), and it's still >>> unresolved, but IIUC this doesn't make things worse, at least. >> Isn't bug#68570 solved by bug#70136? > > Now that you mention it, the solution proposed in bug#70136 does seem like > the right direction. So we can hope for having it resolved there. Indeed, bug#70136 solves many problems. Using dir-local variables in non-file buffers will for example fix such cases that when need to add the "-a" switch to ripgrep to find files that accidentally contain a null byte, then I see no other way than to do this on per-project basis by adding to .dir-locals.el: ((nil . ((xref-search-program-alist . ((ripgrep . "xargs -0 rg -a --null -nH -e ")))))) But currently it has no effect.