[Emacs Lisp] Personal ~/.emacs.d/ configuration folder.
Public Sans is now default font + chad vs. virgin font meme
Changed files
- .gitignore
- custom.el
- fonts/DejaVuSans.ttf
- fonts/DejaVuSansMono.ttf
- fonts/Hermit-Regular.otf
- img/EmacsIcon.png
- img/EmacsIcon.svg
- smart-documents.org
- smart-documents.pdf
- templates/documents/default.org
- templates/documents/default.org_title
- templates/documents/general.org
- templates/documents/general.org_title
- themes/blendoit-light-theme.el
.gitignore
@@ -20,3 +20,4 @@
20
20
# Misc
21
21
.org-id-locations
22
22
async-bytecomp.log
23
Added:
fonts/**
custom.el
@@ -15,7 +15,7 @@
15
15
'(company-quickhelp-color-foreground "#DCDCCC")
16
16
'(custom-enabled-themes nil)
17
17
'(custom-safe-themes
18
Removed:
'("469032293efae7c0c86a95c39cab8b0ff8883cf4af3f2c292313cf6a71195b40" "8fb0949f4229860cf19034b924eb99c664327c9250fb92a2633bdf4b4abaf060" "c3a2a37e84e474c73c2b468553f9b5b73341419f72bbc1f4a4bcc1230ef86c85" "6495716176be0ced4142593b94a410135e0b373b686a869637824260d2f1ca11" "4467b1c8d7cc78fe98345c9c63eb62cf37844dc6868630add365494bde455715" "faeef63cb31f796b4bdf22f38e614934ab34d7deacaeb89b3e9cccf70aac5a85" "370fb305168fea1614535dc9ca30f496918eaca754b6c8969dd77fa872bec695" "e9f0c0c3397d07eb1c6c3551d67fd151e24bc6d72ec678841623ed572677c97a" "5c32236ef318adafe4102f627f330fa8f448046dfd838eef5cc09c7f682cf71f" "e343fecfb8d681186d594002c9b44ce48c2061599d7e4ec635cf1ca2a277a47a" "302dc61dc55600c7424f945dce9e74fba7df19f4a7bfb72aefd93193fa82ede4" "58f1f85248ba913387d1e7ed02a867161b315cfb5acff0c234e013ffd2577d22" "a256abf590bbc3257cc11d91a312e9fe8487dc1b95a5b7b732dd2f96a7fe5a45" "30368d6195cae9298304e6ac0534b90c85b1655965f1206c5c624270f0f46002" "311aa5df3223b5b4a7c638aad3befb4de9c7f46360d52acd1fa2cd2232b1dcbd" default))
18
Added:
'("0c5c0078062fafd063a227b4cebb49b65434ea6e9557e3aaf8bc3212ba986512" "469032293efae7c0c86a95c39cab8b0ff8883cf4af3f2c292313cf6a71195b40" "8fb0949f4229860cf19034b924eb99c664327c9250fb92a2633bdf4b4abaf060" "c3a2a37e84e474c73c2b468553f9b5b73341419f72bbc1f4a4bcc1230ef86c85" "6495716176be0ced4142593b94a410135e0b373b686a869637824260d2f1ca11" "4467b1c8d7cc78fe98345c9c63eb62cf37844dc6868630add365494bde455715" "faeef63cb31f796b4bdf22f38e614934ab34d7deacaeb89b3e9cccf70aac5a85" "370fb305168fea1614535dc9ca30f496918eaca754b6c8969dd77fa872bec695" "e9f0c0c3397d07eb1c6c3551d67fd151e24bc6d72ec678841623ed572677c97a" "5c32236ef318adafe4102f627f330fa8f448046dfd838eef5cc09c7f682cf71f" "e343fecfb8d681186d594002c9b44ce48c2061599d7e4ec635cf1ca2a277a47a" "302dc61dc55600c7424f945dce9e74fba7df19f4a7bfb72aefd93193fa82ede4" "58f1f85248ba913387d1e7ed02a867161b315cfb5acff0c234e013ffd2577d22" "a256abf590bbc3257cc11d91a312e9fe8487dc1b95a5b7b732dd2f96a7fe5a45" "30368d6195cae9298304e6ac0534b90c85b1655965f1206c5c624270f0f46002" "311aa5df3223b5b4a7c638aad3befb4de9c7f46360d52acd1fa2cd2232b1dcbd" default))
19
19
'(fci-rule-color "#383838")
20
20
'(fringe-mode 0 nil (fringe))
21
21
'(indicate-empty-lines t)
fonts/DejaVuSans.ttf
Binary files differ
fonts/DejaVuSansMono.ttf
Binary files differ
fonts/Hermit-Regular.otf
Binary files differ
img/EmacsIcon.png
Binary files differ
img/EmacsIcon.svg
@@ -0,0 +1,286 @@
1
Added:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
Added:
<svg
3
Added:
xmlns:dc="http://purl.org/dc/elements/1.1/"
4
Added:
xmlns:cc="http://creativecommons.org/ns#"
5
Added:
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
Added:
xmlns:svg="http://www.w3.org/2000/svg"
7
Added:
xmlns="http://www.w3.org/2000/svg"
8
Added:
xmlns:xlink="http://www.w3.org/1999/xlink"
9
Added:
xml:space="preserve"
10
Added:
id="svg4768"
11
Added:
viewBox="0.171 0.201 512 512"
12
Added:
height="48"
13
Added:
width="48"
14
Added:
version="1.0"><metadata
15
Added:
id="metadata70"><rdf:RDF><cc:Work
16
Added:
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
17
Added:
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><!-- Gnu Emacs Icon
18
Added:
Copyright (C) 2008-2017 Free Software Foundation, Inc.
19
Added:
20
Added:
Author: Nicolas Petton <nicolas@petton.fr>
21
Added:
22
Added:
This file is part of GNU Emacs.
23
Added:
24
Added:
GNU Emacs is free software: you can redistribute it and/or modify
25
Added:
it under the terms of the GNU General Public License as published by
26
Added:
the Free Software Foundation; either version 3 of the License, or
27
Added:
(at your option) any later version.
28
Added:
29
Added:
GNU Emacs is distributed in the hope that it will be useful,
30
Added:
but WITHOUT ANY WARRANTY; without even the implied warranty of
31
Added:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32
Added:
GNU General Public License for more details.
33
Added:
34
Added:
You should have received a copy of the GNU General Public License
35
Added:
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
36
Added:
37
Added:
--><!-- Created with Inkscape (http://www.inkscape.org/) --><defs
38
Added:
id="defs4770"><linearGradient
39
Added:
id="linearGradient4292"><stop
40
Added:
id="stop4294"
41
Added:
offset="0"
42
Added:
style="stop-color:#411f5d;stop-opacity:1" /><stop
43
Added:
id="stop4296"
44
Added:
offset="1"
45
Added:
style="stop-color:#5b2a85;stop-opacity:1" /></linearGradient><linearGradient
46
Added:
id="linearGradient4284"><stop
47
Added:
offset="0"
48
Added:
style="stop-color:#8381c5;stop-opacity:1"
49
Added:
id="stop4286" /><stop
50
Added:
id="stop4290"
51
Added:
style="stop-color:#7e55b3;stop-opacity:0.99607843"
52
Added:
offset="0.56639391" /><stop
53
Added:
offset="1"
54
Added:
style="stop-color:#a52ecb;stop-opacity:0.99215686"
55
Added:
id="stop4288" /></linearGradient><linearGradient
56
Added:
id="linearGradient4898"><stop
57
Added:
id="stop4278"
58
Added:
style="stop-color:#bab8db;stop-opacity:1"
59
Added:
offset="0" /><stop
60
Added:
id="stop4280"
61
Added:
style="stop-color:#5955a9;stop-opacity:0.99159664"
62
Added:
offset="1" /></linearGradient><linearGradient
63
Added:
id="linearGradient3294"><stop
64
Added:
offset="0"
65
Added:
style="stop-color:#6376e6;stop-opacity:1"
66
Added:
id="stop3296" /><stop
67
Added:
offset="0.50094414"
68
Added:
style="stop-color:#222989;stop-opacity:1"
69
Added:
id="stop3302" /><stop
70
Added:
offset="1"
71
Added:
style="stop-color:#00003d;stop-opacity:1"
72
Added:
id="stop3298" /></linearGradient><linearGradient
73
Added:
id="linearGradient3284"><stop
74
Added:
offset="0"
75
Added:
style="stop-color:#000000;stop-opacity:1"
76
Added:
id="stop3286" /><stop
77
Added:
offset="0.84845906"
78
Added:
style="stop-color:#000000;stop-opacity:0.49803922"
79
Added:
id="stop3292" /><stop
80
Added:
offset="1"
81
Added:
style="stop-color:#000000;stop-opacity:0"
82
Added:
id="stop3288" /></linearGradient><linearGradient
83
Added:
id="linearGradient3274"><stop
84
Added:
offset="0"
85
Added:
style="stop-color:#000000;stop-opacity:1"
86
Added:
id="stop3276" /><stop
87
Added:
offset="1"
88
Added:
style="stop-color:#000000;stop-opacity:0"
89
Added:
id="stop3278" /></linearGradient><linearGradient
90
Added:
id="linearGradient3262"><stop
91
Added:
offset="0"
92
Added:
style="stop-color:#000000;stop-opacity:1"
93
Added:
id="stop3264" /><stop
94
Added:
offset="1"
95
Added:
style="stop-color:#000000;stop-opacity:0"
96
Added:
id="stop3266" /></linearGradient><linearGradient
97
Added:
id="linearGradient3242"><stop
98
Added:
offset="0"
99
Added:
style="stop-color:#282828;stop-opacity:1"
100
Added:
id="stop3244" /><stop
101
Added:
offset="0.39253417"
102
Added:
style="stop-color:#808080;stop-opacity:1"
103
Added:
id="stop3252" /><stop
104
Added:
offset="1"
105
Added:
style="stop-color:#d9d9d9;stop-opacity:1"
106
Added:
id="stop3246" /></linearGradient><linearGradient
107
Added:
id="linearGradient3202"><stop
108
Added:
offset="0"
109
Added:
style="stop-color:#2b2b2b;stop-opacity:1"
110
Added:
id="stop3204" /><stop
111
Added:
offset="0.5"
112
Added:
style="stop-color:#828383;stop-opacity:1"
113
Added:
id="stop3250" /><stop
114
Added:
offset="1"
115
Added:
style="stop-color:#dadbdb;stop-opacity:1"
116
Added:
id="stop3206" /></linearGradient><linearGradient
117
Added:
id="linearGradient4966"><stop
118
Added:
offset="0"
119
Added:
style="stop-color:#b6b3d8;stop-opacity:1"
120
Added:
id="stop4968" /><stop
121
Added:
offset="1"
122
Added:
style="stop-color:#b6b3d8;stop-opacity:0"
123
Added:
id="stop4970" /></linearGradient><linearGradient
124
Added:
id="linearGradient4938"><stop
125
Added:
offset="0"
126
Added:
style="stop-color:#000000;stop-opacity:1"
127
Added:
id="stop4940" /><stop
128
Added:
offset="1"
129
Added:
style="stop-color:#000000;stop-opacity:0"
130
Added:
id="stop4942" /></linearGradient><linearGradient
131
Added:
id="linearGradient4282"><stop
132
Added:
offset="0"
133
Added:
style="stop-color:#bab8db;stop-opacity:1"
134
Added:
id="stop4900" /><stop
135
Added:
offset="1"
136
Added:
style="stop-color:#5955a9;stop-opacity:0.99159664"
137
Added:
id="stop4902" /></linearGradient><linearGradient
138
Added:
id="linearGradient4876"><stop
139
Added:
offset="0"
140
Added:
style="stop-color:#d3d2e8;stop-opacity:1"
141
Added:
id="stop4878" /><stop
142
Added:
offset="1"
143
Added:
style="stop-color:#5955a9;stop-opacity:0.99159664"
144
Added:
id="stop4880" /></linearGradient><radialGradient
145
Added:
gradientTransform="matrix(0.6817439,0,0,0.5905355,-3.8523706,-28.935273)"
146
Added:
gradientUnits="userSpaceOnUse"
147
Added:
xlink:href="#linearGradient4898"
148
Added:
id="radialGradient4892"
149
Added:
fy="-108.96888"
150
Added:
fx="20.951529"
151
Added:
r="266.76535"
152
Added:
cy="-108.96888"
153
Added:
cx="20.951529" /><radialGradient
154
Added:
gradientTransform="matrix(1,0,0,0.1854103,0,383.88493)"
155
Added:
gradientUnits="userSpaceOnUse"
156
Added:
xlink:href="#linearGradient4938"
157
Added:
id="radialGradient4944"
158
Added:
fy="471.26172"
159
Added:
fx="233.8876"
160
Added:
r="170.49393"
161
Added:
cy="471.26172"
162
Added:
cx="233.8876" /><radialGradient
163
Added:
gradientTransform="matrix(1,0,0,0.9121621,0,32.654948)"
164
Added:
gradientUnits="userSpaceOnUse"
165
Added:
xlink:href="#linearGradient4966"
166
Added:
id="radialGradient4972"
167
Added:
fy="371.76376"
168
Added:
fx="299.70135"
169
Added:
r="76.696358"
170
Added:
cy="371.76376"
171
Added:
cx="299.70135" /><radialGradient
172
Added:
gradientTransform="matrix(0.414705,0.3300575,-0.5059004,0.6356454,346.95314,49.479585)"
173
Added:
gradientUnits="userSpaceOnUse"
174
Added:
xlink:href="#linearGradient3202"
175
Added:
id="radialGradient3210"
176
Added:
fy="390.45248"
177
Added:
fx="289.44067"
178
Added:
r="17.67668"
179
Added:
cy="390.45248"
180
Added:
cx="289.44067" /><radialGradient
181
Added:
gradientTransform="matrix(0.414705,0.3300575,-0.5059004,0.6356454,448.41009,-65.398074)"
182
Added:
gradientUnits="userSpaceOnUse"
183
Added:
xlink:href="#linearGradient3202"
184
Added:
id="radialGradient3238"
185
Added:
fy="382.14804"
186
Added:
fx="283.50717"
187
Added:
r="17.67668"
188
Added:
cy="382.14804"
189
Added:
cx="283.50717" /><radialGradient
190
Added:
gradientTransform="matrix(-6.5565014e-2,-5.9721765e-2,1.6871024,-1.8521705,171.90774,540.51473)"
191
Added:
gradientUnits="userSpaceOnUse"
192
Added:
xlink:href="#linearGradient3242"
193
Added:
id="radialGradient3248"
194
Added:
fy="181.18982"
195
Added:
fx="418.45551"
196
Added:
r="63.068935"
197
Added:
cy="181.18982"
198
Added:
cx="418.45551" /><radialGradient
199
Added:
gradientTransform="matrix(0.4055116,-3.3440123e-2,0.1034174,4.3988695,177.23251,-1191.6649)"
200
Added:
gradientUnits="userSpaceOnUse"
201
Added:
xlink:href="#linearGradient3262"
202
Added:
id="radialGradient3268"
203
Added:
fy="357.33591"
204
Added:
fx="354.51709"
205
Added:
r="33.712105"
206
Added:
cy="357.33591"
207
Added:
cx="354.51709" /><radialGradient
208
Added:
gradientTransform="matrix(-0.1339874,-0.1146812,0.3079048,-0.3597394,444.23592,395.03849)"
209
Added:
gradientUnits="userSpaceOnUse"
210
Added:
xlink:href="#linearGradient3274"
211
Added:
id="radialGradient3280"
212
Added:
fy="223.55537"
213
Added:
fx="510.58469"
214
Added:
r="132.28336"
215
Added:
cy="223.55537"
216
Added:
cx="510.58469" /><radialGradient
217
Added:
gradientTransform="matrix(-1.2497569,1.3798305,-9.6289463e-2,-7.2974479e-2,674.3826,-70.590682)"
218
Added:
gradientUnits="userSpaceOnUse"
219
Added:
xlink:href="#linearGradient3284"
220
Added:
id="radialGradient3290"
221
Added:
fy="-158.17821"
222
Added:
fx="284.4671"
223
Added:
r="110.2972"
224
Added:
cy="-158.17821"
225
Added:
cx="284.4671" /><radialGradient
226
Added:
gradientTransform="matrix(-0.1008165,-8.0872321e-2,1.0745309,-1.3395252,13.843287,784.79288)"
227
Added:
gradientUnits="userSpaceOnUse"
228
Added:
xlink:href="#linearGradient3294"
229
Added:
id="radialGradient3300"
230
Added:
fy="356.62274"
231
Added:
fx="425.51019"
232
Added:
r="143.34167"
233
Added:
cy="356.62274"
234
Added:
cx="425.51019" /><filter
235
Added:
height="1.088351"
236
Added:
y="-0.044175496"
237
Added:
width="1.0892536"
238
Added:
x="-0.044626798"
239
Added:
id="filter4350"
240
Added:
style="color-interpolation-filters:sRGB"><feGaussianBlur
241
Added:
id="feGaussianBlur4352"
242
Added:
stdDeviation="8.7848425" /></filter><linearGradient
243
Added:
y2="300.73987"
244
Added:
x2="236.61363"
245
Added:
y1="-161.8512"
246
Added:
x1="-122.20192"
247
Added:
spreadMethod="pad"
248
Added:
gradientTransform="matrix(0.87385837,0,0,0.82818057,246.00762,250.28138)"
249
Added:
gradientUnits="userSpaceOnUse"
250
Added:
id="linearGradient4245"
251
Added:
xlink:href="#linearGradient4284" /><linearGradient
252
Added:
y2="66.018341"
253
Added:
x2="173.94518"
254
Added:
y1="396.6066"
255
Added:
x1="447.80933"
256
Added:
gradientTransform="matrix(0.98684959,0,0,0.98684959,3.0344187,2.5250397)"
257
Added:
gradientUnits="userSpaceOnUse"
258
Added:
id="linearGradient4247"
259
Added:
xlink:href="#linearGradient4292" /></defs><rect
260
Added:
style="fill:none;display:none"
261
Added:
id="rect4772"
262
Added:
y="0.20100001"
263
Added:
x="0.171"
264
Added:
height="512"
265
Added:
width="512" /><g
266
Added:
style="display:none"
267
Added:
id="g4788"><g
268
Added:
style="display:inline"
269
Added:
id="g4790" /></g><g
270
Added:
style="display:none"
271
Added:
id="g4806"><g
272
Added:
style="display:inline"
273
Added:
id="g4808"><path
274
Added:
style="fill:#050505;display:none"
275
Added:
id="path4810"
276
Added:
d="M 349.098,256.651 C 348.833,256.397 386.735,284.256 388.519,281.663 C 394.881,272.411 470.565,188.526 473.303,165.427 C 473.545,163.424 472.787,161.331 472.787,161.331 C 472.787,161.331 471.597,161.187 466.462,157.017 C 463.77,154.825 460.979,152.436 460.979,152.436 C 444.925,153.434 403.094,193.995 349.917,256.004" /></g></g><path
277
Added:
style="opacity:0.40500004;fill:#211f46;fill-opacity:0.99607843;stroke:#0a0b1b;stroke-width:8.53333378;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter4350)"
278
Added:
id="path4233"
279
Added:
d="m 491.66937,257.75916 c 0,131.79436 -105.76,238.63481 -236.22155,238.63481 -130.46155,0 -236.221539,-106.84045 -236.221539,-238.63481 0,-131.79437 105.759989,-238.634808 236.221539,-238.634808 130.46155,0 236.22155,106.840438 236.22155,238.634808 z"
280
Added:
transform="matrix(0.98684957,0,0,0.98684957,3.0344041,2.5250397)" /><path
281
Added:
d="m 488.23812,256.89456 c 0,130.06121 -104.3692,235.49665 -233.1151,235.49665 -128.7459,0 -233.115201,-105.43544 -233.115201,-235.49665 0,-130.06123 104.369301,-235.49666 233.115201,-235.49666 128.7459,0 233.1151,105.43543 233.1151,235.49666 z"
282
Added:
id="path4235"
283
Added:
style="opacity:1;fill:url(#linearGradient4245);fill-opacity:1;stroke:url(#linearGradient4247);stroke-width:13.33816814;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /><path
284
Added:
d="m 175.0003,422.31057 c 0,0 19.7385,1.39634 45.1312,-0.84159 10.2834,-0.9063 49.3267,-4.74128 78.5169,-11.14289 0,0 35.5899,-7.61669 54.6301,-14.63335 19.9225,-7.34185 30.7636,-13.57304 35.6433,-22.40243 -0.2128,-1.80907 1.5024,-8.22438 -7.685,-12.07788 -23.4887,-9.85199 -50.73,-8.06998 -104.6338,-9.21285 -59.7772,-2.05391 -79.6627,-12.05971 -90.2556,-20.11838 -10.1579,-8.17519 -5.05,-30.79254 38.4742,-50.71499 21.9244,-10.60898 107.8705,-30.18698 107.8705,-30.18698 -28.9451,-14.30725 -82.9186,-39.45893 -94.0134,-44.89023 -9.7308,-4.76348 -25.303,-11.93595 -28.6785,-20.61368 -3.8271,-8.33089 9.0383,-15.50726 16.2248,-17.56236 23.1448,-6.67602 55.8182,-10.82538 85.5548,-11.29122 14.9472,-0.23417 17.3734,-1.19586 17.3734,-1.19586 20.6243,-3.42116 34.2014,-17.53175 28.5446,-39.87876 -5.0783,-22.81046 -31.8617,-36.21365 -57.3138,-31.57361 -23.9682,4.36956 -81.7378,21.15007 -81.7378,21.15007 71.4075,-0.61803 83.3592,0.57378 88.697,8.03676 3.1523,4.40742 -1.4324,10.45068 -20.4765,13.56099 -20.733,3.38616 -63.8312,7.46399 -63.8312,7.46399 -41.3449,2.4554 -70.4682,2.61974 -79.203,21.11314 -5.7065,12.08196 6.0854,22.7633 11.2538,29.4493 21.8407,24.28905 53.3882,37.38879 73.6948,47.03553 7.6405,3.62963 30.0586,10.48407 30.0586,10.48407 -65.8782,-3.62335 -113.4003,16.6055 -141.2764,39.89622 -31.5288,29.16261 -17.581403,63.92354 47.0124,85.3268 38.1517,12.6416 57.0725,18.58695 113.9815,13.46232 33.52,-1.80673 38.8041,-0.73155 39.1383,2.01892 0.4705,3.87242 -37.2311,13.49165 -47.524,16.4606 -26.1853,7.55306 -94.8276,22.80438 -95.1712,22.87835 z"
285
Added:
id="path4237"
286
Added:
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /></svg>
smart-documents.org
@@ -2,18 +2,18 @@
2
2
3
3
#+TITLE: Smart Documents
4
4
#+AUTHOR: Marius Peter
5
Removed:
#+DATE: <2020-07-23 Thu>
5
Added:
#+DATE: <2020-10-23 Fri>
6
6
#+EMAIL: blendoit@gmail.com
7
7
#+STARTUP: showall
8
Removed:
#+SETUPFILE: ~/.emacs.d/templates/documents/general.org
9
Removed:
#+INCLUDE: ~/.emacs.d/templates/documents/general.org_title
8
Added:
#+SETUPFILE: ~/.emacs.d/templates/documents/default.org
9
Added:
#+INCLUDE: ~/.emacs.d/templates/documents/default.org_title
10
10
11
11
# By default, Org Babel does not tangle blocks.
12
12
#+PROPERTY: header-args :tangle yes
13
13
14
14
# Beautiful font pairing
15
Removed:
#+LATEX_HEADER: \setmainfont{urw gothic}
16
Removed:
#+LATEX_HEADER: \setmonofont{hermit}
15
Added:
# #+LATEX_HEADER: \setmainfont{urw gothic}
16
Added:
# #+LATEX_HEADER: \setmonofont{hermit}
17
17
18
18
#+LATEX: \begin{abstract}
19
19
The idea of /Smart Documents/ came to me as I was reflecting on how to improve
@@ -53,10 +53,12 @@
53
53
will help you understand all the symbols in this file, if you are browsing this
54
54
paper within Emacs itself:
55
55
56
Removed:
- ~C-h f~ describe function
57
Removed:
- ~C-h v~ describe variable
58
Removed:
- ~C-h k~ describe key
56
Added:
- ~C-h f~ :: describe function
57
Added:
- ~C-h v~ :: describe variable
58
Added:
- ~C-h k~ :: describe key
59
59
60
Added:
You can always press ~f1~ to access Emacs in-built help.
61
Added:
60
62
* TODO First-time setup
61
63
62
64
The following code blocks are normally evaluated once---upon starting Emacs for
@@ -111,54 +113,22 @@
111
113
became available in version 27.1.] In it, we disable GUI elements that would
112
114
otherwise be loaded and displayed once Emacs is ready to accept user input.
113
115
114
Removed:
#+BEGIN_SRC emacs-lisp
115
Removed:
(setq my/early-init-file (concat user-emacs-directory "early-init.el"))
116
Added:
It can be found here: [[file:early-init.el]]
116
117
117
Removed:
(defun my/create-early-init-file ()
118
Removed:
"Create `early-init.el' file in `user-emacs-directory'."
119
Removed:
(write-region
120
Removed:
"(menu-bar-mode -1)
121
Removed:
(tool-bar-mode -1)
122
Removed:
(menu-bar-bottom-and-right-window-divider)
123
Removed:
(setq gc-cons-threshold 100000000)" nil my/early-init-file))
124
Removed:
125
Removed:
(unless (file-exists-p my/early-init-file)
126
Removed:
(menu-bar-mode -1)
127
Removed:
(tool-bar-mode -1)
128
Removed:
(menu-bar-bottom-and-right-window-divider)
129
Removed:
(setq gc-cons-threshold 100000000)
130
Removed:
(my/create-early-init-file))
131
Removed:
#+END_SRC
132
Removed:
133
118
** The second file to load
134
119
135
120
#+BEGIN_QUOTE
136
121
Traditionally, file =~/.emacs= is used as the init file, although Emacs also
137
122
looks at =~/.emacs.el=, =~/.emacs.d/init.el=, =~/.config/emacs/init.el=, or
138
Removed:
other
139
Removed:
locations.[fn::[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html]]]
123
Added:
other locations.
124
Added:
125
Added:
From the GNU website[fn::[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html]]]
140
126
#+END_QUOTE
141
127
142
Removed:
#+BEGIN_SRC emacs-lisp
143
Removed:
(setq my/init-file (concat user-emacs-directory "init.el"))
128
Added:
This file can be found here: [[file:init.el]]
144
129
145
Removed:
(defun my/create-init-file ()
146
Removed:
"Create `init.el' file in `user-emacs-directory'."
147
Removed:
(write-region
148
Removed:
"(menu-bar-mode -1)
149
Removed:
(tool-bar-mode -1)
150
Removed:
(menu-bar-bottom-and-right-window-divider)" nil my/init-file))
130
Added:
If no file is found, Emacs then loads in its purely vanilla state.
151
131
152
Removed:
;; TODO This is a copy paste of `early.init.el'. Should be changed.
153
Removed:
(unless (file-exists-p my/init-file)
154
Removed:
(menu-bar-mode -1)
155
Removed:
(tool-bar-mode -1)
156
Removed:
(menu-bar-bottom-and-right-window-divider)
157
Removed:
(my/create-init-file))
158
Removed:
#+END_SRC
159
Removed:
160
Removed:
If no file is found, Emacs then loads in its purely vanilla state.
161
Removed:
162
132
** Profiling --- start
163
133
164
134
We start the profiler now , and will interrupt it in Section [[Profiling ---
@@ -273,8 +243,8 @@
273
243
We also set the dimensions of subsequent frames:
274
244
275
245
#+BEGIN_SRC emacs-lisp
276
Removed:
(add-to-list 'default-frame-alist '(width . 100))
277
Removed:
(add-to-list 'default-frame-alist '(height . 50))
246
Added:
(add-to-list 'default-frame-alist '(width . 50))
247
Added:
(add-to-list 'default-frame-alist '(height . 30))
278
248
#+END_SRC
279
249
280
250
*** GNU/Linux
@@ -360,13 +330,17 @@
360
330
*** Open the agenda
361
331
362
332
#+BEGIN_SRC emacs-lisp
363
Removed:
(global-set-key (kbd "C-c a") 'org-agenda-list)
333
Added:
(global-set-key [f5] 'org-agenda-list)
364
334
#+END_SRC
365
335
366
336
*** Open the diary
367
337
368
338
#+BEGIN_SRC emacs-lisp
369
Removed:
(global-set-key (kbd "C-c d") 'my/find-diary-file)
339
Added:
(global-set-key [f6]
340
Added:
'(lambda ()
341
Added:
"Load `org-agenda-diary-file'."
342
Added:
(interactive)
343
Added:
(find-file org-agenda-diary-file)))
370
344
#+END_SRC
371
345
372
346
** Windows
@@ -385,20 +359,28 @@
385
359
386
360
*** Close window and quit
387
361
362
Added:
The following bindings lead to more natural window & frame exit behaviors.
363
Added:
364
Added:
#+NAME: close-window-or-previous-buffer
388
365
#+BEGIN_SRC emacs-lisp
389
Removed:
(defun my/delete-window-or-previous-buffer ()
390
Removed:
"Delete window; if sole window, previous buffer."
391
Removed:
(interactive)
392
Removed:
(if (> (length (window-list)) 1)
393
Removed:
(delete-window)
394
Removed:
(previous-buffer)))
366
Added:
(global-set-key (kbd "C-w")
367
Added:
'(lambda ()
368
Added:
"Delete window; if sole window, previous buffer."
369
Added:
(interactive)
370
Added:
(if (> (length (window-list)) 1)
371
Added:
(delete-window)
372
Added:
(previous-buffer))))
395
373
#+END_SRC
396
374
397
Removed:
The following bindings lead to more natural exit behaviors.
398
Removed:
375
Added:
#+NAME: delete-frame-or-kill-emacs
399
376
#+BEGIN_SRC emacs-lisp
400
Removed:
(global-set-key (kbd "C-w") 'my/delete-window-or-previous-buffer)
401
Removed:
(global-set-key (kbd "C-q") 'save-buffers-kill-terminal)
377
Added:
(global-set-key (kbd "C-q")
378
Added:
'(lambda ()
379
Added:
(interactive)
380
Added:
"delete frame; if sole frame, kill Emacs."
381
Added:
(if (> (length (frame-list)) 1)
382
Added:
(delete-frame)
383
Added:
(kill-emacs))))
402
384
#+END_SRC
403
385
404
386
** Text display
@@ -576,11 +558,10 @@
576
558
for which the heading or body contain a matching =org-time-stamp=.[fn::An
577
559
=org-time-stamp= can be inserted with ~C-c .~ (period)]
578
560
561
Added:
We open the agenda in a separate window.
562
Added:
579
563
#+BEGIN_SRC emacs-lisp
580
Removed:
(defun my/find-diary-file ()
581
Removed:
"Load `org-agenda-diary-file'."
582
Removed:
(interactive)
583
Removed:
(find-file org-agenda-diary-file))
564
Added:
(setq org-agenda-window-setup 'other-frame)
584
565
#+END_SRC
585
566
586
567
*** Timestamps
@@ -937,9 +918,9 @@
937
918
938
919
#+BEGIN_SRC emacs-lisp
939
920
(use-package rainbow-delimiters
940
Removed:
:config (add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
921
Added:
:config (add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
941
922
(electric-pair-mode)
942
Removed:
(show-paren-mode 1)
923
Added:
(show-paren-mode 1)
943
924
#+END_SRC
944
925
945
926
*** Highlight ``color keywords'' in their color
@@ -1069,13 +1050,14 @@
1069
1050
checkbox lists.
1070
1051
1071
1052
#+BEGIN_SRC emacs-lisp
1072
Removed:
(add-hook 'org-mode-hook
1073
Removed:
(lambda ()
1074
Removed:
"Beautify Org checkbox symbols."
1075
Removed:
(push '("[ ]" . "☐") prettify-symbols-alist)
1076
Removed:
(push '("[X]" . "☑" ) prettify-symbols-alist)
1077
Removed:
(push '("[-]" . "⬛" ) prettify-symbols-alist)
1078
Removed:
(prettify-symbols-mode)))
1053
Added:
(when (string-equal system-type "gnu/linux")
1054
Added:
(add-hook 'org-mode-hook
1055
Added:
(lambda ()
1056
Added:
"Beautify Org checkbox symbols."
1057
Added:
(push '("[ ]" . "☐") prettify-symbols-alist)
1058
Added:
(push '("[X]" . "☑" ) prettify-symbols-alist)
1059
Added:
(push '("[-]" . "⬛" ) prettify-symbols-alist)
1060
Added:
(prettify-symbols-mode))))
1079
1061
#+END_SRC
1080
1062
1081
1063
** Minibuffer
@@ -1153,19 +1135,34 @@
1153
1135
(setq-default cursor-type 'bar)
1154
1136
#+END_SRC
1155
1137
1156
Removed:
*** TODO Fonts
1138
Added:
*** Fonts
1157
1139
1158
Removed:
- Hack :: ~default~ and ~fixed-pitch~
1140
Added:
**** Currently used /chad fonts/
1141
Added:
1142
Added:
- Hack[fn::https://sourcefoundry.org/hack/] :: ~default~ and ~fixed-pitch~,
1143
Added:
default code font
1159
1144
- Legible, modern monospace font
1160
1145
- Strict, sharp, uncompromising
1161
Removed:
- Liberation Sans :: ~variable-pitch~
1162
Removed:
- Libre alternative to Arial
1163
Removed:
- Unoffensive
1164
Removed:
- Open Sans :: ~variable-pitch~
1165
Removed:
- Hermit :: ~org-block~, anything Org/meta in general
1146
Added:
- Public Sans[fn::https://public-sans.digital.gov/] :: ~variable-pitch~,
1147
Added:
default body text font
1148
Added:
- Very modern yet neutral
1149
Added:
- Designed for the U.S. government
1150
Added:
- Exceptional color on screen
1151
Added:
- Hermit[fn::https://pcaro.es/p/hermit/] :: ~org-block~, anything Org/meta in
1152
Added:
general
1166
1153
- Slightly wider than Hack
1167
1154
- More opinionated shapes
1168
Removed:
- Very legible parentheses
1155
Added:
- Very legible parentheses, very useful for Emacs Lisp!
1156
Added:
1157
Added:
**** Previously used /virgin fonts/
1158
Added:
1159
Added:
- +Liberation Sans+[fn::https://en.wikipedia.org/wiki/Liberation_fonts] :: +~variable-pitch~+
1160
Added:
- Metrically compatible with /Arial/
1161
Added:
- Unoffensive, unambitious forms
1162
Added:
- Pretty angular letters, it's like you're trying to read squares
1163
Added:
- +Open Sans+[fn::https://www.opensans.com/] :: +~variable-pitch~+
1164
Added:
- Ooh geometric Bauhaus influences, look at me
1165
Added:
- Tall leading height is =h a r m o n i o u s=
1169
1166
1170
1167
**** Using proportional fonts when needed
1171
1168
smart-documents.pdf
Binary files differ
templates/documents/default.org
@@ -0,0 +1,37 @@
1
Added:
# -*- mode: org; eval: (visual-line-mode); -*- #
2
Added:
3
Added:
# Hide Org mode tags
4
Added:
#+OPTIONS: tags:nil
5
Added:
6
Added:
#+LATEX_CLASS: article
7
Added:
8
Added:
# Ensure room for header and footer
9
Added:
#+LATEX_HEADER: \usepackage[left=1in,right=1in,top=1in,bottom=1.75in]{geometry}
10
Added:
# Beautiful fonts ONLY
11
Added:
#+LATEX_HEADER: \usepackage{fontspec}
12
Added:
#+LATEX_HEADER: \setmainfont{public sans}
13
Added:
#+LATEX_HEADER: \setmonofont{hack}
14
Added:
15
Added:
# Get total page count to insert in footer
16
Added:
#+LATEX_HEADER: \usepackage{lastpage}
17
Added:
#+LATEX_HEADER: \usepackage{titling}
18
Added:
19
Added:
# #+LATEX_HEADER: \usepackage{enumitem}
20
Added:
# #+LATEX_HEADER: \setlist{noitemsep}
21
Added:
22
Added:
# Required to reset numbering of table rows from table to table.
23
Added:
#+LATEX_HEADER: \usepackage{etoolbox}
24
Added:
#+LATEX_HEADER: \makeatletter
25
Added:
#+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@}
26
Added:
#+LATEX_HEADER: \makeatother
27
Added:
28
Added:
# Headers and footers.
29
Added:
#+LATEX_HEADER: \usepackage{fancyhdr}
30
Added:
# Space in the header for a logo or image.
31
Added:
#+LATEX_HEADER: \setlength{\headheight}{36pt}
32
Added:
#+LATEX_HEADER_EXTRA: \pagestyle{fancy}
33
Added:
#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\theauthor}}
34
Added:
#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}}
35
Added:
#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate}
36
Added:
#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt}
37
Added:
#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[10pt] Page \thepage/\pageref*{LastPage}\\[8pt] \footnotesize Compiled with \includegraphics[height=1.8ex]{./img/EmacsIcon.png}\\ Copyright \copyright~2020 Marius Peter. All rights reserved. }
templates/documents/default.org_title
@@ -0,0 +1,16 @@
1
Added:
# -*- mode: org; -*- #
2
Added:
3
Added:
#+OPTIONS: title:nil toc:nil
4
Added:
# Increase spacing between header rule and main text body
5
Added:
#+LATEX: \rule[-2in]{0pt}{0pt}\\
6
Added:
#+LATEX: \Huge\textbf{\thetitle}\\[1in]
7
Added:
#+LATEX: \LARGE\texttt{\theauthor}\\
8
Added:
#+LATEX: \thedate
9
Added:
10
Added:
#+LATEX: \clearpage
11
Added:
12
Added:
#+LATEX: \normalsize
13
Added:
#+LATEX: \tableofcontents
14
Added:
#+LATEX: \listoffigures
15
Added:
#+LATEX: \listoftables
16
Added:
#+LATEX: \clearpage
templates/documents/general.org
@@ -1,35 +0,0 @@
1
Removed:
# -*- mode: org; -*- #
2
Removed:
3
Removed:
# Hide Org mode tags
4
Removed:
#+OPTIONS: tags:nil
5
Removed:
6
Removed:
#+LATEX_CLASS: article
7
Removed:
8
Removed:
# Ensure room for header and footer
9
Removed:
#+LATEX_HEADER: \usepackage[left=1in,right=1in,top=1in,bottom=1.75in]{geometry}
10
Removed:
# Beautiful fonts ONLY
11
Removed:
#+LATEX_HEADER: \usepackage{fontspec}
12
Removed:
#+LATEX_HEADER: \setmainfont{linux libertine}
13
Removed:
#+LATEX_HEADER: \setmonofont{hermit}
14
Removed:
15
Removed:
# Get total page count to insert in footer
16
Removed:
#+LATEX_HEADER: \usepackage{lastpage}
17
Removed:
#+LATEX_HEADER: \usepackage{titling}
18
Removed:
19
Removed:
# #+LATEX_HEADER: \usepackage{enumitem}
20
Removed:
# #+LATEX_HEADER: \setlist{noitemsep}
21
Removed:
22
Removed:
# Required to reset numbering of table rows from table to table.
23
Removed:
#+LATEX_HEADER: \usepackage{etoolbox}
24
Removed:
#+LATEX_HEADER: \makeatletter
25
Removed:
#+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@}
26
Removed:
#+LATEX_HEADER: \makeatother
27
Removed:
28
Removed:
#+LATEX_HEADER: \usepackage{fancyhdr}
29
Removed:
#+LATEX_HEADER: \setlength{\headheight}{40pt}
30
Removed:
#+LATEX_HEADER_EXTRA: \pagestyle{fancy}
31
Removed:
#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\theauthor}}
32
Removed:
#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}}
33
Removed:
#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate}
34
Removed:
#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.4pt}
35
Removed:
#+LATEX_HEADER_EXTRA: \fancyfoot[C]{Page \thepage/\pageref*{LastPage}\\ \hrulefill \\ \footnotesize Copyright \copyright~2020 Marius Peter. All rights reserved.}
templates/documents/general.org_title
@@ -1,16 +0,0 @@
1
Removed:
# -*- mode: org; -*- #
2
Removed:
3
Removed:
#+OPTIONS: title:nil toc:nil
4
Removed:
# Increase spacing between header rule and main text body
5
Removed:
#+LATEX: \rule[-2in]{0pt}{0pt}\\
6
Removed:
#+LATEX: \Huge\textbf{\thetitle}\\[1in]
7
Removed:
#+LATEX: \LARGE\texttt{\theauthor}\\
8
Removed:
#+LATEX: \thedate
9
Removed:
10
Removed:
#+LATEX: \clearpage
11
Removed:
12
Removed:
#+LATEX: \normalsize
13
Removed:
#+LATEX: \tableofcontents
14
Removed:
#+LATEX: \listoffigures
15
Removed:
#+LATEX: \listoftables
16
Removed:
#+LATEX: \clearpage
themes/blendoit-light-theme.el
@@ -5,7 +5,7 @@
5
5
'blendoit-light
6
6
'(cursor ((t (:background "red"))))
7
7
'(fixed-pitch ((t (:family "Hack"))))
8
Removed:
'(variable-pitch ((t (:family "Open Sans"))))
8
Added:
'(variable-pitch ((t (:family "Public Sans"))))
9
9
'(escape-glyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown"))))
10
10
'(homoglyph ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown"))))
11
11
'(minibuffer-prompt ((t (:inherit org-meta-line))))
@@ -60,7 +60,7 @@
60
60
'(org-checkbox-statistics-todo ((t (:inherit org-checkbox :foreground "tomato"))))
61
61
'(org-checkbox-statistics-done ((t (:inherit org-checkbox :foreground "ForestGreen"))))
62
62
'(org-verbatim ((t (:inherit fixed-pitch :height 0.9 :foreground "DodgerBlue1" :foundry "Hack"))))
63
Removed:
'(font-lock-doc-face ((t (:inherit font-lock-string-face :Family "Open Sans"))))
63
Added:
'(font-lock-doc-face ((t (:inherit font-lock-string-face :Family "Public Sans"))))
64
64
'(org-document-info ((t (:weight bold))))
65
65
'(org-table ((t (:height 0.8 :family "Hack"))))
66
66
'(org-block ((t (:height 0.8 :family "Hermit"))))