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: source-directory, installed Emacs, and C source Date: Tue, 24 Oct 2023 17:47:57 +0300 Message-ID: <83cyx4krfm.fsf@gnu.org> References: <875y2wrt0q.fsf@catern.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38316"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: sbaugh@catern.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 24 16:49:09 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 1qvIiT-0009eP-0r for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Oct 2023 16:49:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvIhL-0006hY-KB; Tue, 24 Oct 2023 10:47:59 -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 1qvIhJ-0006h1-UX for emacs-devel@gnu.org; Tue, 24 Oct 2023 10:47:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvIhH-0004lw-64; Tue, 24 Oct 2023 10:47:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gIr8nYVRqE1i3Rmt6PrNYgp3xQp9I8fjCpxjqXTHBNw=; b=NjtksA11nySs MbI6bnl84aoaup9kjVHxkcBAtCw0rFVKqHO+TowSnBjdLA/DBZjyGYoEgIwLWEvcDPYlcno/w06Md gcAvvROKQy8KkL54wlxddopqESJZNPyXjjDrZXaksMtqmPd1mj+OE/mfyB/quZj8HFDRIZSkM39Z6 BR88P7D1vs+/Rx9cTuQK+G+vQ1dzFUt3hX4t/yqBjFaThmQJF+H0CFtqRI+we/aWHvXrWdp5zyGGB Zw1hk2h10Q3gPKp888dEq7WU6P5pji3dkx/ly3170fx2Q4PiaQKzI/Ouz929aq1es34lHcJc7DfVb YPat9sM0REA3W+/VGXZq2A==; In-Reply-To: <875y2wrt0q.fsf@catern.com> (sbaugh@catern.com) 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:311797 Archived-At: > 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?