From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72464: [PATCH 1/2] Document how set path to C source code for SUSE based systems Date: Sun, 4 Aug 2024 16:09:36 +0300 Message-ID: <966.977972869643$1722788821@news.gmane.org> References: <87ikwgb7p3.fsf@> Reply-To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23891"; mail-complaints-to="usenet@ciao.gmane.io" To: 72464@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 04 18:26:54 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sae4L-00062k-Uz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Aug 2024 18:26:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sae4B-0003Ue-0A; Sun, 04 Aug 2024 12:26:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sae49-0003UF-C0 for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 12:26:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sae49-00052B-2O for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 12:26:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=sBcmRvXvINxyTvRaZ2GVQ9djyEeApUiCh6Z0vN/kcWM=; b=ctkHOFwBtUC5Clzpugd7x+15WW/AN0N1GRXEazvT8vtRYLqEiL1YAyaopKso27KXDoqgxY0jrhE/TLV68ZZ9/SQIFqvcr4uMjGd5jUtQW1iudTyNqCFHvYkYpJUueWz2miKtdc8YGz8ZLCzgsVfAXwjYtuqf+u16XsDCWzYEfD/QafLYTfuzNunkm5Cgt6Tmlbu4iBVqfMY6Kl0zylALhjDX754Tk4YPRixwaoWAiKwbkGhsEaNc7VC5wiJHdN2zhUEEGXrOlZD9G4aKOforM8HXe3hizH6/WX9zMqFrAoJTb/pTVjNKoPq5/DnVaAYXW4rxbKYUTZTs7Zu/FFiOZQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sae4U-00073g-7J for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 12:27:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87ikwgb7p3.fsf@> Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Aug 2024 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72464 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72464-submit@debbugs.gnu.org id=B72464.172278877026965 (code B ref 72464); Sun, 04 Aug 2024 16:27:02 +0000 Original-Received: (at 72464) by debbugs.gnu.org; 4 Aug 2024 16:26:10 +0000 Original-Received: from localhost ([127.0.0.1]:57028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sae3d-00070o-Ld for submit@debbugs.gnu.org; Sun, 04 Aug 2024 12:26:10 -0400 Original-Received: from thaodan.de ([185.216.177.71]:59086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sae3Y-0006zj-Fe for 72464@debbugs.gnu.org; Sun, 04 Aug 2024 12:26:08 -0400 Original-Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154]) by thaodan.de (Postfix) with ESMTPSA id A95E1D00023 for <72464@debbugs.gnu.org>; Sun, 4 Aug 2024 19:25:37 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1722788737; bh=gG0lP/8SeOJecI4FzeOT24hsQDvzyYVMQMPOk/IJI1I=; h=From:To:Subject:Date; b=0AraLKd9NCqO1BJaW/cmhG2CfCOuK5Ab8gk4wIeAF4ss5c4aano2r1u4RrQbmOxv7 hp0WWLR79QI0X4xO+nzNTBP00jbEBhiLoq7mHMkZPRaDZZqdNyGx3915pKmN42Pg64 MCS596KlyOJy5Ra05XZnVSJHBy5jB8Hhm/Zy8fgKh+NCJDcsWM1Ti92Ptm2zQmI5vl PJ7fbj10RojPpA7eXyzop3A6JoEIdxI3FfdBuXa/UZIyXt6DwvP8wKOG03XnwsbXwt q80EkXNmIPAyMFrUSN5UNsm7p4OLzM5KPezHrIBH6Mx7FbK2fQqBt5R+Zvl+0LOjwm 8ybdXNa3z+Nm4nlc0bjZ8rfbtUd76AvF/XOIPbM06rtVAjZF7+l9P5m8Uh8amgcX6G 58l3mgND3NnqzUOxiH8pbxX+/Pa1gTGggI6gDCnUU0Hiug/YOcSt+3+kRFAo5gmI8B qTI7TH6og3LW7H470gDzxG5KH/CkkqFCotICTuRwNzy/oBLVaod8vHMJbYaOQdnnM8 uAXoz42o4GbpEpjGCRLB9cPISCKLItZ/RtEtlRrTFc82534Vfl548cq2GvMaNcGiCW XW0E2yjqVegPrClfc8ohZBZrXGraR/bfnpGzqUNk99nWThhJpJcyR1Kt9R/4UDlWUb of9YT/8wXcyjSPcOZMzngCJI= Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289767 Archived-At: * etc/PROBLEMS(Problems when reading or debugging Emacs C code): Document how to install Emacs C source and how to set path it for SUSE based distributions such as openSUSE and SUSE Linux Enterprise. --- etc/PROBLEMS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index c1ad8321fa6..ef205da2c17 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -456,6 +456,25 @@ However, the exact directory name will depend on the system, and you will need to both upgrade source and debug info when your system upgrades or patches Emacs, and change your startup file accordingly. +** SUSE based distributions (openSUSE, SUSE Linux Enterprise) + +On systems with distributions, you can install source and debug info +via superuser commands like the following: + + # Install Emacs source and debuginfo by using --plus-content + zypper --plus-content debug,source install emacs-debuginfo emacs-debugsource + +To get describe-function and similar commands to work, you can then +add something like the following to your startup file: + + (setq find-function-C-source-directory + (car (file-expand-wildcards "/usr/src/debug/emacs-*/src"))) + +The line above should work for all systems using zypper besides SUSE +based ones, however it could be that you have to adjust the path to +the sources slightly depending on the version of the distribution you +have installed. + ** Source and debuginfo for other systems If your system follows neither the Debian nor the Red Hat patterns, -- 2.45.2