[doc] Add more detailed troubleshooting information
This commit is contained in:
parent
62ea30b479
commit
e40c112d55
|
@ -208,6 +208,10 @@
|
|||
- [[#troubleshoot][Troubleshoot]]
|
||||
- [[#loading-fails][Loading fails]]
|
||||
- [[#upgradingdowngrading-emacs-version][Upgrading/Downgrading Emacs version]]
|
||||
- [[#general-layer-errors][General layer errors]]
|
||||
- [[#step-by-step-instructions-for-minimal-layer-bug-reports][Step by step instructions for minimal layer bug reports]]
|
||||
- [[#general-emacs-package-errors][General emacs package errors]]
|
||||
- [[#step-by-step-instructions-for-minimal-emacs-bug-reports][Step by step instructions for minimal emacs package bug reports]]
|
||||
- [[#achievements][Achievements]]
|
||||
- [[#issues][Issues]]
|
||||
- [[#merged-pull-requests][Merged Pull Requests]]
|
||||
|
@ -3582,6 +3586,70 @@ To ensure that packages are correctly compiled for the new Emacs version you
|
|||
installed, be sure to run the interactive command =spacemacs/recompile-elpa=
|
||||
with ~SPC u SPC SPC spacemacs/recompile-elpa~.
|
||||
|
||||
** General layer errors
|
||||
It happens from time to time that some of the layers go stale and stop
|
||||
working properly for some commands. If this happens stay calm and try
|
||||
to produce a minimal bug report on the [[https://github.com/syl20bnr/spacemacs/issues][Github issue page]].
|
||||
|
||||
*** Step by step instructions for minimal layer bug reports
|
||||
- Load the standard dotfile. You can get it with ~SPC f e D~.
|
||||
- Add the malfunctioning layer.
|
||||
- Use ~SPC t D~ to enable debug on error, this will
|
||||
produce a backtrace when encountering a lisp error.
|
||||
- Reproduce the error. Note down the steps and backtrace.
|
||||
- Press ~SPC h I~ and fill in the place holders
|
||||
enclosed in ~<<~ and ~>>~ signs. Don't forget the
|
||||
reproduction guide and backtrace.
|
||||
- Press ~C-c C-c~ or ~, ,~ to transfer your buffers
|
||||
content to the github issue creation page.
|
||||
- Enter a meaningfull title for your issue, stating
|
||||
in short words what the issue is.
|
||||
- When everything has been filled in submit the bug
|
||||
report.
|
||||
- When someone answers to your issue or ask questions
|
||||
it goes without saying that you should answer him
|
||||
politely and assist in testing a possible fix.
|
||||
|
||||
** General emacs package errors
|
||||
It can also happen that your issue is not related to any layer but
|
||||
rather to a specific package in the emacs universe. In this case
|
||||
you should provide a minimalistic emacs only reproduction guide for the
|
||||
respective package and open an issue upstream. If there is already
|
||||
a spacemacs issue for your problem your upstream bug report should
|
||||
mention its ticket number so it is clear when this issue can be
|
||||
retested.
|
||||
|
||||
*** Step by step instructions for minimal emacs package bug reports
|
||||
- Start emacs with ~emacs -q~, this will load a vanilla
|
||||
emacs without any non-system packages loaded.
|
||||
- There open a scratch buffer with ~C-x b *scratch* RET~
|
||||
- Add initialization code for your package there
|
||||
|
||||
#+BEGIN_SRC elisp
|
||||
;; Load the package
|
||||
(require 'package)
|
||||
|
||||
;; Mention all packages you wish to have loaded
|
||||
(setq package-load-list
|
||||
'((package1 t)
|
||||
(package2 t)
|
||||
(package3 t)))
|
||||
|
||||
;; Do package specific configuration if required
|
||||
;; (package-local-init)
|
||||
|
||||
;; Intialize your package list
|
||||
(package-initialize)
|
||||
#+END_SRC
|
||||
|
||||
- Now press ~M-x eval-buffer~ to evaluate the code.
|
||||
- Reproduce your issue. Note down step by step instructions.
|
||||
- With this information open an upstream issue following
|
||||
their issue templates. If they have non its a good idea
|
||||
to start with the infos required in the spacemacs issue
|
||||
template and add missing information when required from
|
||||
the package maintainers.
|
||||
|
||||
* Achievements
|
||||
** Issues
|
||||
|
||||
|
|
Loading…
Reference in New Issue