Open casouri opened 4 years ago
What's value of custom-file
? What's the content of that file?
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ad-redefinition-action 'accept)
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
["#f0f0f0" "#e45649" "#50a14f" "#986801" "#4078f2" "#a626a4" "#0184bc" "#1b2229"])
'(apropos-do-all t)
'(auto-save-timeout 5)
'(compilation-always-kill t)
'(compilation-ask-about-save nil)
'(confirm-nonexistent-file-or-buffer t)
'(create-lockfiles nil)
'(custom-safe-themes
'("51b44babc881e57ee3f437277e3f7e85afee337d112e5a128b1332b364b82518" "6e34442cc79dd570c6877930f19f36eab8be4a6922c3e54de626c38a3ebe6141" "9b27abb4441d26c75111bbe54cf0d6842b985d073c138047c6c4b880f763ced8" "6fe050167d55f7335b2f3120790590350063777e46ad39b144223d5ac4cdbecd" "7063e792dc9ab7f418954f6f5dd3ff54980af57fa3351130f9a905c1dadf54a9" "a002783a6ca2b0d12b45907ed6599008cc2e5c1a18f6534fa23da1377477ce84" "b8350ecb9d5b5cd63fe207f57a6525ae9abcd4ebf63fa6f50278ed88e9b2a255" "995a2dcdfd772dfef667a3d90463c1a20d8ce9bb1fac4d1492d557b8f0f6187d" "43d0b23972479ed58ff68eb0f064b59cf01bd310c189278208c9450b81a3da2c" "fcdee8dc1a8cb82abc187b4f80c3231fea9cdbe76f7e5156bb80dd6f5b225099" "7c4adc5c6cd215852319c1d848264de6422537ff7e08daf9cfee5f80ca917b24" "5265adbf733ebe74f9a366288f1fe99bfe9280fa0539e607ad2a036bc8b6b3df" "6494af259a0893a71fdf4bb597cd09c8f004061bcd01329b2706da936e2e6898" "ecb52aaf85e7900831a5320850e11e02669f2166a76be8f5a0bb5caa84b59763" "a4402c565270062994d553d7d5e094410f455ed48df6d20a9b7b4c08734daf01" "fa8eeb80f79cb4483dbd7d8032f330d4398ed661ba14ea43cff0f20c2744e6e0" "ff44a7b58f34cb0716d7afe51237d52c94e4680f80eedf43d585972931e54d74" "6015b0b81604eb6991b95bdd60f4fd8b44ee675ad545fbea6c3f669bbf1920db" "465f151c723ebc0ebcd92594ca4100cbc0bf8542c5722369ac0a63a942b7c552" "1942390a3b4d3527ba3fa1f9322424c113fb2bd3ffa89b354e134ff13a0b55c8"))
'(debug-on-error t)
'(delete-auto-save-files nil)
'(delete-by-moving-to-trash t)
'(dired-omit-files "\\`[.]?#\\|\\`[.][.]?" nil nil "Hide all dot files")
'(display-line-numbers-width 3)
'(ediff-split-window-function 'split-window-horizontally)
'(ediff-window-setup-function 'ediff-setup-windows-plain)
'(electric-pair-mode t)
'(electric-quote-mode t)
'(enable-recursive-minibuffers t)
'(flywrap-debug-mode t)
'(help-window-select t)
'(history-length 500)
'(idle-update-delay 0.5)
'(indent-tabs-mode nil)
'(inhibit-startup-screen t)
'(kill-ring-max 100)
'(minibuffer-electric-default-mode t)
'(mouse-scroll-delay 0)
'(mouse-wheel-flip-direction t)
'(mouse-wheel-progressive-speed nil)
'(mouse-wheel-scroll-amount '(0.005))
'(mouse-wheel-tilt-scroll t)
'(ns-pop-up-frames nil nil nil "This way emacsclient doesn't open new frames.")
'(org-fontify-quote-and-verse-blocks t)
'(org-hide-emphasis-markers t)
'(org-image-actual-width '(300))
'(package-archives
'(("melpa" . "http://melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")))
'(package-selected-packages
'(exec-path-from-shell restclient php-mode all-the-icons-dired yasnippet yaml-mode xr wucuo ws-butler writegood-mode which-key web-mode visual-regexp use-package tuareg tree-sitter-lang-c tide srefactor sly sage-shell-mode rainbow-mode rainbow-delimiters racket-mode quickrun pyvenv proof-general org-download orderless olivetti ob-mermaid mips-mode minions memory-usage matlab-mode magit-todos magit-patch-changelog lua-mode latex-preview-pane ivy-xref imenu-list icomplete-vertical htmlize highlight-parentheses hierarchy helpful haskell-mode gnu-apl-mode git-timemachine general geiser eyebrowse eglot edit-indirect dumb-jump diff-hl debbugs counsel company-posframe cdlatex ccls buffer-move benchmark-init auto-pause auctex aggressive-indent))
'(recentf-max-saved-items 300)
'(ring-bell-function 'ignore)
'(safe-local-variable-values '((git-commit-major-mode . git-commit-elisp-text-mode)))
'(savehist-additional-variables '(tablist-named-filter extended-command-history))
'(savehist-mode t)
'(scroll-bar-mode nil)
'(scroll-conservatively 101)
'(scroll-margin 4)
'(send-mail-function 'mailclient-send-it)
'(sentence-end-double-space nil)
'(tool-bar-mode t)
'(use-dialog-box nil)
'(use-package-hook-name-suffix "")
'(vc-annotate-background "#fafafa")
'(vc-annotate-color-map
(list
(cons 20 "#50a14f")
(cons 40 "#688e35")
(cons 60 "#807b1b")
(cons 80 "#986801")
(cons 100 "#ae7118")
(cons 120 "#c37b30")
(cons 140 "#da8548")
(cons 160 "#c86566")
(cons 180 "#b74585")
(cons 200 "#a626a4")
(cons 220 "#ba3685")
(cons 240 "#cf4667")
(cons 260 "#e45649")
(cons 280 "#d2685f")
(cons 300 "#c07b76")
(cons 320 "#ae8d8d")
(cons 340 "#383a42")
(cons 360 "#383a42")))
'(vc-annotate-very-old-color nil)
'(visible-cursor nil)
'(which-function-mode t)
'(winner-mode t)
'(xref-prompt-for-identifier
'(not xref-find-references xref-find-definitions xref-find-definitions-other-window xref-find-definitions-other-frame)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "SF Mono" :foundry "nil" :slant normal :weight normal :height 130 :width normal))))
'(ghelp-entry ((t :inherit nil)))
'(info-body ((t (:inherit variable-pitch :height 1.1 :family "Charter"))))
'(org-table ((t nil))))
I looked at wucuo-split-camel-case
. It seems that you assume 32 subwords are enough and it turns out the word has more. My two cents.
Also, I think it makes sense to only check visible buffers, e.g., add a check of get-buffer-window
in wucuo-spell-check-visible-region
or something like that.
18ab14c avoid check buffer whose window is not live (Chen Bin)
Wucuo has reported errors when I load themes and delete packages. Seems to be because wucuo-split-camel-case called on irregular words. Also, why
wucuo-spell-check-visible-region
runs at all? In this case I'm loading a theme and customize is saving the custom file, which isn't visible.