From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Uberti Newsgroups: gmane.emacs.devel Subject: Understanding project.el Date: Fri, 18 Sep 2020 09:10:50 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30259"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 09:14:03 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kJAap-0007m9-NA for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 09:14:03 +0200 Original-Received: from localhost ([::1]:50890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJAao-00012e-EH for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 03:14:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJAY0-0000Td-HM for emacs-devel@gnu.org; Fri, 18 Sep 2020 03:11:08 -0400 Original-Received: from confino.investici.org ([2a00:c38:11e:ffff::a020]:58133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJAXw-0001p6-IT for emacs-devel@gnu.org; Fri, 18 Sep 2020 03:11:08 -0400 Original-Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Bt4k34Qfgz12VR for ; Fri, 18 Sep 2020 07:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1600413051; bh=vgTs6XT3pYBkNdvlPHdeAvmZCDXpFRHwJX3N9t6EHGg=; h=From:Subject:To:Date:From; b=nVfZCCsJk/Q2Q5Oiyps13Dpd9Qsb35ojDi9XYrs9gnpGddGCO5tN72KdoH4tmYFHc 9/pwVYlfLefX1+nZEfBJzwia6eylrR7CQDQnc+BUC59eamiVQh9xOil6sjmI9bGher kS5oomfuOf7/hY7e1Ef7cobPtCr0/jiuFSAIm+hg= Original-Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4Bt4k33vm4z12VH for ; Fri, 18 Sep 2020 07:10:51 +0000 (UTC) Autocrypt: addr=manuel.uberti@inventati.org; prefer-encrypt=mutual; keydata= mQENBFTh+8QBCADM+TpOAlO6NIM+GCSLZd4hZQCU2WV7Z1cLYLnE2NHdEaKGnaVlkcf9dGeL 6nlX7j20AYL7KqF4h9IX5d4lc1w8Izk0V2ijtqNeqbRdiTZ8mF+cFEwbALjHIs/YNUjr8IMK pJ+5rQ4DN6dsLVuJ7NJCB54AtAqqvoTodEPxLCT2Gq6YyGaobiEGeczk/3SPsQZYQnKfJ2zM JxIQDy4Dg9owrPpX/WWOfmcTkDoWovX9nsojErYXhIXP7r6+V3cV9stQeOwMhfmnZ1k7LO7y tyvYNIZGfh+JrYBakGttYGSj/C47hJV9MBiY08/Wr3QeDVtV7UTB5qXVYMrYQk63UssNABEB AAG0QU1hbnVlbCBVYmVydGkgKEF1dGlzdGljaS9JbnZlbnRhdGkpIDxtYW51ZWwudWJlcnRp QGludmVudGF0aS5vcmc+iQE6BBMBCgAkAhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheABQJZ pBuqAhkBAAoJEE5XpsTKpI9iEBoIAJLAIZfNVT2KoO9iMM92kuCih6BA1lvpDWreoqRvwW8A iEnS6pwvpiuXldhZgcB4drpy97XBudBFx/b96Sqb4RvGxIHKpt4oLlpXzcohL28oP1CJiN+O bHEbRhzF8fuTrNh7v76z88WRkplUT/7nrO7YLVOM2DS/2QYccOrPkW4C5F03JyVkzSNisz5R VcmUTWcdnqo8VBd/DP3P96ayRj3VPKa9IdQIAxbjbhP+kEQbq9XDiZpGpcOHhFjWeLAWlFCm nES1C7Wb Content-Language: en-GB Received-SPF: pass client-ip=2a00:c38:11e:ffff::a020; envelope-from=manuel.uberti@inventati.org; helo=confino.investici.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256054 Archived-At: Hello everyone, I filed a ticket over at clojure-mode because its integration with project.el isn't working as expected. You can find it here: https://github.com/clojure-emacs/clojure-mode/issues/571 I did my best to provide a recipe from emacs -Q in order to make it easy to reproduce. Since clojure-mode's maintainer is not able to test this problem, I'd like to understand if I can do something about it. However, I need to understand project.el a bit better to do so. Here are my questions: - Is project-switch-project setting the project root every time a project is selected? - Is project-switch-project caching something about the current project that might interfere with the switch? - Is the new project root picked up by project-find-file? I already asked the first of these questions on that ticket, but it's probably better to redirect my questions here where the core devs usually meet. All the best -- Manuel Uberti www.manueluberti.eu