From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#50499: 28.0.50; project.el: Root of current project Date: Fri, 10 Sep 2021 07:26:30 +0200 Message-ID: <87v939ypa1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35998"; mail-complaints-to="usenet@ciao.gmane.io" To: 50499@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 10 07:27:16 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 1mOZ4G-00094O-LZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 07:27:16 +0200 Original-Received: from localhost ([::1]:50210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOZ4D-0000Rx-RO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 01:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOZ43-0000R0-0e for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOZ42-00027Y-Oh for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOZ42-000892-HX for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2021 05:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50499 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.163125159931273 (code B ref -1); Fri, 10 Sep 2021 05:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Sep 2021 05:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:36680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOZ3f-00088L-D0 for submit@debbugs.gnu.org; Fri, 10 Sep 2021 01:26:39 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOZ3d-00088D-TO for submit@debbugs.gnu.org; Fri, 10 Sep 2021 01:26:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOZ3d-0008Jo-NC for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:26:37 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:39548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOZ3b-0001g5-5F for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 01:26:37 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id z4so861476wrr.6 for ; Thu, 09 Sep 2021 22:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=vzzRTFIdukQZC4XCyx6KeB98zJfUzBvNnuecwk7/izQ=; b=PbqWERQa0tpLHCpx2LQp26WgCY2zK0NhGfzU8oWEbN4VMpTQoFC/QM6RQzh1WNkeZZ 7ahxviYflc9XMPYyMDsioeGPIbZEe3yYfUiKXkOMvuh8yyhw/CAmFfGMlDcVqmhZn+XN 2zsn+10QOT2De+l2zjLrYOkhfehLQObr2s5KXlCNVeUMk0Rx528w0c9FlxpS6FhJisk7 HHl0pSxIm4x6+KtepXrrABpvlHbWBEIGMWN5YArPzF5fqLv5z9Ey4XcaMy8n3HdoSAzn gWv0yjVSm/LOTj8FA0Gdyi0h4sD9BpPmvppUmuGOpl7PbxvJvOkb8I5rZlTzKotyvngM oQGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=vzzRTFIdukQZC4XCyx6KeB98zJfUzBvNnuecwk7/izQ=; b=uLS73e+Mdah3O/2rv4BznBgzuCmogQI3SEYuSWjz1EYD7z050uUr0BmvJ5NuZH+wij 7Z3a1jUUq7DGFmAhw90ccrJrQQQLCYlv80xyTFIlr6brUWOyC0B45EYbHT0Kmze4mcWk WL9RLkPPf4ASQzkWxxpHAdBKSArrgU01rtpxw8MZVQKyQJQTTs4/cAREXJjMv0aVAows HHboWhkO8TW6y0vbdMlIar7xTLRnLCrb6UsFmxe5A58GCevoPkcy8VW1csIS2JbuHiNX 9SSVRgPpHYzdc13DWsbK8zx8TdNy02geyFtbOCqzipTXq74hmplkhupaftzLEpa0fnYC nAiw== X-Gm-Message-State: AOAM5319ePzV8y9oWczpiszVxGFbbgxk3Thxce/gNBXoN/EShc7YiN1k JAREmZBCcRbBhAYQvbAWmXfA3sszEDw= X-Google-Smtp-Source: ABdhPJziCJhZ8lhEBYQkxs3nUWrQdfsB4PN7MWgTeT+xO7xQ/ej3JZ0xWAp+myrPYRcU2p1kW191xA== X-Received: by 2002:adf:80e5:: with SMTP id 92mr7501653wrl.300.1631251591871; Thu, 09 Sep 2021 22:26:31 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::b1d]) by smtp.gmail.com with ESMTPSA id t64sm3136229wma.48.2021.09.09.22.26.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 22:26:31 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=arstoffel@gmail.com; helo=mail-wr1-x432.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:213961 Archived-At: I guess most uses of `project-root' will be of the form (when-let ((p (project-current))) (project-root p)) Or at least this is true in the case of an user who is quickly defining a shortcut command in their config. Wouldn't it make sense to make the PROJECT argument of `project-root' optional, giving the above result when omitted?