From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#37527: [PATCH] Install C source code for for debugging help Date: Fri, 27 Sep 2019 21:59:17 +0200 Message-ID: <878sq9a4tm.fsf@gmx.de> References: <20190926200752.12563-1-eggert@cs.ucla.edu> <831rw2l3zu.fsf@gnu.org> <89682bf5-de07-b114-90d1-cff9e4d62e5f@cs.ucla.edu> <83tv8yjjaz.fsf@gnu.org> <877e5uglp8.fsf@gmx.de> <83lfuaj7ix.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110932"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: eggert@cs.ucla.edu, 37527@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 22:08:01 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1iDwX2-000Sgz-EP for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 22:08:00 +0200 Original-Received: from localhost ([::1]:57208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDwX0-0005VS-Ue for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 16:07:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49164) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDwPQ-0008Ls-5F for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDwPO-0007aS-20 for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:00:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDwPM-0007Ze-RF for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDwPM-0001C8-Mx for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 16:00:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Sep 2019 20:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37527 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 37527-submit@debbugs.gnu.org id=B37527.15696143864513 (code B ref 37527); Fri, 27 Sep 2019 20:00:04 +0000 Original-Received: (at 37527) by debbugs.gnu.org; 27 Sep 2019 19:59:46 +0000 Original-Received: from localhost ([127.0.0.1]:48716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDwP2-0001Ag-RW for submit@debbugs.gnu.org; Fri, 27 Sep 2019 15:59:46 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:48637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDwOx-0001AD-9v for 37527@debbugs.gnu.org; Fri, 27 Sep 2019 15:59:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1569614362; bh=oVWTbp7yR486Iu4pVI2uZZr2uPmHuBiPQNc7zBtCpJA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=G9bl1XHD/ItUBZBnr2h3P4AssyrTWZRFiB8zLdx1CRhj35r/VDovpBL9bP02/x0CL GkXn4cDmQUQ8pUxG/FXAQrKJIm/c+Am4yqL9+3ptinlCmhbJyMey/JZ4/LSBZAAuCj TgLvPRip78XTL8m2bTkvXibB/wUAFtBpdN883LqY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.50.177]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPogF-1iZc0f0eFH-00MvGC; Fri, 27 Sep 2019 21:59:22 +0200 In-Reply-To: <83lfuaj7ix.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Sep 2019 14:36:06 +0300") X-Provags-ID: V03:K1:ZFMP//rslHJoiVzOQv6f58+UxkxmuAHLM2e00ETKcsTR/obNQoT YUjK7e/iv3h/1Wg6iFRxrtvwYg9UnOxe0wTegXe67bxtKMlEb9zOD7GGPW3+MSvsJQGDlJy wHvcJFYZniKhBBLiMae9g0tMD10HIqefiEkpUe/hiD9YPyw9yy7wRvzkb5rynjqj+NOlXzx uQ28uPuBLT08yKsOSAlYA== X-UI-Out-Filterresults: notjunk:1;V03:K0:qGbxL37TMwA=:XBDYI/+L9PIM/q3iMWzzyw ftDI48tm/ePQbfNo8u50uh2lVd5WK9VFAIbb8BshTd0VmEcujjE1q8D7+IvPOvA2XOlQM1d5f gesnCzpcX7Ofc38pDkHRq9Kz1ui4vhI/xZGO+d3M35RFBuYSH2zFw/Nk8IcI5any2ZnHFo8eA uGb50vhZF9W6XL5QccV2s8yfmiie2FDtd0c9mKFLUO7CtwU2K2Y2umrEW7WUJmX1CEJ9N+fYp wvyvK46wG8YljIseNRDWIDhqgGkI8oShDdHHVPBYR0wiKpmb6tEJbhHOoZQsovLqL8XYg+3v1 4t7LWrLeGN1VF2cSHgEkW7aiNtJPSCst9tssJ5nBMqsLOOYq+NhXG5iO1b2mJ0Mf1BOlAlwND uioTpV2VMxWU2afgZ7rMSpfBVtVpPs9N7OIqWtrXQjAA9A/vanrKpjoE0V6eNaE2q1h3iyF2p o1SADbbWQxoaWJUy12KqH+3x2tGiwEcYGQNt/LMp/xH0dIKVVGWsqiTJrGX1sU7pkVYEgLTsk Y4AkF6bLS89DJDr30c4G11k7sWi3fieA26RYXpOSpiEjyVJvmUTYxEHTre6DIaidV9h+vKrZY QmibyrXDaJBu7T8IkGlgUaudMHvj03dDPKLKVeGcnMPub++RH/eNTNop0wMXHKah8xvlmb0U0 pUosBF91zALvQxtnPk3Z11k5o9RolL0fGSFri/Ocr0FMo7WX8knH6QepH5XxoN3/jBHwpasRJ DOx99vIsaHTNoQDUw9J8gBkueqY1krGKaTiM8t4LdEbmA4IaYgQQUyjystH4MqnWREPtCUHc X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167442 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> > I thought major distros offered a source archive as well, as an >> > optional download, don't they? >> >> They do. But we must document at least, how to make the source tree >> visible for debug. > > I don't mind adding documentation, if it's missing, but what does it > mean "visible for debug"? What kind of debugging did you have in > mind? "Visible for debug" is misleading, because the source packages don't seem to provide symbol tables etc pp. I've just realized. But something like the following, which is very rough written, could be added: --=-=-= Content-Type: text/plain Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/INSTALL b/INSTALL index 86f9e0080c..595f711ffc 100644 =2D-- a/INSTALL +++ b/INSTALL @@ -214,6 +214,24 @@ like 'apt-get build-dep emacs' (on older systems, rep= lace 'emacs' with eg 'emacs25'). On Red Hat-based systems, the corresponding command is 'dnf builddep emacs' (on older systems, use 'yum-builddep' instead). +* GNU/Linux source packages + +Many GNU/Linux systems provide separate packages containing the +sources of Emacs. They are useful if you want to check the source +code of Emacs primitive functions, and alike. + +The names of the packages that you need varies according to the +GNU/Linux distribution that you use. On Debian-based systems, you can +install all the packages needed to build the installed version of +Emacs with a command like 'apt-get source' (on older systems, replace +'emacs' with eg 'emacs25'). On Red Hat-based systems, the +corresponding command is . + +Once you have installed the source package, for example at +/path/to/emacs-26.1+1, add the following line to your startup file: + + (setq source-directory "/path/to/emacs-26.1+1") + DETAILED BUILDING AND INSTALLATION: --=-=-= Content-Type: text/plain Best regards, Michael. --=-=-=--