From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#45765: [PATCH] 28.0.50; Change default-directory before prompting in project-compile Date: Wed, 13 Jan 2021 20:46:23 +0100 Message-ID: <8735z4tyb4.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25325"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45765@debbugs.gnu.org, Juri Linkov To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 13 20:47:12 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 1kzm6p-0006Se-Ue for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 20:47:11 +0100 Original-Received: from localhost ([::1]:58696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzm6o-0001qJ-QX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 14:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzm6g-0001q4-N4 for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 14:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzm6g-0003Y0-Fu for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 14:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzm6g-00039j-Cd for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2021 14:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2021 19:47: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.161056719312084 (code B ref 45765); Wed, 13 Jan 2021 19:47:02 +0000 Original-Received: (at 45765) by debbugs.gnu.org; 13 Jan 2021 19:46:33 +0000 Original-Received: from localhost ([127.0.0.1]:36635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzm6D-00038q-Ez for submit@debbugs.gnu.org; Wed, 13 Jan 2021 14:46:33 -0500 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:37998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzm6B-00038a-AB for 45765@debbugs.gnu.org; Wed, 13 Jan 2021 14:46:31 -0500 Original-Received: by mail-wr1-f44.google.com with SMTP id r7so3392664wrc.5 for <45765@debbugs.gnu.org>; Wed, 13 Jan 2021 11:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hvOoitv95jqeVMYGPAF9faTWOEpGrlTvBTRn4OXIAno=; b=rf0PnFLc4ShEZIzzwkvoI2q8QW19pY018wehEEf96lH49OTIBfiAIcLK0Q0OuCXdrx 66RvN0FS3VvBTNBvT1l9PdbsauJNypvRbfDL3fOxZf7sDBjk+0lXyLuyKToPuNgjU6Tt XeXRDDxqZbJRCm9uRx0swT9+RRwmO3Lfi8DKo2NQ0fA3nlAmuuHk8vAdNNOpRDGELZi6 CA+1Gx2nzASWsq501qmEyEXqmRJemXmIF++Z2uz4Br7/ulp0InIT4jA2CWVxuuf8tX24 Pgq6y3UQFouvHnQd1i0ecW4tVl/qJrCH5l52a+Uhu/xNRvkDLcg23SS7iXik6v/+WR6Y hHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hvOoitv95jqeVMYGPAF9faTWOEpGrlTvBTRn4OXIAno=; b=VZnhiL8D+3omLpGlu/TlQ3sDpxq/jDwuKlXZlrdFbo2Ab/oaOo6206h9hHknM+LDdh hp43yRJJz9pfTF7HbL+M6zVk9beB1HgEiS6K3cudoeXDvqWyQEdyaEvruizhHm7NGIKb mvc9nxqbaOBXnfPV9L5Dvl8lxnbkU3s4vj3713Q+GujrgrIBUKJcLm5ZUYcJr+HL9IIe URZSdQ24vBYeazh1rTVMLdiOAR+XJmusoJwPFW5vdNe4hlMmgZD9Xqp8cgxE3gnHT1O4 29VcyWP0HqHKm5ZW1dRSvmcBkw97QtViliyayGAksQKSMWRxvYKivIZwrwG76/7/3mko uC6Q== X-Gm-Message-State: AOAM5307XzIoOpbTT8SMyJ1Ov+l0MYasCZjKmjHO+zHccT2fJvsKHC80 o1avqLIc3S/AQzVJogByRbq4xNTCIS/EPw== X-Google-Smtp-Source: ABdhPJxuIsLPY/whcWGfTc+PxBzcIj3ND55InzparmcowxrhCPF4IAfBOtbsfr0lDnaGm8yNydDFNw== X-Received: by 2002:adf:e54a:: with SMTP id z10mr4278944wrm.1.1610567185269; Wed, 13 Jan 2021 11:46:25 -0800 (PST) Original-Received: from my-little-tumbleweed ([2a01:e0a:20e:d340:922b:34ff:fe95:9aed]) by smtp.gmail.com with ESMTPSA id z63sm4551113wme.8.2021.01.13.11.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 11:46:24 -0800 (PST) In-Reply-To: <6e5456e4-a5ac-3e54-2ced-0116a6e7a9dc@yandex.ru> (Dmitry Gutov's message of "Wed, 13 Jan 2021 03:06:37 +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:197918 Archived-At: Dmitry Gutov writes: > I'm not a big fan of the 'interactive' argument. It could be replaced > by using (called-interactively-p 'interactive), though I'm not sure > how idiomatic that is. Not necessarily a fan either, but my takeaway from recent discussions on emacs-devel is that the argument is preferred to called-interactively-p, which should only be used when a function's arglist is set in stone. https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00463.html https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00472.html I see a few dozen hits for "&optional \([\w-]+ \)*interactive)" under lisp/, so it seems to be an established practice. 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".