unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Paul Eggert <eggert@cs.ucla.edu>, emacs-devel@gnu.org
Subject: Re: Install C source code for for debugging help
Date: Fri, 27 Sep 2019 09:01:14 -0400	[thread overview]
Message-ID: <jwvv9td6gzt.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83v9tejjdv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Sep 2019 10:19:56 +0300")

>> 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




  reply	other threads:[~2019-09-27 13:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-26 20:37 Install C source code for for debugging help Paul Eggert
2019-09-27  5:07 ` Eli Zaretskii
2019-09-27  6:13   ` Paul Eggert
2019-09-27  7:19     ` Eli Zaretskii
2019-09-27 13:01       ` Stefan Monnier [this message]
2019-09-27 13:12         ` Stefan Monnier
2019-09-27 13:33         ` Eli Zaretskii
2019-09-27 13:48           ` Stefan Monnier
2019-09-27 13:56             ` Eli Zaretskii
2019-09-27 14:24               ` Paul Eggert
2019-09-27 14:40                 ` Eli Zaretskii
2019-09-28  4:03                   ` Paul Eggert
2019-09-27 17:04                 ` Noam Postavsky
2019-09-27 22:45                   ` Fu Yuan
2019-09-28  0:09                     ` Juanma Barranquero
2019-09-28  2:14                     ` Michael Rohleder
2019-09-27 15:25               ` Stefan Monnier
2019-09-28  1:32                 ` Richard Stallman
2019-09-28  2:06                   ` Jean-Christophe Helary
2019-09-27 15:03             ` Lars Ingebrigtsen
2019-09-27 15:47             ` David Ringo
2019-09-27  8:37     ` Andreas Schwab
2019-09-27  9:06       ` Eli Zaretskii
2019-09-27 11:58         ` Andreas Schwab
2019-09-27 12:58           ` Eli Zaretskii
2019-09-27 13:45             ` Andreas Schwab
2019-09-27 13:50               ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2019-09-28 18:19 Angelo Graziosi
2019-09-29  6:56 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvv9td6gzt.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).