diff --git a/.config/emacs/emacs.org b/.config/emacs/emacs.org index 8603d80..5837632 100755 --- a/.config/emacs/emacs.org +++ b/.config/emacs/emacs.org @@ -20,7 +20,7 @@ Emacs Configuration for emacs 29.50 ;; Make native compilation happens asynchronously (setq native-comp-deferred-compilation t)) - (setq inhibit-startup-message t) + (setq inhibit-startup-message nil) (setq frame-resize-pixelwise t) (scroll-bar-mode -1) (tool-bar-mode -1) @@ -46,8 +46,9 @@ Emacs Configuration for emacs 29.50 #+end_src *** Package Function **** Use-package -#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el - (require 'package) +#+begin_src emacs-lisp +;;#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el + ;;(require 'package) (when (version< emacs-version "28") (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/"))) (add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/")) @@ -64,9 +65,10 @@ Emacs Configuration for emacs 29.50 (customize-set-variable 'package-user-dir (expand-file-name "elpa/" user-emacs-directory)) + ;; TODO ;;(package-initialize) - (unless package-archive-contents - (package-refresh-contents)) + ;;(unless package-archive-contents + ;; (package-refresh-contents)) (unless (package-installed-p 'use-package) (package-install 'use-package)) @@ -83,30 +85,30 @@ Emacs Configuration for emacs 29.50 (auto-package-update-at-time "09:00")) #+end_src **** Straight -#+begin_src emacs-lisp - ;;##+begin_src emacs-lisp :tangle ~/.config/emacs/init.el - (defvar bootstrap-version) - (defvar comp-deferred-compilation-deny-list ()) ; workaround, otherwise straight shits itself - (let ((bootstrap-file - (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) - (bootstrap-version 5)) - (unless (file-exists-p bootstrap-file) - (with-current-buffer - (url-retrieve-synchronously - "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" - 'silent 'inhibit-cookies) - (goto-char (point-max)) - (eval-print-last-sexp))) - (load bootstrap-file nil 'nomessage)) - (package-initialize) - (unless package-archive-contents - (package-refresh-contents)) - (straight-use-package '(use-package :build t)) - (setq use-package-always-ensure t) +#+begin_src emacs-lisp :tangle ~/.config/emacs/init.el + (defvar bootstrap-version) + (defvar comp-deferred-compilation-deny-list ()) ; workaround, otherwise straight shits itself + (let ((bootstrap-file + (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) + (bootstrap-version 5)) + (unless (file-exists-p bootstrap-file) + (with-current-buffer + (url-retrieve-synchronously + "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" + 'silent 'inhibit-cookies) + (goto-char (point-max)) + (eval-print-last-sexp))) + (load bootstrap-file nil 'nomessage)) + (package-initialize) + (unless package-archive-contents + (package-refresh-contents)) + (setq straight-use-package-by-default t) + (straight-use-package 'use-package) + (setq use-package-always-ensure t) - (unless (file-exists-p package-user-dir) - (mkdir package-user-dir t)) - ;;; init.el ends here + (unless (file-exists-p package-user-dir) + (mkdir package-user-dir t)) + ;;; init.el ends here #+end_src *** Add other modules #+begin_src emacs-lisp :tangle ~/.config/emacs/init.el @@ -115,12 +117,12 @@ Emacs Configuration for emacs 29.50 *** Edit options **** Whitespace clean #+begin_src emacs-lisp :tangle ~/.config/emacs/init.el -(add-hook 'before-save-hook #'whitespace-cleanup) + (add-hook 'before-save-hook #'whitespace-cleanup) #+end_src **** Tabs #+begin_src emacs-lisp :tangle ~/.config/emacs/init.el -(setq-default indent-tabs-mode nil) -(setq-default tab-width 4) + (setq-default indent-tabs-mode nil) + (setq-default tab-width 4) #+end_src 협업에 있어서 코드에 tabs 크기를 명시하는 것도 방법일듯. @@ -207,15 +209,15 @@ Emacs Configuration for emacs 29.50 `(fixed-pitch-serif ((t (:inherit (default))))) `(variable-pitch ((t (:font "Ubuntu 11"))))))) - ;;(require 'custom-ui) - ;;(require 'custom-keybindings) - ;;(require 'custom-default) - ;;(require 'custom-completion) - ;;(require 'custom-projects) - ;;(require 'custom-latex) - ;;(require 'custom-org) - ;;(require 'custom-languages) - ;;(require 'custom-extra) + (require 'custom-ui) + (require 'custom-keybindings) + (require 'custom-default) + (require 'custom-completion) + (require 'custom-projects) + (require 'custom-latex) + (require 'custom-org) + (require 'custom-languages) + (require 'custom-extra) ;;(require 'custom-workspaces) @@ -301,37 +303,30 @@ emacs built-in package config "h" 'dired-single-up-directory "l" 'dired-single-buffer)) (use-package dired-single - :straight (:build t) :defer t :commands (dired dired-jump)) (use-package diredfl ;; colorful dired - :straight (:build t) :defer t :hook dired-mode) (use-package dired-git-info - :straight (:build t) :defer t :config (evil-collection-define-key 'normal 'dired-mode-map ")" 'dired-git-info-mode)) (use-package diff-hl - :straight (:build t) :defer t :hook ((dired-mode . diff-hl-dired-mode-unless-remote) (magit-post-refresh . diff-hl-magit-post-refresh)) :config (diff-hl-margin-mode)) (use-package dired-rsync - :straight (:build t) :defer t :bind (:map dired-mode-map ("C-c C-r" . dired-rsync))) (use-package all-the-icons-dired - :straight (:build t) :defer t :hook dired-mode) (use-package dired-hide-dotfiles - :straight (:build t) :defer t :hook (dired-mode) :config @@ -349,7 +344,6 @@ emacs built-in package config ;; mouse-drag-and-drop-region-cross-program t) (use-package peep-dired - :straight (:build t) :defer t :hook (peep-dired . evil-normalize-keymaps) :config @@ -379,7 +373,6 @@ emacs built-in package config **** Doom themes #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el (use-package doom-themes - :straight (:build t) :defer t :init (disable-theme 'deeper-blue) @@ -390,7 +383,6 @@ emacs built-in package config **** Rainbow Delimiters #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el (use-package rainbow-delimiters - :straight (:build t) :defer t :hook (prog-mode . rainbow-delimiters-mode)) #+end_src @@ -433,7 +425,6 @@ emacs built-in package config **** Modeline #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el (use-package doom-modeline - :straight (:build t) :defer t :init (doom-modeline-mode 1) :config @@ -455,20 +446,16 @@ emacs built-in package config (visual-fill-column-mode t)) (use-package visual-fill-column - :straight (:build t) :defer t :hook ((org-mode markdown-mode nov-mode) . write-room-enable)) #+end_src **** All The Icons #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el - (use-package all-the-icons - :straight t) + (use-package all-the-icons) #+end_src **** Dashboard #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el (use-package dashboard - :straight (:build t) - :ensure t :after all-the-icons :config (setq dashboard-set-heading-icons t) @@ -513,7 +500,6 @@ emacs built-in package config **** Beacon #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-ui.el (use-package beacon - :straight (:build t) :defer t :config (beacon-mode 1)) #+end_src @@ -565,7 +551,6 @@ emacs built-in package config When you begin a keybind, whichkey will show you all keybinds you can follow the first one with in order to form a full keywords. #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-keybindings.el (use-package which-key - :straight (:build t) :defer t :init (which-key-mode) :diminish which-key-mode @@ -576,7 +561,6 @@ When you begin a keybind, whichkey will show you all keybinds you can follow the for managing keybindings. #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-keybindings.el (use-package general - :straight (:build t) :init (general-auto-unbind-keys) :config @@ -633,7 +617,6 @@ for managing keybindings. **** Evil Mode #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-keybindings.el (use-package evil - :straight (:build t) :after general :init (setq evil-want-integration t @@ -659,13 +642,11 @@ for managing keybindings. (use-package evil-collection :after evil - :straight (:build t) :config (evil-collection-init)) (use-package evil-nerd-commenter :after evil - :straight (:build t) :config ;; evil nerd commenter (define-key evil-normal-state-map (kbd "g c") 'evilnc-comment-or-uncomment-lines) @@ -673,7 +654,6 @@ for managing keybindings. (use-package evil-numbers :after evil - :straight (:build t) :config ;; evil numbers ;; unfortunately C-x is emacs common key binding. @@ -687,7 +667,6 @@ for managing keybindings. **** Undo Tree #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-keybindings.el (use-package undo-tree - :straight (:build t) :defer t :custom (undo-tree-history-directory-alist @@ -707,7 +686,6 @@ for managing keybindings. **** Hydra #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-keybindings.el (use-package hydra - :straight (:build t) :defer t) (defhydra hydra-text-scale (:timeout 4) "scale text" @@ -744,7 +722,6 @@ https://github.com/SystemCrafters/crafted-emacs **** Vertico #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el (use-package vertico - :straight (:build t) :bind (:map vertico-map ("C-j" . vertico-next) ("C-k" . vertico-previous)) @@ -757,7 +734,6 @@ https://github.com/SystemCrafters/crafted-emacs simple but effective sorting and filtering for emacs. #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el (use-package vertico-prescient - :straight (:build t) :defer t :config (vertico-prescient-mode)) @@ -765,10 +741,8 @@ simple but effective sorting and filtering for emacs. **** Marginalia annotations placed at the margin of the minibuffer #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el - (use-package Marginalia - :straight (:build t) + (use-package marginalia :after vertico - :ensure t :defer t :custom (marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil)) @@ -777,7 +751,6 @@ annotations placed at the margin of the minibuffer **** Consult #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el (use-package consult - :straight (:build t) :demand t :bind (:map minibuffer-local-map ("C-r" . consult-history)) @@ -791,7 +764,6 @@ annotations placed at the margin of the minibuffer orderless completion #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el (use-package orderless - :straight (:build t) :defer t :custom (completion-styles '(orderless basic)) @@ -801,7 +773,6 @@ orderless completion Quick Action in minibuffer #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el (use-package embark - :straight (:build t) :defer t :bind (("C-." . embark-act)) :config @@ -812,7 +783,6 @@ Quick Action in minibuffer (setq prefix-help-command #'embark-prefix-help-command)) (use-package embark-consult - :straight (:build t) :defer t :after embark) #+end_src @@ -821,7 +791,6 @@ Quick Action in minibuffer #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-completion.el ;;; Corfu (use-package corfu - :straight (:build t) :custom (corfu-cycle t) ;; Enable cycling for `corfu-next/previous' (corfu-auto t) ;; Enable auto completion @@ -852,7 +821,6 @@ Quick Action in minibuffer ;;; Cape ;; Setup Cape for better completion-at-point support and more (use-package cape - :straight (:build t) :config ;; Add useful defaults completion sources from cape (add-to-list 'completion-at-point-functions #'cape-file) @@ -889,7 +857,6 @@ Quick Action in minibuffer (custom-declare-face '+org-todo-onhold '((t (:inherit (bold warning org-todo)))) "") (custom-declare-face '+org-todo-cancel '((t (:inherit (bold error org-todo)))) "")) (use-package org - :straight (:build t) :defer t :config (add-hook 'org-mode-hook #'org-indent-mode) @@ -959,14 +926,12 @@ Quick Action in minibuffer org-export-with-sub-superscripts '{} ;; ODT export to docx org-latex-compiler "xelatex")) (use-package org-contrib - :straight (:build t) :after org :defer t) #+end_src ***** Org fancy Priorities #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-fancy-priorities - :straight (:build t) :defer t :after (org all-the-icons) :hook (org-mode org-agenda-mode) @@ -979,8 +944,6 @@ Quick Action in minibuffer ***** Org superstar #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-superstar - :straight (:build t) - :ensure t :hook (org-mode) :config (setq org-superstar-item-bullet-alist @@ -994,7 +957,6 @@ Quick Action in minibuffer | 일이삼사 | | #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package valign - :straight (:build t) :defer t :custom (valign-fancy-bar t)) @@ -1009,7 +971,6 @@ strike-through : +strike-through+ ***** Org Appear #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-appear - :straight (:build t) :defer t :hook (org-mode) :config @@ -1021,7 +982,6 @@ strike-through : +strike-through+ ***** Org fragtog #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-fragtog - :straight (:build t) :defer t :hook (org-mode)) #+end_src @@ -1030,20 +990,19 @@ strike-through : +strike-through+ to use org-screenshot-take #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-attach-screenshot - :straight (:build t) :defer t) #+end_src ***** Org download download image link #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-download - :straight (:build t)) + :defer t) #+end_src ***** ob-latex-as-png #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package ob-latex-as-png - :straight (:build t)) + :defer t) #+end_src ****** Example 1 @@ -1152,7 +1111,7 @@ download image link my-blog jaeus.net #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package ox-hugo - :straight (:build t) + :defer t :after ox) #+end_src ***** TODO Engrave-faces @@ -1218,7 +1177,6 @@ latex export code block ***** Org Journal #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-journal - :straight (:build t) :defer t :config (setq org-journal-dir (expand-file-name "journal/" org-directory)) @@ -1229,8 +1187,6 @@ latex export code block + TODO: Project todos #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-roam - :straight (:build t) - :ensure t :custom (org-roam-directory "~/org/roam") ;;(org-roam-completion-everywhere t) @@ -1238,12 +1194,10 @@ latex export code block (org-roam-db-autosync-mode)) ;;(my/org-roam-refresh-agenda-list) (use-package org-roam-bibtex - :straight (:build t) :defer t :after org-roam) ;; Org roam ui (use-package org-roam-ui - :straight (:build t) :defer t :config (setq org-roam-ui-sync-theme t @@ -1289,7 +1243,6 @@ latex export code block ***** Org Super Agenda #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-super-agenda - :straight (:build t) :defer t :init (org-super-agenda-mode 1) @@ -1334,7 +1287,6 @@ latex export code block asynchronous execution of org-babel src blocks #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package ob-async - :straight (:build t) :defer t) #+end_src @@ -1346,7 +1298,6 @@ some language should add get link from pdf, #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-org.el (use-package org-pdftools - :straight (:build t) :defer t :hook (org-mode . org-pdftools-setup-link)) #+end_src @@ -1391,7 +1342,6 @@ get link from pdf, **** MAGIT #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-projects.el (use-package magit - :straight (:build t) :defer t :commands (magit-status magit-get-current-branch) :custom @@ -1406,7 +1356,6 @@ get link from pdf, **** Gitgutter #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-projects.el (use-package git-gutter - :straight (:build t) :defer t :init (global-git-gutter-mode) :config @@ -1420,7 +1369,6 @@ Git forge ***** TODO: test #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-projects.el (use-package hl-todo - :straight (:build t) :defer t :init (global-hl-todo-mode 1) :config @@ -1449,7 +1397,6 @@ Git forge **** Magit TODOs #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-projects.el (use-package magit-todos - :straight (:build t) :defer t :after (magit hl-todo) :hook (magit-mode)) @@ -1465,7 +1412,6 @@ Git forge ;;(use-package tabspaces ;; :disabled ;; ;; use this next line only if you also use straight, otherwise ignore it. - ;; :straight (:type git :host github :repo "mclear-tools/tabspaces") ;; :hook (after-init . tabspaces-mode) ;; use this only if you want the minor-mode loaded at startup. ;; :commands (tabspaces-switch-or-create-workspace ;; tabspaces-open-or-create-project-and-workspace) @@ -1508,7 +1454,6 @@ Git forge writing and formatting tex file in Emacs. #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-latex.el (use-package auctex - :straight (:build t) :defer t :custom (TeX-auto-save t) @@ -1552,7 +1497,6 @@ writing and formatting tex file in Emacs. speed-up insertion of environments and math templates. #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-latex.el (use-package cdlatex - :straight (:build t) :hook ((org-mode . org-cdlatex-mode) (LaTex-mode . cdlatex-mode)) @@ -1562,8 +1506,7 @@ speed-up insertion of environments and math templates. **** Preview pane #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-latex.el (use-package latex-preview-pane - :straight (:build t) - :ensure t) + :defer t) #+end_src **** Provide Modules #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-latex.el @@ -1574,7 +1517,6 @@ speed-up insertion of environments and math templates. **** Helpful #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package helpful - :straight (:build t) :defer t :custom (counsel-describe-function-function #'helpful-callable) @@ -1588,7 +1530,6 @@ speed-up insertion of environments and math templates. **** Avy #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package avy - :straight (:build t) :defer t :config (setq avy-all-windows t)) @@ -1601,7 +1542,6 @@ speed-up insertion of environments and math templates. **** Snippet #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package yasnippet - :straight (:build t) :defer t :hook (prog-mode . yas-minor-mode) :config @@ -1614,7 +1554,6 @@ speed-up insertion of environments and math templates. **** Emojify #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package emojify - :straight (:build t) :defer t :init (global-emojify-mode 1)) (ju/leader-key-def @@ -1634,7 +1573,6 @@ enhanced PDF viewer on emacs **** PDF view restore #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package pdf-view-restore - :straight (:build t) :defer t :hook (pdf-view-mode . pdf-view-restore-mode) :config @@ -1644,7 +1582,6 @@ enhanced PDF viewer on emacs **** Nov #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package nov - :straight (:build t) :defer t :config (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))) @@ -1652,7 +1589,6 @@ enhanced PDF viewer on emacs **** Openwith #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package openwith - :straight (:build t) :defer t :config (openwith-mode t) @@ -1676,24 +1612,17 @@ enhanced PDF viewer on emacs **** Calfw calendar #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el - (use-package calfw - :straight (:build t) - :ensure t) + (use-package calfw) (use-package calfw-org - :after calfw - :straight (:build t) - :ensure t) + :after calfw) #+end_src **** ELFEED #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-extra.el (use-package elfeed - :straight (:build t) :defer t) (use-package elfeed-goodies - :straight (:build t) :defer t) (use-package elfeed-org - :straight (:build t) :defer t :config (elfeed-org) @@ -1710,11 +1639,9 @@ calendar #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el ;;(if (version< emacs-version "29") ;;(use-package tree-sitter - ;; :straight (:build t) ;; :defer t ;; :init (global-tree-sitter-mode)) ;;(use-package tree-sitter-langs - ;; :straight (:build t) ;; :defer t ;; :after tree-sitter)) #+end_src @@ -1722,37 +1649,32 @@ calendar #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (if (version< emacs-version "29") (use-package eglot - :straight (:build t) :defer t)) #+end_src **** Rust #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package rust-mode - :straight (:build t) :defer t) #+end_src **** Python #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package jupyter - :straight (:build t)) + :defer t) #+end_src **** CMAKE #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el ;;(use-package cmake-mode - ;; :straight (:build t) ;; :defer t) #+end_src **** Haskell #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package haskell-mode - :straight (:build t) :defer t) #+end_src **** Markdown #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package markdown-mode - :straight (:build t) :defer t :config (add-to-list 'auto-mode-alist '("README\\.md\\'" . gfm-mode)) @@ -1763,19 +1685,16 @@ calendar **** PKGBUILD #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package pkgbuild-mode - :straight (:build t) :defer t) #+end_src **** Systemd #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package systemd - :straight (:build t) :defer t) #+end_src **** Toml #+begin_src emacs-lisp (use-package toml-mode - :straight (:build t) :defer t :config (add-to-list 'auto-mode-alist '("/\\(Cargo.lock\\|\\.cargo/config\\)\\'" . toml-mode))) @@ -1784,14 +1703,12 @@ calendar **** Gnuplot #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package gnuplot - :straight (:build t) :defer t) #+end_src **** Graphviz dot Mode org mode graph drawing with graphviz #+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/emacs/modules/custom-languages.el (use-package graphviz-dot-mode - :straight (:build t) :defer t) #+end_src **** Verilog Indent