GNU bug report logs - #72465
[PATCH 1/2] Document how set path to C source code for SUSE based systems

Previous Next

Package: emacs;

Reported by: Björn Bidar <bjorn.bidar <at> thaodan.de>

Date: Sun, 4 Aug 2024 16:00:04 UTC

Severity: normal

Merged with 72464, 72466

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Björn Bidar <bjorn.bidar <at> thaodan.de>
Subject: bug#72465: closed (Re: bug#72465: Acknowledgement ([PATCH 1/2]
 Document how set path to C source code for SUSE based systems))
Date: Mon, 05 Aug 2024 09:50:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72465: [PATCH 1/2] Document how set path to C source code for SUSE based systems

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72465 <at> debbugs.gnu.org.

-- 
72465: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72465
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrea Corallo <acorallo <at> gnu.org>
To: Björn Bidar via "Bug reports for GNU Emacs, the Swiss
 army knife of text editors" <bug-gnu-emacs <at> gnu.org>
Cc: Björn Bidar <bjorn.bidar <at> thaodan.de>,
 72465-done <at> debbugs.gnu.org
Subject: Re: bug#72465: Acknowledgement ([PATCH 1/2] Document how set path
 to C source code for SUSE based systems)
Date: Mon, 05 Aug 2024 05:46:47 -0400
Björn Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

> Sorry I meant to send the patches in a reply to the the cover message.
> Please close the bug I created by accident.

Closing

[Message part 3 (message/rfc822, inline)]
From: Björn Bidar <bjorn.bidar <at> thaodan.de>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH 1/2] Document how set path to C source code for SUSE based
 systems
Date: Sun, 4 Aug 2024 16:09:36 +0300
* 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





This bug report was last modified 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.