diff --git a/README.org b/README.org index 3a73759..79b8cf3 100644 --- a/README.org +++ b/README.org @@ -6038,17 +6038,11 @@ LSP server]] log output for debugging. (with-eval-after-load 'eglot (setq-default eglot-workspace-configuration - ;; Enable the `:pylsp_ruff' plugin and ensure to disable the + ;; Enable the `:pylsp_ruff' plugin and ensure to uninstall the ;; `:flake8', `:mccabe', and `:pycodestye' plugins. '(:pylsp (:plugins (:pylsp_ruff (:enabled t) - :flake8 ;; It is better to uninstall flake8 - (:enabled :json-false) - :mccabe ;; It is better to uninstall mccabe - (:enabled :json-false) - :pycodestyle ;; It is better to uninstall pycodestyle - (:enabled :json-false) :jedi (:auto_import_modules ["numpy"]) :jedi_completion @@ -6063,19 +6057,13 @@ LSP server]] log output for debugging. ;; 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. ((nil ;; nil, since Emacs-29.1 filters out irrelevant variable names. . ((eglot-workspace-configuration - ;; Enable the `:pylsp_ruff' plugin and ensure to disable the - ;; `:flake8', `:mccabe', and `:pycodestye' plugins. . (:pylsp (:plugins (:pylsp_ruff (:enabled t) - :flake8 ;; It is better to uninstall flake8 - (:enabled :json-false) - :mccabe ;; It is better to uninstall mccabe - (:enabled :json-false) - :pycodestyle ;; It is better to uninstall pycodestyle - (:enabled :json-false) :jedi (:auto_import_modules ["numpy"]) :jedi_completion @@ -6156,6 +6144,8 @@ Links of interest are: - [[https://stackoverflow.com/questions/51349074/in-python-3-7-does-the-opcode-event-from-sys-settrace-give-any-information-ab][How to use the opcode event (Python-3.7, GAV: why does it fail)?]] - [[https://pypi.org/project/pdbpp/][PDB++]] looks incompatible with Python>3.10: see [[https://github.com/pdbpp/pdbpp/issues/516][Python-3.11 breaks PDBPP]]. - [[https://python-scientific-lecture-notes.developpez.com/tutoriel/notes-cours/python-debugging-code/#L3-1][Debugging Python with IPDB under IPython or with PDB in a terminal]]. +- [[https://docs.python.org/3/howto/gdb_helpers.html][Debugging C API extensions and CPython Internals with GDB]]. Making this work + with =pyenv= is an unresolved issue: see [[https://github.com/pyenv/pyenv/issues/1190][Install python-gdb.py]]. #+caption[PDB example: =python -m pdb .emacs.d/buggy.py=]: #+caption: PDB example: =python -m pdb .emacs.d/buggy.py=. @@ -6231,6 +6221,7 @@ setup and requires no configuration. :PROPERTIES: :CUSTOM_ID: sec:s-library :END: + The library [[https://github.com/magnars/s.el][s.el]] positions itself as the long lost Emacs string manipulation library. It is a requirement of the [[https://github.com/andras-simonyi/citeproc-el#readme][citeproc]] and [[https://github.com/bdarcus/citar#readme][citar]] packages in this Emacs setup and requires no configuration.