1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

; * etc/PROBLEMS: How to install sources on SUSE Linux (bug#72465).

This commit is contained in:
Björn Bidar 2024-08-04 16:09:36 +03:00 committed by Eli Zaretskii
parent 729b17c202
commit b89d65df5f

View File

@ -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,