Dear Maintainer,
Hello, When I edit a python file and start emacs without .emacs file like this
I get this error message in the console.
Loading /etc/emacs/site-start.d/50pylint.el (source)...done
Loading /etc/emacs/site-start.d/50pymacs.el (source)...done
Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
File mode specification error: (file-missing Cannot open load file Aucun fichier ou dossier de ce type pylint)
mouse-minibuffer-check: Minibuffer window is not active
Mark set [3 times]
This is not such an issue during an interractive session, but... I use this in the hkl package, and it cause an FTBFS like this
make[1] : on entre dans le répertoire « /home/picca/src/repo.or.cz/hkl/Documentation »
env GI_TYPELIB_PATH=../hkl \
/bin/bash ../libtool --mode=execute -dlopen ../hkl/libhkl.la \
/usr/bin/emacs hkl.org --batch -q --load ./hkl-default.el -f org-html-export-to-html --debug-init --kill
Loading /etc/emacs/site-start.d/00debian.el (source)...
Loading /etc/emacs/site-start.d/20apel.el (source)...
Loading /etc/emacs/site-start.d/50asymptote.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50devhelp.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell (native compiled elisp)...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...
Package emacs-goodies-el removed but not purged. Skipping setup.
Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...
Loading /usr/share/emacs/site-lisp/elpa/haskell-mode-17.2snapshot/haskell-mode-autoloads.el (source)...
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Loading /usr/share/emacs/site-lisp/latex-cjk-common/cjk-enc.el (source)...
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...
Loading /etc/emacs/site-start.d/50latexmk.el (source)...
Loading /etc/emacs/site-start.d/50lilypond-data.el (source)...
Loading /etc/emacs/site-start.d/50mu4e.el (source)...
Loading /etc/emacs/site-start.d/50pylint.el (source)...
Loading /etc/emacs/site-start.d/50pymacs.el (source)...
Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...
executing Python code block...
Can’t guess python-indent-offset, using defaults: 4
Debugger entered--Lisp error: (file-missing "Cannot open load file" "Aucun fichier ou dossier de ce type" "pylint")
pylint-add-key-bindings()
run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
run-mode-hooks(python-mode-hook)
python-mode()
org-babel-python--shift-right("from gi.repository import Hkl\n\ndef bold(l):\n re...")
org-babel-python-evaluate-external-process("from gi.repository import Hkl\n\ndef bold(l):\n re..." value ("raw" "value" "replace") nil)
org-babel-python-evaluate(nil "from gi.repository import Hkl\n\ndef bold(l):\n re..." value ("raw" "value" "replace") nil nil)
org-babel-execute:python("from gi.repository import Hkl\n\ndef bold(l):\n re..." ((:colname-names) (:rowname-names) (:result-params "raw" "value" "replace") (:result-type . value) (:results . "raw value replace") (:exports . "results") (:cache . "no") (:hlines . "no") (:noweb . "no") (:session . "none") (:tangle . "no")))
org-babel-execute-src-block(nil ("python" "from gi.repository import Hkl\n\ndef bold(l):\n re..." ((:colname-names) (:rowname-names) (:result-params "replace" "value" "raw") (:result-type . value) (:results . "replace value raw") (:exports . "results") (:tangle . "no") (:session . "none") (:noweb . "no") (:hlines . "no") (:cache . "no")) "" nil 16691 "(ref:%s)"))
org-babel-exp-results(("python" "from gi.repository import Hkl\n\ndef bold(l):\n re..." ((:cache . "no") (:colname-names) (:exports . "results") (:hlines . "no") (:noweb . "no") (:result-params "replace" "value" "raw") (:result-type . value) (:results . "replace value raw") (:rowname-names) (:session . "none") (:tangle . "no")) "" nil 16691 "(ref:%s)") block nil "c5e8d8dd74aadb2dbc5bed5e85740a69d84c7b38")
org-babel-exp-do-export(("python" "from gi.repository import Hkl\n\ndef bold(l):\n re..." ((:cache . "no") (:colname-names) (:exports . "results") (:hlines . "no") (:noweb . "no") (:result-params "replace" "value" "raw") (:result-type . value) (:results . "replace value raw") (:rowname-names) (:session . "none") (:tangle . "no")) "" nil 16691 "(ref:%s)") block "c5e8d8dd74aadb2dbc5bed5e85740a69d84c7b38")
org-babel-exp-src-block()
org-babel-exp-process-buffer()
org-export-as(html nil nil nil (:output-file "hkl.html"))
org-export-to-file(html "hkl.html" nil nil nil nil nil)
org-html-export-to-html()
funcall-interactively(org-html-export-to-html)
command-execute(org-html-export-to-html)
command-line-1(("hkl.org" "--load" "./hkl-default.el" "-f" "org-html-export-to-html" "--kill"))
command-line()
normal-top-level()
make[1]: *** [Makefile:742 : hkl.html] Erreur 255
make[1] : on quitte le répertoire « /home/picca/src/repo.or.cz/hkl/Documentation »
make: *** [Makefile:468 : all-recursive] Erreur 1
I do not have this issue on bullseye
Cheers
Frederic
-- System Information:
Debian Release: 12.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-7-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages emacs depends on:
ii emacs-gtk 1:28.2+1-13
emacs recommends no packages.
emacs suggests no packages.
-- no debconf information