Compare commits
2 Commits
797c1f9076
...
eeedd42d48
Author | SHA1 | Date | |
---|---|---|---|
eeedd42d48 | |||
4e6598dc8e |
25
README.org
25
README.org
@ -3746,6 +3746,10 @@ listings set up [[https://github.com/joaotavora/eglot][Eglot]]:
|
||||
(keymap-set eglot-mode-map "C-c n" 'flymake-goto-next-error)
|
||||
(keymap-set eglot-mode-map "C-c p" 'flymake-goto-prev-error)
|
||||
(keymap-set eglot-mode-map "C-c r" 'eglot-rename))
|
||||
|
||||
;; Does not make me happy:
|
||||
;; (require 'eglot)
|
||||
;; (add-hook 'python-mode-hook #'eglot-ensure)
|
||||
#+end_src
|
||||
|
||||
#+caption: Setup ~oglot~ for ~python-mode~.
|
||||
@ -4426,25 +4430,19 @@ wiki entry as the [[info:elisp#Edebug][Edebug (info)]] manual explains.
|
||||
:CUSTOM_ID: sec:bug-reports
|
||||
:END:
|
||||
|
||||
Listing [[lst:bug-reports]] ensures the installation of the [[info:debbugs#Top][Debbugs (info)]] extension
|
||||
package to access the [[https://debbugs.gnu.org/][GNU Bug Tracker]], sets up [[info:emacs#Bug Reference][Bug Reference Mode (info)]] to
|
||||
access the [[https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs][bug-gnu-emacs]] mailing list, and enables [[info:emacs#Goto Address mode][Goto Address mode (info)]] to
|
||||
open web links in source blocks.
|
||||
Listing [[lst:bug-reports]] sets up [[info:emacs#Bug Reference][Bug Reference Mode (info)]] to access the
|
||||
[[https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs][bug-gnu-emacs]] mailing list.
|
||||
|
||||
#+caption[Setup reading existing bug reports]:
|
||||
#+caption: Setup reading existing bug reports.
|
||||
#+name: lst:bug-reports
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(ensure-package-installation 'debbugs)
|
||||
|
||||
(defvar bug-reference-url-format
|
||||
"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s"
|
||||
"Format to use `gnu-debbugs' URL.")
|
||||
|
||||
(add-to-list 'safe-local-eval-forms '(bug-reference-mode +1))
|
||||
(put 'bug-reference-mode 'safe-local-variable 'booleanp)
|
||||
|
||||
(add-hook 'org-mode-hook #'goto-address-mode)
|
||||
#+end_src
|
||||
|
||||
*** [[http://yummymelon.com/devnull/writing-better-elisp-docstrings.html][Writing Better Elisp Docstrings]]
|
||||
@ -4894,11 +4892,12 @@ representation of src_emacs-lisp[:results none]{(describe-variable
|
||||
#+caption: projects tangling Python files to launch =eglot= automatically.
|
||||
#+name: lst:eglot-directory-variables-for-python
|
||||
#+begin_src emacs-lisp -n :eval never :tangle dir-locals.el
|
||||
;; A .dir-locals.el file proposal in the root of any
|
||||
;; Python project or Org-mode project tangling Python files
|
||||
;; to launch eglot automatically.
|
||||
;; Ensure to enable the pylsp_ruff plugin.
|
||||
;; Ensure to uninstall the flake8, mccabe, and pycodestyle Python packages.
|
||||
;; A .dir-locals.el file proposal in the root of any Python project
|
||||
;; (fails) or Org-mode project tangling Python files (works) to launch
|
||||
;; eglot automatically.
|
||||
|
||||
;; Ensure to enable the pylsp_ruff plugin and to uninstall the flake8,
|
||||
;; mccabe, and pycodestyle Python packages.
|
||||
((nil ;; nil, since Emacs filters out irrelevant mode names.
|
||||
. ((eglot-workspace-configuration
|
||||
. (:pylsp (:plugins
|
||||
|
Loading…
Reference in New Issue
Block a user