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?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Easy configuration of a site-lisp directory Date: Mon, 9 Aug 2021 18:14:46 -0400 Message-ID: <9bcf4a54-6457-7365-8364-0986364ecc6a@gmail.com> 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> <838s1ah2mw.fsf@gnu.org> 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="32073"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 10 00:15:41 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 1mDDYb-00089S-FG for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Aug 2021 00:15:41 +0200 Original-Received: from localhost ([::1]:48410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDDYa-00031v-AF for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Aug 2021 18:15:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDDXm-0002GS-Ol for emacs-devel@gnu.org; Mon, 09 Aug 2021 18:14:51 -0400 Original-Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:36627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDDXl-0004Bm-E7; Mon, 09 Aug 2021 18:14:50 -0400 Original-Received: by mail-qk1-x72b.google.com with SMTP id e14so20201816qkg.3; Mon, 09 Aug 2021 15:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fcrg5xhBHdpGsTmcJMtmPeBZq4IP6p19c1wXulepNdo=; b=qCdRr5ACUsezUX3lSg4DOOXd0bSooc85iqTznmteEXf3uIaU08F7tj+6iX4B61temM Dutn9hEdynDfwtXmccEDsCPPQNq6JzwrYDmVPU//f+lYfu8tptc5ZIp03CvF+i9tURmc 6tAyQuvONsYAsR3f5nCPyA8tO+3/aL7fPBJsuYJjxy6UbxT+cfSjkYGMk057NEmcal6L t24eqWNNoZ1cdRjD7XeFMOKU2z5yML+yoKPV9iNe0K94sGfowBuMDpxoVqYYnP4pjVNF 3yJV8JNqMJR5P98/wzDOautzn/eJ2Uth1P2u/ewu1VsFA0HBzxNYmQ0fEgjCP5iqbHX7 XhNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fcrg5xhBHdpGsTmcJMtmPeBZq4IP6p19c1wXulepNdo=; b=G4f+e4h6Bhv0wUDp8ZdpjQKz2Z191gdL/2ZwGL9RhNnxPSMstgz+ZE2dcagtGQxeR9 biZuuYgj+3FcphTZJTGoRBUHp4p/ygR9NrKEMGvKFWJLMGwXG3sBGeFb6qfNPPlRFRnH rkukE1CJdxqbB346VFSMcGh071Y72p5bOjVVcJMQnKoMdvDz+JhHKdhIfkwAPcZTt0Jm 9ugjJ9UWFyaRfFodYPRGRxXFCttGlVA8rv88woP6tpObG8MMp2KmSW+Gv1JqI3hmgzye PAeV2OjA5cGlSSs7PfIjmVDZtaUwOlxUO7mzpDK7wPtlQAIvGSy28sFuSgU93uLwBLmN yevQ== X-Gm-Message-State: AOAM531vBYsV3lLS/yE0SgQcEVhmi2aJ8kTFTOnjUZSagcSAxhYDYRL8 AZ4PaTP+exRm462E2DTjUILbimJjywI= X-Google-Smtp-Source: ABdhPJyJz685uSS2DEweGK9PmdKxLmzZtXnYASSqVXpUjq4SGbGFEDPPuXbr60yKoK+Q0mo/5pRdsg== X-Received: by 2002:a37:9581:: with SMTP id x123mr25321666qkd.477.1628547287973; Mon, 09 Aug 2021 15:14:47 -0700 (PDT) Original-Received: from [192.168.1.11] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id o10sm2991178qtv.31.2021.08.09.15.14.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Aug 2021 15:14:47 -0700 (PDT) In-Reply-To: <838s1ah2mw.fsf@gnu.org> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=cpitclaudel@gmail.com; helo=mail-qk1-x72b.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, NICE_REPLY_A=-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: 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:272250 Archived-At: On 8/9/21 2:52 PM, Eli Zaretskii wrote: >> 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, No, I'm running from .elc files, am I not? Not from .el.gz ones. > whereas the files in Git could have been modified > meanwhile, and are no longer the code your installed Emacs runs. Yep, that's precisely why I wrote "Though the .el files could be out of sync with the .el.gz files, presumably." But the same issue exists with the C files, which could be out of date as well. > 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) Thanks. Is there a way to do that only for Emacs source files, not for all ELisp files?