From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.devel Subject: Re: source-directory, installed Emacs, and C source Date: Tue, 24 Oct 2023 12:20:56 -0400 Message-ID: <87y1fsq9ef.fsf@catern.com> References: <875y2wrt0q.fsf@catern.com> <83cyx4krfm.fsf@gnu.org> <837cncko34.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="23932"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:/CVlnIrtZVt+4NUFWPlmKmiIe3o= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 24 20:22:24 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 1qvM2q-0005ql-Kv for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Oct 2023 20:22:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvM22-0005xF-F0; Tue, 24 Oct 2023 14:21:34 -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 1qvK9e-00051C-FW for emacs-devel@gnu.org; Tue, 24 Oct 2023 12:21:18 -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 1qvK9Z-00007x-6v for emacs-devel@gnu.org; Tue, 24 Oct 2023 12:21:18 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qvK9V-0006L5-O0 for emacs-devel@gnu.org; Tue, 24 Oct 2023 18:21:09 +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 14:21:33 -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:311813 Archived-At: Eli Zaretskii writes: >> From: Spencer Baugh >> Date: Tue, 24 Oct 2023 11:13:33 -0400 >> >> > 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: > > How do you configure Emacs not to install the Lisp files? And why? > >> >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) > > Emacs is supposed to be installed _with_ Lisp files. It is important > to let users modify the Lisp files when they need. So I'm not sure we > want to support an installation where Lisp files are not available. Yes, to be clear, I'm talking about a case where the Lisp files are in source-directory, not where they don't exist at all. If the Lisp files are in source-directory and stay around there, then perhaps they don't need to be copied to /usr/share. But if we want to always copy them to /usr/share, that's fine, it's not necessary to support skipping that. My suggestion, then, is that we should allow customizing Emacs to prefer jumping to source-directory over jumping to the installed copies of the Lisp files.