From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Install C source code for for debugging help Date: Fri, 27 Sep 2019 09:01:14 -0400 Message-ID: References: <7ba0e94a-6256-c425-aaf8-7ee8822216a7@cs.ucla.edu> <8336gil439.fsf@gnu.org> <1cb04f23-5fa1-c866-41a8-60156d15936d@cs.ucla.edu> <83v9tejjdv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="237943"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Paul Eggert , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 27 15:17:44 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDq80-000ziY-EW for ged-emacs-devel@m.gmane.org; Fri, 27 Sep 2019 15:17:44 +0200 Original-Received: from localhost ([::1]:50230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDq7x-0007ZB-I3 for ged-emacs-devel@m.gmane.org; Fri, 27 Sep 2019 09:17:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56219) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDpsH-0003U1-Ul for emacs-devel@gnu.org; Fri, 27 Sep 2019 09:01:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDpsB-0003bk-J3 for emacs-devel@gnu.org; Fri, 27 Sep 2019 09:01:27 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:58283) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iDps7-0003ZZ-Mi; Fri, 27 Sep 2019 09:01:20 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D908610031E; Fri, 27 Sep 2019 09:01:17 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 590831002E2; Fri, 27 Sep 2019 09:01:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1569589276; bh=IYv7/FgFgeRkC8U+VrO+VLNp/kkAvhudvmehLi3tzeA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DurB3Xeob9u8NjNbfZoQ4+/QtwsC5dvMKOMCH0yOqkQJDvFIlb18XLdM+d6i8DOQC DGPLDtjdWXtFqjE4rQAUEJ/K4YCJW3eulLbFNU2jVnXXNppi4ps4Tvkugy1YlYFrqh ss6toGDDqSKNVHseiGL46hPvu4Mb4632O90cZjjv5CYJZ+qWHcVGpHY2SFfNAGU1TX vrOBad/pHqHnJbJsBTvnn6tBhI7uoqIb7ZBcaRZsVAup1s3onDQ6iPA6tUWyL8vaFC 2USzpoZWbR+M2x7kwNl2IA+toABfEdj5vQwpGbjssVvyGasGp05cm3B6VpNeObw00c /9+qDc9iqon0A== Original-Received: from pastel (107-179-151-143.cpe.teksavvy.com [107.179.151.143]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id F36161204F6; Fri, 27 Sep 2019 09:01:15 -0400 (EDT) In-Reply-To: <83v9tejjdv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Sep 2019 10:19:56 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240328 Archived-At: >> It's all very well to say that the user can change the >> source-directory variable to some random location and then download >> a correct copy of the right version of the Emacs source to that >> location, but that can be a tricky thing to do correctly > > Can you explain in more detail why is this tricky? AFAIR, Emacs > prompts for the directory in this case, and all the user needs to do > is type its file name at the prompt. There is no valid answer to this prompt, because those source files simply aren't installed on the machine (at least for 99.99% of the users, I expect). I never considered doping what Paul suggests, because I expected the amount of space wasted this way is too large. But admittedly, once compressed with something like lzip the C source files take up less than 3MB, so it's really not that bad given the size of the `emacs` executable, plus the .pdmp file and all the .elcs. In the case of Debian, it would make sense to include those compressed-C files in the `emacs-el` package (the optional package that provides the (compressed) .el files, since a normal install of the `emacs` package only installs the .elc files) which currently weighs in at around 16MB. Arguably, this is something that Debian/RedHat should be doing on their side, but maybe Paul's patch is an easier way to convince "all" distros to do that, rather than lobbying them one by one. Stefan