Emacs: Require package-management.el in init files.
This commit is contained in:
parent
b34f41c6bd
commit
18085e21de
|
@ -1,6 +1,6 @@
|
||||||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-03-10T14:32:14+0100>
|
;; Time-stamp: <2020-03-18T14:51:46+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Setup scratch buffer.
|
;; * Setup scratch buffer.
|
||||||
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:custom ((initial-scratch-message nil) ; Make scratch buffer empty,
|
:custom ((initial-scratch-message nil) ; Make scratch buffer empty,
|
||||||
(initial-major-mode 'gfm-mode)) ; and select mode.
|
(initial-major-mode 'gfm-mode)) ; and select mode.
|
||||||
|
@ -67,7 +69,6 @@
|
||||||
;; Dedicate windows to “purposes”.
|
;; Dedicate windows to “purposes”.
|
||||||
(use-package window-purpose
|
(use-package window-purpose
|
||||||
;; :pin melpa ; We need > 1.7 <https://github.com/bmag/emacs-purpose/issues/158>
|
;; :pin melpa ; We need > 1.7 <https://github.com/bmag/emacs-purpose/issues/158>
|
||||||
:defer nil
|
|
||||||
:config (progn
|
:config (progn
|
||||||
(purpose-mode)
|
(purpose-mode)
|
||||||
(add-to-list 'purpose-user-mode-purposes '(c++-mode . cpp))
|
(add-to-list 'purpose-user-mode-purposes '(c++-mode . cpp))
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
;;; early-packages.el --- Packages that need to be loaded early -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
;; Hide minor-mode from modeline.
|
;; Hide minor-mode from modeline.
|
||||||
(use-package diminish)
|
(use-package diminish)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; global-variables.el --- Set some global variables. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Banish customizations.
|
;; * Banish customizations.
|
||||||
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:diminish abbrev-mode
|
:diminish abbrev-mode
|
||||||
:diminish auto-fill-function
|
:diminish auto-fill-function
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; input.el --- Configure behaviour of input devices. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Setup mouse & keyboard behaviour.
|
;; * Setup mouse & keyboard behaviour.
|
||||||
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:custom ((mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line.
|
:custom ((mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line.
|
||||||
;; Paste text where the cursor is, not where the mouse is.
|
;; Paste text where the cursor is, not where the mouse is.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; package-management.el --- Initialize package management -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Set up straight
|
;; * Set up straight
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * treemacs
|
;; * treemacs
|
||||||
|
@ -9,6 +9,9 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
;; Directory tree.
|
;; Directory tree.
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
(use-package treemacs
|
(use-package treemacs
|
||||||
;; :pin melpa ; We need > 2.6 for lsp-treemacs.
|
;; :pin melpa ; We need > 2.6 for lsp-treemacs.
|
||||||
:demand t
|
:demand t
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
;;; client.el --- Network clients. -*- lexical-binding: t; -*-
|
;;; client.el --- Network clients. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-02-18T16:50:57+0100>
|
;; Time-stamp: <2020-03-18T14:57:07+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
;; Explore and test HTTP REST webservices.
|
;; Explore and test HTTP REST webservices.
|
||||||
(use-package restclient
|
(use-package restclient
|
||||||
:mode
|
:mode
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
|
|
||||||
;; Edit remote files.
|
;; Edit remote files.
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
|
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-03-15T14:29:24+0100>
|
;; Time-stamp: <2020-03-18T14:58:32+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
(require 'programming/common)
|
(require 'programming/common)
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
;;; elisp.el --- Packages and settings for elisp. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
;; Checker for the metadata in Emacs Lisp files.
|
;; Checker for the metadata in Emacs Lisp files.
|
||||||
(use-package flycheck-package
|
(use-package flycheck-package
|
||||||
:after (flycheck)
|
:after (flycheck)
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
|
|
||||||
;; Git integration.
|
;; Git integration.
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
(require 'programming/common)
|
(require 'programming/common)
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
;;; misc.el --- Miscellaneous programming languages. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; Programming languages that don't warrant a dedicated file.
|
;; Programming languages that don't warrant a dedicated file.
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
(use-package go-mode
|
(use-package go-mode
|
||||||
:mode ("\\.go$" . go-mode)
|
:mode ("\\.go$" . go-mode)
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
(require 'basics/global-variables)
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
;;; latex.el --- Settings for LaTeX. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
(use-package tex-site
|
(use-package tex-site
|
||||||
:straight auctex
|
:straight auctex
|
||||||
:if (executable-find "xetex")
|
:if (executable-find "xetex")
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
(require 'text/common)
|
(require 'text/common)
|
||||||
|
|
||||||
(use-package conf-mode
|
(use-package conf-mode
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
;;; tools.el --- Configure text tools. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
;; Manual pages.
|
;; Manual pages.
|
||||||
(use-package man
|
(use-package man
|
||||||
:defer t
|
:defer t
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
;;; web.el --- Settings for web stuff. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'basics/package-management)
|
||||||
|
|
||||||
;; Use company auto-completion for (X)HTML.
|
;; Use company auto-completion for (X)HTML.
|
||||||
(use-package company-web
|
(use-package company-web
|
||||||
:after (company)
|
:after (company)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user