diff --git a/extraFiles/config/emacs/early-init.el b/extraFiles/config/emacs/early-init.el index 7612f1e..55c5307 100644 --- a/extraFiles/config/emacs/early-init.el +++ b/extraFiles/config/emacs/early-init.el @@ -1,5 +1,6 @@ ;;; -*- lexical-binding: t; -*- +;; [[file:emacs-materus-config.org::*Early Init Variables][Early Init Variables:1]] (defvar materus/init-early t "Is emacs using materus early init") ; Var to ensure early-init loaded, not used anymore but keeping it anyway (setq materus/init-early t) ; Probably useless @@ -45,13 +46,17 @@ (defvar materus-emacs-gc-cons-threshold (* 32 1024 1024) "The value of `gc-cons-threshold' after Emacs startup.") ; Define after init garbage collector threshold +;; Early Init Variables:1 ends here +;; [[file:emacs-materus-config.org::*Garbage Collector][Garbage Collector:1]] (setq gc-cons-threshold most-positive-fixnum) ; Set `gc-cons-threshold' so it won't collectect during initialization (add-hook 'emacs-startup-hook (lambda () (setq gc-cons-threshold materus-emacs-gc-cons-threshold))) ; Set `gc-cons-threshold' to desired value after startup +;; Garbage Collector:1 ends here +;; [[file:emacs-materus-config.org::*Early Frame Settings][Early Frame Settings:1]] (setq frame-inhibit-implied-resize t) (setq frame-resize-pixelwise t) (setq window-resize-pixelwise t) ; Allow pixelwise resizing of window and frame @@ -69,7 +74,9 @@ (advice-remove #'tty-run-terminal-initialization #'ignore) (tty-run-terminal-initialization (selected-frame) nil t) ))) +;; Early Frame Settings:1 ends here +;; [[file:emacs-materus-config.org::*Native compilation][Native compilation:1]] (setq native-comp-async-report-warnings-errors nil) ; Silence warnings (setq native-comp-speed 3) ; Set native-comp speed @@ -86,3 +93,4 @@ (startup-redirect-eln-cache (convert-standard-filename (expand-file-name "var/eln-cache/" user-emacs-directory)))) +;; Native compilation:1 ends here diff --git a/extraFiles/config/emacs/emacs-materus-config.org b/extraFiles/config/emacs/emacs-materus-config.org index d4dbc5b..02250be 100644 --- a/extraFiles/config/emacs/emacs-materus-config.org +++ b/extraFiles/config/emacs/emacs-materus-config.org @@ -61,9 +61,10 @@ My emacs config, tangled file is [[file:etc/materus/emacs-config.el][there]] * Init Files ** Early Init :PROPERTIES: -:header-args: :tangle early-init.el +:header-args: :tangle early-init.el :comments link :END: Early init file, setting for GC and some paths. +Tangled file is [[./early-init.el][there]] #+begin_src emacs-lisp :comments no ;;; -*- lexical-binding: t; -*- #+end_src @@ -369,7 +370,7 @@ Graphical related settings. (lambda (frame) (when (= (length (frame-list)) 2) (set-frame-parameter frame 'fullscreen 'maximized))))) - + (when (display-graphic-p) (set-frame-font "Hack Nerd Font" nil t) ) @@ -381,8 +382,8 @@ Graphical related settings. (tool-bar-mode -1) - - + + (setq-default cursor-type '(bar . 1)) ;; Rainbow mode (use-package rainbow-mode @@ -706,7 +707,6 @@ Other configs (use-package lsp-pyright) (setq lsp-pyright-langserver-command "pyright") (add-hook 'python-mode-hook 'lsp-deferred) - #+end_src ** Java #+begin_src emacs-lisp