-
Notifications
You must be signed in to change notification settings - Fork 17
/
early-config.el
65 lines (41 loc) · 2.19 KB
/
early-config.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;;; early-config.el --- Early configuration file -*- coding: utf-8-unix; lexical-binding: t; -*-
;; Copyright (C) 2022-2024 Abdelhak Bougouffa
;; This file will be loaded at the end of `early-init.el', it can be used to set
;; some early initialization stuff, or to set some MinEmacs variables, specially
;; these used in macros.
;; Set log level to `info' rather than `error'
;; (unless minemacs-verbose-p
;; (setq minemacs-msg-level 2))
;; Setup proxies
;; (setq minemacs-proxies
;; '(("no" . "localhost,127.0.0.1,.local,.mylocaltld")
;; ("ftp" . "http://myproxy.local:8080/")
;; ("http" . "http://myproxy.local:8080/")
;; ("https" . "http://myproxy.local:8080/")))
;; Enable full screen at startup
;; (if-let* ((fullscreen (assq 'fullscreen default-frame-alist)))
;; (setcdr fullscreen 'fullboth)
;; (push '(fullscreen . fullboth) default-frame-alist))
;; Frames can have a transparent background via the `alpha-background'
;; parameter. For better experience, this value should be set early before any
;; frame gets created (i.e. in "early-init.el"). This can be used to set the
;; alpha value to 95%.
;; (push '(alpha-background . 95) default-frame-alist)
;; Transparent title bar on MacOS!
;; (when (featurep 'ns) (push '(ns-transparent-titlebar . t) default-frame-alist))
;; Force loading lazy packages immediately, not in idle time
;; (setq minemacs-not-lazy-p t)
;; Setup a `debug-on-message' to catch a wired message!
;; (setq debug-on-message "Package cl is deprecated")
;; Compute statistics to use with `use-package-report'
;; (setq use-package-compute-statistics t)
;; Tell MinEmacs to use `straight' to update built-in packages
;; (setq minemacs-update-builtin-packages
;; '(compat transient which-key tramp eglot org project editorconfig flymake xref eldoc))
;; Only load built-in packages. This can also be achieved by setting the
;; environment variable "MINEMACS_BUILTIN_ONLY"
;; (setq minemacs-builtin-only-p t)
;; Sometimes, a package gets loaded early at startup. This can be useful:
;; (defun +debug-on-require (feature)
;; (advice-add 'require :before (lambda (f &rest _) (when (eq f feature) (debug)))))
;; (+debug-on-require 'parinfer-rust-flymake)