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#45765: [PATCH] 28.0.50; Change default-directory before prompting in project-compile Date: Tue, 19 Jan 2021 19:38:24 +0200 Organization: LINKOV.NET Message-ID: <875z3tgqjj.fsf@mail.linkov.net> References: <87bldx2bmk.fsf@gmail.com> <87ft37bbp0.fsf@mail.linkov.net> <01a19619-e48a-825f-b459-5b04df402ad6@yandex.ru> <87zh1fyxo0.fsf@gmail.com> <87lfcywhyc.fsf@mail.linkov.net> <6e5456e4-a5ac-3e54-2ced-0116a6e7a9dc@yandex.ru> <8735z4tyb4.fsf@gmail.com> <5ad49c92-6a29-ff7f-6b2a-2c3e5505334d@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9946"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 45765@debbugs.gnu.org, =?UTF-8?Q?K=C3=A9vin?= Le Gouguec To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 19 19:41:56 2021 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 1l1vwx-0002Tw-OS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jan 2021 19:41:55 +0100 Original-Received: from localhost ([::1]:41320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1vww-0006Ka-Do for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jan 2021 13:41:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1vHU-0005Au-0k for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 12:59:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1vHS-0004k2-RO for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 12:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l1vHS-0002Vt-R8 for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 12:59: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: Tue, 19 Jan 2021 17:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45765-submit@debbugs.gnu.org id=B45765.16110791329607 (code B ref 45765); Tue, 19 Jan 2021 17:59:02 +0000 Original-Received: (at 45765) by debbugs.gnu.org; 19 Jan 2021 17:58:52 +0000 Original-Received: from localhost ([127.0.0.1]:51577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1vHH-0002Us-Sv for submit@debbugs.gnu.org; Tue, 19 Jan 2021 12:58:52 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1vHF-0002Uc-Le for 45765@debbugs.gnu.org; Tue, 19 Jan 2021 12:58:50 -0500 X-Originating-IP: 91.129.98.64 Original-Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A96DF40004; Tue, 19 Jan 2021 17:58:41 +0000 (UTC) In-Reply-To: <5ad49c92-6a29-ff7f-6b2a-2c3e5505334d@yandex.ru> (Dmitry Gutov's message of "Sat, 16 Jan 2021 05:51:47 +0200") 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:198195 Archived-At: >> PS: I've just seen Juri's reponse in bug#45765#26; I'm glad there is a >> consensus on the first patch, because after looking at more in-tree >> examples of optional INTERACTIVE arguments, I found myself agonizing >> over spelling the spec (list nil nil t), '(nil nil t), or "i\ni\np". > > I know the feeling ;-) > > Patch installed, closing. Thanks again. Thanks for installing the patch. I noticed that the similar command project-execute-extended-command has such line: (declare (interactive-only command-execute)) Should other interactive-only project commands like project-compile and project(-async)-shell-command have the same?