unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Install C source code for for debugging help
@ 2019-09-26 20:37 Paul Eggert
  2019-09-27  5:07 ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: Paul Eggert @ 2019-09-26 20:37 UTC (permalink / raw)
  To: Emacs development discussions

In Bug#37527 I proposed a patch to let builders install a compressed 
copy of the C source code for Emacs, so that when users type things like 
'C-h f car RET' they get a button that takes them to the source code for 
'car' instead of giving them a mysterious prompt like "Emacs C source 
dir: ~/" (which is what I get on Debian).

This patch lets builders choose whether to install the compressed 
source. The default is to install it, as the filesystem overhead of 
installing the source code (about 2% of the typical install size) is 
typically not worth worrying about; plus, there is value in encouraging 
builders to better follow the free-software principle of making it easy 
for users to study how Emacs works. Builders can also choose to not 
install the source, or to have Emacs refer to place where the source was 
located when Emacs was built (this last approach does not work in 
typical GNU/Linux distributions, as the build location is not available 
when Emacs is run).

If you run an uninstalled Emacs, it continues to refer to its C source 
directory as before.

I'm mentioning this proposed patch on emacs-devel to see whether anyone 
sees a problem with the idea before I install the patch.



^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Install C source code for for debugging help
@ 2019-09-28 18:19 Angelo Graziosi
  2019-09-29  6:56 ` Paul Eggert
  0 siblings, 1 reply; 29+ messages in thread
From: Angelo Graziosi @ 2019-09-28 18:19 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii wrote:

> To see whether this is a useful feature, we'd need a real user poll

I build Emacs from the emacs-master.tar.gz file produced by the Git repo and after the build I delete both the build tree and the tarball (*), so I do not see any usefulness to have the source. If I need it I can read it directly online from the Git repo, and if I need it to change something and test  I can download it. BTW, I often build without debug info so why should I have the need of source? Why you insist in creating "user-developer"?  Do you really think all user of a software product aim to read it source to understand how it work?

Please, let me know how to disable this if installed on master...

  Angelo

----
(*) Really I start to build on GNU/Linux Mint where the tar.gz is downloaded. Then I build for this OS and do also a nox build to be installed on WSL. Then the tar.gz is transferred on the Windows partition where a Windows build is done for W10 Pro 64. the result is installed also on a W10 Home 64.



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2019-09-29  6:56 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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