; * etc/PROBLEMS: How to install sources on SUSE Linux (bug#72465).
This commit is contained in:
parent
729b17c202
commit
b89d65df5f
1 changed files with 20 additions and 0 deletions
20
etc/PROBLEMS
20
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
|
will need to both upgrade source and debug info when your system
|
||||||
upgrades or patches Emacs, and change your startup file accordingly.
|
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
|
** Source and debuginfo for other systems
|
||||||
|
|
||||||
If your system follows neither the Debian nor the Red Hat patterns,
|
If your system follows neither the Debian nor the Red Hat patterns,
|
||||||
|
|
Loading…
Add table
Reference in a new issue