do not edit — generated by btf.
git.druid.rocksindexdruid520radiumradium-lang-python.el

radium-lang-python.el


;;; radium-lang-python.el, python.el tuned to match tab-indented style -*- lexical-binding: t; -*-
;;
;; a real prerequisite for item 22 (capstone/keystone/unicorn), not a
;; standalone ask of its own: none of the three ship a real standalone
;; cli tool (checked directly: capstone/unicorn install as libraries
;; plus python bindings on this very box, no cstool/-like binary
;; anywhere on $PATH after installing them) - they're consumed by
;; writing real python that imports them, so python support has to
;; exist first for that integration to mean anything at all. this
;; config had none before this file.
 
(require 'python)
 
(add-hook 'python-mode-hook
          (lambda ()
            (setq indent-tabs-mode t
                  python-indent-offset 8
                  tab-width 8)))
 
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
;; emacs already covers a shebang'd, no-extension python script -
;; checked directly, not assumed, the same way this was checked for
;; kona/chez in radium-lang-kona.el/radium-lang-scheme.el earlier: an
;; exact ("python" . python-mode)/("python3" . ...) assoc lookup in
;; interpreter-mode-alist actually comes back nil, the real entry is
;; a regexp ("python[0-9.]*" . python-mode) instead, matching
;; "python3"/"python3.14"/etc all at once - still real coverage,
;; just not the literal-string shape most other entries here use.
 
(provide 'radium-lang-python)
powered by btf.