Compare commits

...

2 commits

Author SHA1 Message Date
ba82470bea
No workey
All checks were successful
/ Test config on 20 (push) Successful in 24s
2024-10-30 14:41:35 +02:00
706607afba
Does it start and exit without problems?
Some checks failed
/ Test config on 20 (push) Failing after 23s
2024-10-30 14:34:41 +02:00
8 changed files with 33 additions and 33 deletions

View file

@ -15,7 +15,7 @@
;;;;;;;; Stolen from Doom Emacs. ;;;;;;;;;;;;; ;;;;;;;; Stolen from Doom Emacs. ;;;;;;;;;;;;;
;; Update emacs less often ;; Update emacs less often
(setq idle-update-delay 1.0) (setopt idle-update-delay 1.0)
;; Disable bidirectional text rendering for a modest performance boost. I've set ;; Disable bidirectional text rendering for a modest performance boost. I've set
;; this to `nil' in the past, but the `bidi-display-reordering's docs say that ;; this to `nil' in the past, but the `bidi-display-reordering's docs say that
@ -26,16 +26,16 @@
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions ;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
;; in non-focused windows. ;; in non-focused windows.
(setq-default cursor-in-non-selected-windows nil) (setq-default cursor-in-non-selected-windows nil)
(setq highlight-nonselected-windows nil) (setopt highlight-nonselected-windows nil)
;; More performant rapid scrolling over unfontified regions. May cause brief ;; More performant rapid scrolling over unfontified regions. May cause brief
;; spells of inaccurate syntax highlighting right after scrolling, which should ;; spells of inaccurate syntax highlighting right after scrolling, which should
;; quickly self-correct. ;; quickly self-correct.
(setq fast-but-imprecise-scrolling t) (setopt fast-but-imprecise-scrolling t)
;;;;;;;;; TRAMP configuration ;;;;;;;;;;;;;;;; ;;;;;;;;; TRAMP configuration ;;;;;;;;;;;;;;;;
(require 'tramp) (require 'tramp)
(setq tramp-default-method "ssh") (setopt tramp-default-method "ssh")
;;;;;;;;; Emacs bindings ;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;; Emacs bindings ;;;;;;;;;;;;;;;;;;;;;
(global-set-key (kbd "RET") 'newline) (global-set-key (kbd "RET") 'newline)
@ -56,19 +56,19 @@
(gcmh-mode t)) (gcmh-mode t))
;; #====================== Backup config #============================== ;; #====================== Backup config #==============================
(setq backup-directory-alist (setopt backup-directory-alist
`((".*" . "~/.emacs.d/backups/auto-save-list"))) `((".*" . "~/.emacs.d/backups/auto-save-list")))
(setq auto-save-file-name-transforms (setopt auto-save-file-name-transforms
`((".*", "~/.emacs.d/backups/auto-save-list" t))) `((".*", "~/.emacs.d/backups/auto-save-list" t)))
(setq backup-by-copying t) (setopt backup-by-copying t)
(setq delete-old-versions t (setopt delete-old-versions t
kept-new-versions 6 kept-new-versions 6
kept-old-versions 2 kept-old-versions 2
version-control t) version-control t)
; Do not create .#foo.file lock files ; Do not create .#foo.file lock files
(setq create-lockfiles nil) (setopt create-lockfiles nil)
;; Enable line numbers and show cursors position ;; Enable line numbers and show cursors position
(add-hook 'prog-mode-hook 'display-line-numbers-mode) (add-hook 'prog-mode-hook 'display-line-numbers-mode)
@ -78,16 +78,16 @@
(column-number-mode t) (column-number-mode t)
;; Turn off sounds ;; Turn off sounds
(setq ring-bell-function 'ignore) (setopt ring-bell-function 'ignore)
;; Enable y/n answers to questions ;; Enable y/n answers to questions
(setopt use-short-answers t) (setopt use-short-answers t)
;; Only warn if a file is bigger than 50 MB when trying to open it ;; Only warn if a file is bigger than 50 MB when trying to open it
(setq large-file-warning-threshold 50000000) (setopt large-file-warning-threshold 50000000)
;; Numbers are arbitrary, but work on a large screen. Default is 160 ;; Numbers are arbitrary, but work on a large screen. Default is 160
(setq split-width-threshold 200) (setopt split-width-threshold 200)
;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
@ -110,12 +110,12 @@
(direnv-mode t)) (direnv-mode t))
;; Draw underline lower ;; Draw underline lower
(setq x-underline-at-descent-line t) (setopt x-underline-at-descent-line t)
;;; Get rid of bad parts of the windows ;;; Get rid of bad parts of the windows
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
(setq indicate-buffer-boundaries nil (setopt indicate-buffer-boundaries nil
indicate-empty-lines nil) indicate-empty-lines nil)
;;;;;;;;;;;;;;;;; Treemacs ;;;;;;;;;;;;;;;;; Treemacs

View file

@ -54,7 +54,7 @@
) )
;; Absolute defaults for company mode ;; Absolute defaults for company mode
(setq company-backends (setopt company-backends
'((company-files ; files & directory '((company-files ; files & directory
company-keywords ; keywords company-keywords ; keywords
company-capf company-capf

View file

@ -9,7 +9,7 @@
(require 'icejam-keys-mode) (require 'icejam-keys-mode)
;; Preparations for using Vertico/Orderless ;; Preparations for using Vertico/Orderless
(setq (setopt
;; Support opening new minibuffers from inside existing minibuffers. ;; Support opening new minibuffers from inside existing minibuffers.
enable-recursive-minibuffers t enable-recursive-minibuffers t
;; Hide commands in M-x which do not work in the current mode. Vertico ;; Hide commands in M-x which do not work in the current mode. Vertico
@ -17,10 +17,10 @@
;; Vertico. ;; Vertico.
read-extended-command-predicate #'command-completion-default-include-p read-extended-command-predicate #'command-completion-default-include-p
;; Do not allow the cursor in the minibuffer prompt ;; Do not allow the cursor in the minibuffer prompt
minibuffer-prompt-properties '(read-only t cursor-intangible t face minibuffer-prompt)) minibuffer-prompt-properties
'(read-only t cursor-intangible t face minibuffer-prompt))
(defun crm-indicator (args) (defun crm-indicator (args)
>>>>>>> use-elpaca
(cons (format "[CRM%s] %s" (cons (format "[CRM%s] %s"
(replace-regexp-in-string (replace-regexp-in-string
"\\`\\[.*?]\\*\\|\\[.*?]\\*\\'" "" "\\`\\[.*?]\\*\\|\\[.*?]\\*\\'" ""

View file

@ -11,11 +11,11 @@
;;; Code: ;;; Code:
;; Set GC at 500 MB for startup ;; Set GC at 500 MB for startup
(setq gc-cons-threshold 500000000) (setopt gc-cons-threshold 500000000)
(setq gc-cons-percentage 0.6) (setopt gc-cons-percentage 0.6)
;; Allow for deeper stacktraces / recursion ;; Allow for deeper stacktraces / recursion
;; (setq max-lisp-eval-depth 10000) ;; (setopt max-lisp-eval-depth 10000)
;;; Use elpaca for package management. ;;; Use elpaca for package management.
(defvar elpaca-installer-version 0.7) (defvar elpaca-installer-version 0.7)
@ -58,8 +58,8 @@
(elpaca `(,@elpaca-order)) (elpaca `(,@elpaca-order))
;; Use package settings ;; Use package settings
(setq use-package-verbose t) (setopt use-package-verbose t)
(setq use-package-compute-statistics t) (setopt use-package-compute-statistics t)
(elpaca elpaca-use-package (elpaca elpaca-use-package
;; Enable use-package :ensure support for Elpaca. ;; Enable use-package :ensure support for Elpaca.
(elpaca-use-package-mode)) (elpaca-use-package-mode))
@ -135,8 +135,8 @@
(require 'icejam-diminish) (require 'icejam-diminish)
;; Restore GC to normal, but still high ;; Restore GC to normal, but still high
(setq gc-cons-threshold 200000000) (setopt gc-cons-threshold 200000000)
(setq gc-cons-percentage 0.2) (setopt gc-cons-percentage 0.2)
(provide 'icejam-custom-init) (provide 'icejam-custom-init)
;;; icejam-custom-init.el ends here ;;; icejam-custom-init.el ends here

View file

@ -7,7 +7,7 @@
:custom ((flycheck-emacs-lisp-load-path 'inherit)) :custom ((flycheck-emacs-lisp-load-path 'inherit))
:config :config
(global-flycheck-mode t) (global-flycheck-mode t)
(setq flycheck-emacs-lisp-load-path 'inherit) (setopt flycheck-emacs-lisp-load-path 'inherit)
(unbind-key "C-c ! C-c" flycheck-mode-map) (unbind-key "C-c ! C-c" flycheck-mode-map)
(unbind-key "C-c ! C-w" flycheck-mode-map) (unbind-key "C-c ! C-w" flycheck-mode-map)
(unbind-key "C-c ! ?" flycheck-mode-map) (unbind-key "C-c ! ?" flycheck-mode-map)

View file

@ -50,7 +50,7 @@ in icejam-set-font-to-screen.")
(defun icejam-set-lsp-ui-font-hook () (defun icejam-set-lsp-ui-font-hook ()
"Reset LSP IO font to specified icejam-font and icejam-font-size." "Reset LSP IO font to specified icejam-font and icejam-font-size."
(setq lsp-ui-doc-frame-hook nil) (setopt lsp-ui-doc-frame-hook nil)
(add-hook 'lsp-ui-doc-frame-hook (add-hook 'lsp-ui-doc-frame-hook
(lambda (frame _w) (lambda (frame _w)
(set-face-attribute (set-face-attribute
@ -60,8 +60,8 @@ in icejam-set-font-to-screen.")
(defun icejam-set-font (name size) (defun icejam-set-font (name size)
"Set font to NAME and its SIZE to X pixels." "Set font to NAME and its SIZE to X pixels."
(interactive "sNew font: \nnEnter size for %s: ") (interactive "sNew font: \nnEnter size for %s: ")
(setq icejam-mut-font name) (setopt icejam-mut-font name)
(setq icejam-mut-font-size size) (setopt icejam-mut-font-size size)
(set-face-attribute 'default nil :font (format "%s %d" name size)) (set-face-attribute 'default nil :font (format "%s %d" name size))

View file

@ -47,8 +47,8 @@
(add-to-list 'dash-at-point-mode-alist '(elixir-ts-mode . "elixir,hex"))) (add-to-list 'dash-at-point-mode-alist '(elixir-ts-mode . "elixir,hex")))
;; By default, use 2 spaces for indentation ;; By default, use 2 spaces for indentation
(setq tab-width 2) (setopt tab-width 2)
(setq tab-stop-list (number-sequence tab-width 200 tab-width)) (setopt tab-stop-list (number-sequence tab-width 200 tab-width))
;; Ensure indentation in steps: ;; Ensure indentation in steps:
(defun icejam-set-indent (step) (defun icejam-set-indent (step)

View file

@ -54,7 +54,7 @@
;; My own theme modifications: ;; My own theme modifications:
(with-eval-after-load 'base16-theme (with-eval-after-load 'base16-theme
(setq base16-theme-256-color-source "colors") (setopt base16-theme-256-color-source 'colors)
(require 'icejam-base16-zenburn) (require 'icejam-base16-zenburn)
(require 'icejam-base16-harmonic-light) (require 'icejam-base16-harmonic-light)