From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh Newsgroups: gmane.emacs.devel Subject: Re: source-directory, installed Emacs, and C source Date: Tue, 24 Oct 2023 11:13:33 -0400 Message-ID: References: <875y2wrt0q.fsf@catern.com> <83cyx4krfm.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="24139"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:rH52dr+H/AAKGiYazlO1tfodpDI= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 24 17:43:36 2023 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 1qvJZ9-0005v0-B3 for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Oct 2023 17:43:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvJYU-0004al-Ux; Tue, 24 Oct 2023 11:42:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvJ6G-0001oL-VK for emacs-devel@gnu.org; Tue, 24 Oct 2023 11:13:45 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvJ6F-00017q-6c for emacs-devel@gnu.org; Tue, 24 Oct 2023 11:13:44 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qvJ6C-0002TE-3B for emacs-devel@gnu.org; Tue, 24 Oct 2023 17:13:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 24 Oct 2023 11:42:53 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311802 Archived-At: Eli Zaretskii writes: >> From: sbaugh@catern.com >> Date: Tue, 24 Oct 2023 10:31:49 -0400 >> >> - Jumping to a newer function definition is not a problem. >> >> So we can do it for Lisp too. We can do that by having Emacs jump to >> Lisp source files from source-directory, too, if they exist. >> (Possibly as an option off by default, if people would prefer that) >> >> This would be a great improvement for users who keep source-directory >> around (since now Emacs jumps straight to your source repo, allowing >> easy modifications, and also you can skip installing Lisp source files >> with Emacs) and status quo for users that don't keep source-directory >> around. >> >> Thoughts? >> >> I'm interested in implementing one of these two options, since I want to >> be able to reliably jump to function definitions from an installed >> Emacs. I don't care which of the two we go with. > > Why would the Lisp sources not be available where Emacs installs them, > i.e. in the /usr/share tree? If the user ./configure'd Emacs to not install them because they prefer to jump to source-directory instead. That's what I meant by: >This would be a great improvement for users who keep source-directory >around (since now Emacs jumps straight to your source repo, allowing >easy modifications, and also you can skip installing Lisp source files >with Emacs)