From: Björn Bidar Date: Sun, 4 Aug 2024 13:09:36 +0000 (+0300) Subject: ; * etc/PROBLEMS: How to install sources on SUSE Linux (bug#72465). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf5914dbd970b47f307a837490d382f9c84f5c4b;p=emacs.git ; * etc/PROBLEMS: How to install sources on SUSE Linux (bug#72465). (cherry picked from commit b89d65df5fad102aa6abf0285d31b0abd148c907) --- diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 5f9d09b695d..7d7c9ab5f27 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -456,6 +456,26 @@ 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 + "/usr/src/debug/emacs-27.1-1/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,