diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-29 20:35:57 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-29 20:35:57 -0500 |
| commit | e0e5fd3fce2d5004b3aa4b70da1ff73b30e80523 (patch) | |
| tree | d171c41740af7bab500b4511dc94eee8aefc2fae | |
| parent | 9b92e9b66a821abf0124d7766b05f9a8bdf685b6 (diff) | |
| download | dotemacs-e0e5fd3fce2d5004b3aa4b70da1ff73b30e80523.tar.gz dotemacs-e0e5fd3fce2d5004b3aa4b70da1ff73b30e80523.zip | |
update packages; disabling uninstallable packages and code
| -rw-r--r-- | .localrepo/archive-contents | 3 | ||||
| -rw-r--r-- | .localrepo/compat-29.1.4.5.tar | bin | 348160 -> 0 bytes | |||
| -rw-r--r-- | .localrepo/font-lock-studio-20220629.1909.tar | bin | 133120 -> 0 bytes | |||
| -rw-r--r-- | .localrepo/transient-0.6.0.tar | bin | 563200 -> 0 bytes | |||
| -rw-r--r-- | .localrepo/vterm-20240325.1551.tar | bin | 532480 -> 532480 bytes | |||
| -rw-r--r-- | modules/config-utilities.el | 5 | ||||
| -rw-r--r-- | modules/flycheck-config.el | 19 | ||||
| -rw-r--r-- | modules/flyspell-config.el | 64 |
8 files changed, 42 insertions, 49 deletions
diff --git a/.localrepo/archive-contents b/.localrepo/archive-contents index dc5edf93..9dfce7e3 100644 --- a/.localrepo/archive-contents +++ b/.localrepo/archive-contents @@ -19,7 +19,6 @@ (chess . [(2 0 5) ((cl-lib (0 5))) "Play chess in GNU Emacs" tar]) (company . [(0 10 2) ((emacs (25 1))) "Modular text completion framework" tar]) (company-ledger . [(20210910 250) ((emacs (24 3)) (company (0 8 0))) "Fuzzy auto-completion for Ledger & friends" tar]) - (compat . [(29 1 4 5) ((emacs (24 4)) (seq (2 23))) "Emacs Lisp Compatibility Library" tar]) (counsel . [(0 14 2) ((emacs (24 5)) (ivy (0 14 2)) (swiper (0 14 2))) "Various completion functions using Ivy" tar]) (css-eldoc . [(20220415 1629) nil "an eldoc-mode plugin for CSS source code" tar]) (dash . [(2 19 1) ((emacs (24))) "A modern list library for Emacs" tar]) @@ -58,7 +57,6 @@ (flycheck-projectile . [(20201031 1952) ((emacs (25 1)) (flycheck (31)) (projectile (2 2))) "Project-wide errors" tar]) (flyspell-correct . [(20220520 630) ((emacs (24))) "Correcting words with flyspell via custom interface" tar]) (flyspell-correct-ivy . [(20220520 630) ((flyspell-correct (0 6 1)) (ivy (0 8 0)) (emacs (24 4))) "Correcting words with flyspell via ivy interface" tar]) - (font-lock-studio . [(20220629 1909) ((emacs (24 3))) "interactive debugger for Font Lock keywords." tar]) (fontaine . [(2 0 0) ((emacs (29 1))) "Set font configurations using presets" tar]) (free-keys . [(1 0) ((cl-lib (0 3))) "Show free keybindings for modkeys or prefixes" tar]) (geiser . [(0 30) ((emacs (27 1)) (project (0 8 1))) "GNU Emacs and Scheme talk to each other" tar]) @@ -145,7 +143,6 @@ (tldr . [(20230301 136) ((emacs (24 3))) "tldr client for Emacs" tar]) (tomelr . [(0 4 3) ((emacs (26 3)) (map (3 2 1)) (seq (2 23))) "Convert S-expressions to TOML" tar]) (toml-mode . [(20161107 1800) ((emacs (24)) (cl-lib (0 5))) "Major mode for editing TOML files" tar]) - (transient . [(0 6 0) ((emacs (26 1)) (compat (29 1 4 4)) (seq (2 24))) "Transient commands" tar]) (tree-sitter . [(20220212 1632) ((emacs (25 1)) (tsc (0 18 0))) "Incremental parsing system" tar]) (treesit-auto . [(20240420 1457) ((emacs (29 0))) "Automatically use tree-sitter enhanced major modes" tar]) (tsc . [(20220212 1632) ((emacs (25 1))) "Core Tree-sitter APIs" tar]) diff --git a/.localrepo/compat-29.1.4.5.tar b/.localrepo/compat-29.1.4.5.tar Binary files differdeleted file mode 100644 index 866425a8..00000000 --- a/.localrepo/compat-29.1.4.5.tar +++ /dev/null diff --git a/.localrepo/font-lock-studio-20220629.1909.tar b/.localrepo/font-lock-studio-20220629.1909.tar Binary files differdeleted file mode 100644 index 4e565ea9..00000000 --- a/.localrepo/font-lock-studio-20220629.1909.tar +++ /dev/null diff --git a/.localrepo/transient-0.6.0.tar b/.localrepo/transient-0.6.0.tar Binary files differdeleted file mode 100644 index 3ab94d4a..00000000 --- a/.localrepo/transient-0.6.0.tar +++ /dev/null diff --git a/.localrepo/vterm-20240325.1551.tar b/.localrepo/vterm-20240325.1551.tar Binary files differindex ac4f68f5..2550ca07 100644 --- a/.localrepo/vterm-20240325.1551.tar +++ b/.localrepo/vterm-20240325.1551.tar diff --git a/modules/config-utilities.el b/modules/config-utilities.el index c6942015..3aaa006d 100644 --- a/modules/config-utilities.el +++ b/modules/config-utilities.el @@ -107,11 +107,6 @@ Will recompile natively if supported, or byte-compiled if not." (locate-library (symbol-name x)))))) (goto-char (point-min)))) -;; ------------------------------ Font Lock Studio ----------------------------- -;; debugger for font lock keywords - -(use-package font-lock-studio - :demand t) (provide 'config-utilities) ;;; config-utilities.el ends here diff --git a/modules/flycheck-config.el b/modules/flycheck-config.el index f0ca71fe..37b8e657 100644 --- a/modules/flycheck-config.el +++ b/modules/flycheck-config.el @@ -10,25 +10,26 @@ (interactive) (if (not (abbrev-mode)) (abbrev-mode)) - (flyspell-on-for-buffer-type) + ;; (flyspell-on-for-buffer-type) (if (not (flycheck-mode)) (flycheck-mode))) -;;;; ---------------------------------- Linting -------------------------------- +;; ---------------------------------- Linting ---------------------------------- + +(defun cj/flycheck-list-errors () + "Display flycheck's error list and switch to its buffer." + (interactive) + (flycheck-list-errors) + (switch-to-buffer-other-window "*Flycheck errors*")) (use-package flycheck :defer .5 :hook (sh-mode emacs-lisp-mode) - :preface - (defun cj/flycheck-list-errors () - "Display flycheck's error list and switch to its buffer." - (interactive) - (flycheck-list-errors) - (switch-to-buffer-other-window "*Flycheck errors*")) :bind ("C-; ?" . cj/flycheck-list-errors) :config ;; don't warn about double-spaces after period. - (setq-default checkdoc-arguments '("sentence-end-double-space" nil "warn-escape" nil)) + (setq-default checkdoc-arguments '("sentence-end-double-space" nil + "warn-escape" nil)) ;; proselint must be installed via the OS (flycheck-define-checker proselint diff --git a/modules/flyspell-config.el b/modules/flyspell-config.el index 1e3f0535..0adafc6b 100644 --- a/modules/flyspell-config.el +++ b/modules/flyspell-config.el @@ -88,42 +88,42 @@ ;; ------------------------------ Flyspell Toggle ------------------------------ ;; easy toggling flyspell and also leverage the 'for-buffer-type' functionality. -(defun flyspell-toggle () - "Turn Flyspell on if it is off, or off if it is on. -When turning on,it uses `flyspell-on-for-buffer-type' so code-vs-text is -handled appropriately." - (interactive) - (if (symbol-value flyspell-mode) - (progn ; flyspell is on, turn it off - (message "Flyspell off") - (flyspell-mode -1)) - ;; else - flyspell is off, turn it on - (progn - (flyspell-on-for-buffer-type) - (message "Flyspell on")))) -(define-key global-map (kbd "C-c f") 'flyspell-toggle ) +;; (defun flyspell-toggle () +;; "Turn Flyspell on if it is off, or off if it is on. +;; When turning on,it uses `flyspell-on-for-buffer-type' so code-vs-text is +;; handled appropriately." +;; (interactive) +;; (if (symbol-value flyspell-mode) +;; (progn ; flyspell is on, turn it off +;; (message "Flyspell off") +;; (flyspell-mode -1)) +;; ;; else - flyspell is off, turn it on +;; (progn +;; (flyspell-on-for-buffer-type) +;; (message "Flyspell on")))) +;; (define-key global-map (kbd "C-c f") 'flyspell-toggle ) ;; ------------------------ Flyspell On For Buffer Type ------------------------ ;; check strings and comments in prog mode; check everything in text mode -(defun flyspell-on-for-buffer-type () - "Enable Flyspell for the major mode and check the current buffer. -If flyspell is already enabled, do nothing. If the mode is derived from -`prog-mode', enable `flyspell-prog-mode' so only strings and comments get -checked. If the buffer is text based `flyspell-mode' is enabled to check -all text." - (interactive) - (unless flyspell-mode ; if not already on - (cond - ((derived-mode-p 'prog-mode) - (flyspell-prog-mode) - (flyspell-buffer) - ((derived-mode-p 'text-mode) - (flyspell-mode 1) - (flyspell-buffer)))))) - -(add-hook 'after-change-major-mode-hook 'flyspell-on-for-buffer-type) -(add-hook 'find-file-hook 'flyspell-on-for-buffer-type) +;; (defun flyspell-on-for-buffer-type () +;; "Enable Flyspell for the major mode and check the current buffer. +;; If flyspell is already enabled, do nothing. If the mode is derived from +;; `prog-mode', enable `flyspell-prog-mode' so only strings and comments get +;; checked. If the buffer is text based `flyspell-mode' is enabled to check +;; all text." +;; (interactive) +;; (unless flyspell-mode ; if not already on +;; (cond +;; ((derived-mode-p 'prog-mode) +;; (flyspell-prog-mode) +;; (flyspell-buffer) +;; ((derived-mode-p 'text-mode) +;; (flyspell-mode 1) +;; (flyspell-buffer)))))) + +;; (add-hook 'after-change-major-mode-hook 'flyspell-on-for-buffer-type) +;; (add-hook 'find-file-hook 'flyspell-on-for-buffer-type) ;; ---------------------------- Flyspell Then Abbrev --------------------------- ;; Spell check the buffer and create abbrevs to avoid future misspellings. |
