From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: Easy configuration of a site-lisp directory Date: Wed, 11 Aug 2021 19:21:50 +0100 Message-ID: <87mtpnx2o1.fsf@tcd.ie> References: <87y29cj65y.fsf@posteo.net> <87czqna77n.fsf@dick> <878s1ba1nl.fsf@dick> <4324d238-261f-946d-eb6b-a98bea3a1157@gmail.com> <83eeb2h7v4.fsf@gnu.org> <024825b3-fa33-a852-5115-1ee56ae47041@gmail.com> <83zgtpfqqx.fsf@gnu.org> <83o8a5flfo.fsf@gnu.org> <83im0dfgny.fsf@gnu.org> <837dgtfaut.fsf@gnu.org> <8335rgg1n3.fsf@gnu.org> <87lf58kshk.fsf@tcd.ie> <83o8a4djom.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32458"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, cpitclaudel@gmail.com, yuri.v.khan@gmail.com, arthur.miller@live.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 11 20:22:42 2021 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 1mDssD-0008EL-H0 for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Aug 2021 20:22:42 +0200 Original-Received: from localhost ([::1]:44822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDssB-00016b-E9 for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Aug 2021 14:22:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDsrV-0000QV-Pw for emacs-devel@gnu.org; Wed, 11 Aug 2021 14:21:57 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDsrT-0001qB-O0 for emacs-devel@gnu.org; Wed, 11 Aug 2021 14:21:57 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id c9so4330416wri.8 for ; Wed, 11 Aug 2021 11:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=adaE4wfkOJaa3XvX5Xdhzr7s5gckDWbz5A9yviIQI3Y=; b=LqTdoI0KFQsS+Fg3HVgp0/F3UtL/WJr0XXhmOAOwttljvYzmlGxTYE6iaGyoMGcWxl eTOmDu6hhhw/Izu+b7ynH9sLvpVHYksXjg9RYxLpDBU/qBeu5BNTJt2nIeJW0FM/rFjd vXmN6yXgmz1hLZ1qhk9kOpg6MtF6xAdpnlHK+Do1Z8z+NeRPjJgDW1FS1uTPTmvK5H/b 4txqek0UaIVSOj2AX6SQMNxCDHzDk1qmh8gB5jIq+2ie9Wjds4Rixjcgdcq5Fw2/aomL s8NSqRsC+4947NIc2ikD884mP0wPBn0VCqheFjAhjD5O63ekO8h4jAxLjpshzmK8zG12 6KOQ== 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=adaE4wfkOJaa3XvX5Xdhzr7s5gckDWbz5A9yviIQI3Y=; b=iMPKmByfnvBdpaG6uJn+VGOa2BwjYgRxhe+IufMOajBgTy719FEgTA41CqFM21B70z 9dme/VWdJUrsYCH2BAK+D8xsARaIY63BC22xLnWHMc/2flPf+3TgvkLa8Gvk4jgTvA56 t8aW6agWC2KSOHKcB3ZEAlx4QQXI3YG3REI0qwr6ErQUdZjeH4pVC/Jjzn0we1XEFIcd 9S2NemTNBGGvDkLPhag+tneNUguwIt/A2W3VUZHXLd1cP0S4yewPCV1w1tLeLCT6DVdo +o6rAq6xtl9TJAXC+wrK0eMb1tWgQb9t5f2eyE/VRBSyP62sORdh61KlQkw7Qf7dOEUY SO6g== X-Gm-Message-State: AOAM531v7k8STn34IR3rGvjRbSxGV5ADbC3+u2sCvjBaOnbL04j4rdUr 4QJ1J5v644b90UrAGMiNJRNsRQ== X-Google-Smtp-Source: ABdhPJya9AwdUOZD72WG3fTThyovUxPicd/CoQuwpJWcftWGlUuSc/Ge6dCZ0Ukj2baCPs+aKcDR/g== X-Received: by 2002:adf:e507:: with SMTP id j7mr39612461wrm.113.1628706113419; Wed, 11 Aug 2021 11:21:53 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id g16sm96586wro.63.2021.08.11.11.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 11:21:52 -0700 (PDT) In-Reply-To: <83o8a4djom.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 11 Aug 2021 19:34:33 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=contovob@tcd.ie; helo=mail-wr1-x42c.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, 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: 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:272332 Archived-At: Eli Zaretskii writes: >> From: "Basil L. Contovounesios" >> Cc: Stefan Monnier , cpitclaudel@gmail.com, >> yuri.v.khan@gmail.com, arthur.miller@live.com, emacs-devel@gnu.org >> Date: Wed, 11 Aug 2021 14:42:31 +0100 >> >> >> The magic is the `find-function-C-source-directory` variable >> > >> > That's irrelevant to M-. I think. >> >> FWIW, I run an installed Emacs, but tell M-. to prefer the Git sources >> with the following MWE: > > Is this for Lisp only? Yes. > Because AFAICT it does nothing for C sources. When installed from a Git checkout, source-directory already holds the correct value, so M-. works OOTB for definitions in C. In other installations, the user need only set that one variable appropriately. Even if they don't, M-. will prompt for it interactively. -- Basil