all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org
Subject: Re: Install C source code for for debugging help
Date: Fri, 27 Sep 2019 16:33:48 +0300	[thread overview]
Message-ID: <83a7apkgn7.fsf@gnu.org> (raw)
In-Reply-To: <jwvv9td6gzt.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 27 Sep 2019 09:01:14 -0400)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Paul Eggert <eggert@cs.ucla.edu>,  emacs-devel@gnu.org
> Date: Fri, 27 Sep 2019 09:01:14 -0400
> 
> >> 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).

If they have no sources, and don't want to install them, they don't
need to worry about displaying the source of the primitives by
clicking on the Help button.  If they do have the sources installed
somewhere, there _is_ a valid answer to the prompt.

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

What other GNU project installs sources, let alone by default?  Why
should Emacs be different?

> 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

Exactly.

> but maybe Paul's patch is an easier way to convince "all" distros to
> do that, rather than lobbying them one by one.

I don't see why would we want to convince them.  In the age when
GNU/Linux machines come without a compiler, why would we assume people
want to have the sources handy?

3MB might not be much, but I, for example, keep all the official
releases on my system (and the /usr/share/emacs tree is specifically
arranged to allow that), so these megabytes add up...



  parent reply	other threads:[~2019-09-27 13:33 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
2019-09-27 13:12         ` Stefan Monnier
2019-09-27 13:33         ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83a7apkgn7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.