diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index 44f2534..bc35208 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -1,6 +1,6 @@ ;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-10T14:32:14+0100> +;; Time-stamp: <2020-03-18T14:51:46+0100> ;;; Commentary: @@ -11,6 +11,7 @@ ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) (use-package emacs diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index d868d61..f462c3e 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -1,6 +1,6 @@ ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T14:28:55+0100> +;; Time-stamp: <2020-03-18T14:54:44+0100> ;;; Commentary: ;; * Setup scratch buffer. @@ -10,6 +10,8 @@ ;;; Code: +(require 'basics/package-management) + (use-package emacs :custom ((initial-scratch-message nil) ; Make scratch buffer empty, (initial-major-mode 'gfm-mode)) ; and select mode. @@ -67,7 +69,6 @@ ;; Dedicate windows to “purposes”. (use-package window-purpose ;; :pin melpa ; We need > 1.7 - :defer nil :config (progn (purpose-mode) (add-to-list 'purpose-user-mode-purposes '(c++-mode . cpp)) diff --git a/init.d/basics/early-packages.el b/init.d/basics/early-packages.el index 067c85f..b9c3bb7 100644 --- a/init.d/basics/early-packages.el +++ b/init.d/basics/early-packages.el @@ -1,11 +1,13 @@ ;;; early-packages.el --- Packages that need to be loaded early -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-13T11:24:17+0100> +;; Time-stamp: <2020-03-18T14:51:22+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) + ;; Hide minor-mode from modeline. (use-package diminish) diff --git a/init.d/basics/global-variables.el b/init.d/basics/global-variables.el index 563e84a..efdc93f 100644 --- a/init.d/basics/global-variables.el +++ b/init.d/basics/global-variables.el @@ -1,6 +1,6 @@ ;;; global-variables.el --- Set some global variables. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T14:28:25+0100> +;; Time-stamp: <2020-03-18T14:55:03+0100> ;;; Commentary: ;; * Banish customizations. @@ -13,6 +13,8 @@ ;;; Code: +(require 'basics/package-management) + (use-package emacs :diminish abbrev-mode :diminish auto-fill-function diff --git a/init.d/basics/input.el b/init.d/basics/input.el index 8c43622..2cccdfa 100644 --- a/init.d/basics/input.el +++ b/init.d/basics/input.el @@ -1,6 +1,6 @@ ;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T14:28:13+0100> +;; Time-stamp: <2020-03-18T14:56:00+0100> ;;; Commentary: ;; * Setup mouse & keyboard behaviour. @@ -8,6 +8,8 @@ ;;; Code: +(require 'basics/package-management) + (use-package emacs :custom ((mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line. ;; Paste text where the cursor is, not where the mouse is. diff --git a/init.d/basics/package-management.el b/init.d/basics/package-management.el index 01191f0..2a7d205 100644 --- a/init.d/basics/package-management.el +++ b/init.d/basics/package-management.el @@ -1,6 +1,6 @@ ;;; package-management.el --- Initialize package management -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-18T13:56:25+0100> +;; Time-stamp: <2020-03-18T14:51:33+0100> ;;; Commentary: ;; * Set up straight diff --git a/init.d/basics/ui.el b/init.d/basics/ui.el index 9acfce1..a281880 100644 --- a/init.d/basics/ui.el +++ b/init.d/basics/ui.el @@ -1,6 +1,6 @@ ;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T15:21:36+0100> +;; Time-stamp: <2020-03-18T14:56:35+0100> ;;; Commentary: ;; * treemacs @@ -9,6 +9,9 @@ ;;; Code: ;; Directory tree. + +(require 'basics/package-management) + (use-package treemacs ;; :pin melpa ; We need > 2.6 for lsp-treemacs. :demand t diff --git a/init.d/net/client.el b/init.d/net/client.el index 44005f0..e34581f 100644 --- a/init.d/net/client.el +++ b/init.d/net/client.el @@ -1,11 +1,13 @@ ;;; client.el --- Network clients. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-18T16:50:57+0100> +;; Time-stamp: <2020-03-18T14:57:07+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) + ;; Explore and test HTTP REST webservices. (use-package restclient :mode diff --git a/init.d/net/server.el b/init.d/net/server.el index 77e9049..c4c1130 100644 --- a/init.d/net/server.el +++ b/init.d/net/server.el @@ -1,11 +1,12 @@ ;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T16:40:58+0100> +;; Time-stamp: <2020-03-18T14:56:59+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) ;; Edit remote files. diff --git a/init.d/programming/c++.el b/init.d/programming/c++.el index 5286073..f28b051 100644 --- a/init.d/programming/c++.el +++ b/init.d/programming/c++.el @@ -1,11 +1,12 @@ ;;; c++.el --- C++ settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T14:29:24+0100> +;; Time-stamp: <2020-03-18T14:58:32+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) (require 'programming/common) diff --git a/init.d/programming/common.el b/init.d/programming/common.el index d77803d..8714847 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -1,11 +1,12 @@ ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T14:29:38+0100> +;; Time-stamp: <2020-03-18T14:58:25+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) (use-package emacs diff --git a/init.d/programming/elisp.el b/init.d/programming/elisp.el index 9c8dcc0..95770f3 100644 --- a/init.d/programming/elisp.el +++ b/init.d/programming/elisp.el @@ -1,11 +1,13 @@ ;;; elisp.el --- Packages and settings for elisp. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-12T17:17:38+0100> +;; Time-stamp: <2020-03-18T14:57:56+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) + ;; Checker for the metadata in Emacs Lisp files. (use-package flycheck-package :after (flycheck) diff --git a/init.d/programming/git.el b/init.d/programming/git.el index 3cb394e..9e6397a 100644 --- a/init.d/programming/git.el +++ b/init.d/programming/git.el @@ -1,11 +1,12 @@ ;;; git.el --- magit and stuff. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-26T18:06:19+0100> +;; Time-stamp: <2020-03-18T14:57:49+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) ;; Git integration. diff --git a/init.d/programming/lsp.el b/init.d/programming/lsp.el index 89f832b..395637c 100644 --- a/init.d/programming/lsp.el +++ b/init.d/programming/lsp.el @@ -1,11 +1,12 @@ ;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-10T12:58:15+0100> +;; Time-stamp: <2020-03-18T14:57:43+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) (require 'programming/common) diff --git a/init.d/programming/misc.el b/init.d/programming/misc.el index 51a3d07..3b3ff09 100644 --- a/init.d/programming/misc.el +++ b/init.d/programming/misc.el @@ -1,12 +1,14 @@ ;;; misc.el --- Miscellaneous programming languages. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-23T22:02:31+0100> +;; Time-stamp: <2020-03-18T14:57:26+0100> ;;; Commentary: ;; Programming languages that don't warrant a dedicated file. ;;; Code: +(require 'basics/package-management) + (use-package go-mode :mode ("\\.go$" . go-mode) ) diff --git a/init.d/text/common.el b/init.d/text/common.el index 6e59b36..4cdd6cc 100644 --- a/init.d/text/common.el +++ b/init.d/text/common.el @@ -1,11 +1,12 @@ ;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T23:37:37+0100> +;; Time-stamp: <2020-03-18T14:59:17+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'basics/global-variables) (use-package emacs diff --git a/init.d/text/latex.el b/init.d/text/latex.el index df2358e..2dbe2e5 100644 --- a/init.d/text/latex.el +++ b/init.d/text/latex.el @@ -1,11 +1,13 @@ ;;; latex.el --- Settings for LaTeX. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-15T14:27:07+0100> +;; Time-stamp: <2020-03-18T14:59:09+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) + (use-package tex-site :straight auctex :if (executable-find "xetex") diff --git a/init.d/text/misc.el b/init.d/text/misc.el index d08a606..5c9bc21 100644 --- a/init.d/text/misc.el +++ b/init.d/text/misc.el @@ -1,11 +1,12 @@ ;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-16T00:20:00+0100> +;; Time-stamp: <2020-03-18T14:59:05+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) (require 'text/common) (use-package conf-mode diff --git a/init.d/text/tools.el b/init.d/text/tools.el index 63c18a1..d59c068 100644 --- a/init.d/text/tools.el +++ b/init.d/text/tools.el @@ -1,11 +1,13 @@ ;;; tools.el --- Configure text tools. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-29T08:47:49+0100> +;; Time-stamp: <2020-03-18T14:58:57+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) + ;; Manual pages. (use-package man :defer t diff --git a/init.d/text/web.el b/init.d/text/web.el index 6fd69e9..26cd88a 100644 --- a/init.d/text/web.el +++ b/init.d/text/web.el @@ -1,11 +1,13 @@ ;;; web.el --- Settings for web stuff. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-02-05T19:35:38+0100> +;; Time-stamp: <2020-03-18T14:58:52+0100> ;;; Commentary: ;;; Code: +(require 'basics/package-management) + ;; Use company auto-completion for (X)HTML. (use-package company-web :after (company)