From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Easy configuration of a site-lisp directory Date: Mon, 09 Aug 2021 21:52:23 +0300 Message-ID: <838s1ah2mw.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 09 20:53:08 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 1mDAOY-0005GM-Au for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Aug 2021 20:53:06 +0200 Original-Received: from localhost ([::1]:51458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDAOW-0003ap-Be for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Aug 2021 14:53:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDANl-0002v7-CF for emacs-devel@gnu.org; Mon, 09 Aug 2021 14:52:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52768) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDANk-00071I-T5; Mon, 09 Aug 2021 14:52:16 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3324 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDANk-0000ML-3m; Mon, 09 Aug 2021 14:52:16 -0400 In-Reply-To: <024825b3-fa33-a852-5115-1ee56ae47041@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Mon, 9 Aug 2021 14:33:48 -0400) 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:272246 Archived-At: > Cc: emacs-devel@gnu.org > From: Clément Pit-Claudel > Date: Mon, 9 Aug 2021 14:33:48 -0400 > > On a typical install Emacs takes you to the .el.gz, not to the .el in the original repo Why is that a problem for you? M-. takes you to the code you are actually running, whereas the files in Git could have been modified meanwhile, and are no longer the code your installed Emacs runs. But if it _is_ a problem, for some reason, the solution is a two-step dance: . run 'etags' to produce TAGS that names the *.el files in the Git checkout where you want to go . configure Xref to use etags for ELisp files (instead of the built-in ELisp backend)