summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2023-06-20 20:46:12 +0200
committerMarius Peter <marius.peter@tutanota.com>2023-06-20 20:46:12 +0200
commit3a2086d5724e8ed12112584d12e0fbcb85bda8f4 (patch)
treeebae6d8953afabdfd2f27d85435da5593d0b426b
parente7ce923569cf6831e8fe23573ec13240e33630ae (diff)
Miscellaneous housekeeping.
-rw-r--r--smart-documents.org61
1 files changed, 33 insertions, 28 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 69cc7a6..28f8ac7 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -53,6 +53,7 @@ personal GNU Emacs customizations with a tutorial. This paper is a
Put them somewhere it makes sense.
+
* Introduction
The following sections were laid out very deliberately. When we start
@@ -122,7 +123,7 @@ from https://git-scm.com/download/win]
* Early setup
-** The first file to load
+** TODO The first file to load
:PROPERTIES:
:sd-unpack-path: init.el
:END:
@@ -159,6 +160,16 @@ This file can be found here: [[file:init.el]]
If no file is found, Emacs then loads in its purely vanilla state.
+** Server start
+
+Emacs can run as a server, spawning client windows as needed. This
+reduces start-up times, and enables access to all buffers from all
+frames.
+
+#+begin_src emacs-lisp :tangle yes
+ (server-start)
+#+end_src
+
** Profiling---start
We start the profiler now , and will interrupt it in Section
@@ -346,13 +357,12 @@ Backups are very important!
** Undo history
We save undo history in a designated directory, so as not to pollute
-our file hierarchy.
+our =~/.emacs.d/= file hierarchy.
#+BEGIN_SRC emacs-lisp :tangle yes
(setq undo-tree-history-directory-alist '(("." . "~/.cache/emacs/")))
#+END_SRC
-
** Initial and default frames
We set the dimensions of the initial frame:
@@ -404,12 +414,13 @@ function definition exists, until the keybinding is pressed.
** CUA mode
-The following bindings strive to further enhance CUA mode.[fn::Common
-User Access. This is a term coined by IBM which has influenced user
-navigation cues on all modern desktop OSes. From IBM's CUA, we get the
-=Ctrl-c= and =Ctrl-v= keyboard shortcuts.]
+The bindings in the following sections strive to further enhance CUA
+mode.[fn::Common User Access. This is a term coined by IBM which has
+influenced user navigation cues on all modern desktop OSes. From
+IBM's CUA, we get the =Ctrl-c=, =Ctrl-v=, and other keyboard
+shortcuts.]
-#+BEGIN_SRC emacs-lisp :tangle yes
+#+BEGIN_SRC emacs-lisp :tangle no
(cua-mode)
#+END_SRC
@@ -925,8 +936,6 @@ Yeah, a Telegram client exists for Emacs.
*** COMMENT Drawings
-
-
#+BEGIN_SRC ditaa :file resources/images/ditaa.png
+-----------+ +-----------------+
| c06F | | c06F |
@@ -1005,6 +1014,12 @@ Python is included by default on most Linux distributions.
(use-package haskell-mode)
#+END_SRC
+*** Smalltalk
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (use-package smalltalk-mode)
+#+END_SRC
+
*** Lua
# If I have to deal with luaotfload one more time, I swear...
@@ -1033,7 +1048,8 @@ These aren't tied to a particular language per se.
(use-package csv-mode)
#+END_SRC
-*** Interacting with PDFs
+*** COMMENT Interacting with PDFs
+# Doesn't work on Guix...
Org mode shines particularly when exporting to PDF---Org files can
reliably be shared and exported to PDF.
@@ -2037,24 +2053,13 @@ Without a carefully designed theme, our editor would become
unusable. Thus, we /describe/ two themes that were developed
*purposefully* and iteratively.
-#+BEGIN_SRC emacs-lisp :tangle no
- (load-theme 'sd-compagnon-dark)
-#+END_SRC
-
-#+BEGIN_SRC emacs-lisp :tangle no
- (load-theme 'molokai)
-#+END_SRC
-
-#+BEGIN_SRC emacs-lisp :tangle no
- (load-theme 'wombat)
-#+END_SRC
-
-#+BEGIN_SRC emacs-lisp :tangle no
- (load-theme 'sd-light)
-#+END_SRC
-
#+BEGIN_SRC emacs-lisp :tangle yes
- (load-theme 'sd-dark)
+ ;; (load-theme 'sd-compagnon-dark)
+ ;; (load-theme 'molokai)
+ (load-theme 'wombat)
+ ;; (load-theme 'sd-light)
+ ;; (load-theme 'sd-dark)
+ ;; (load-theme 'gotham)
#+END_SRC
** My light and dark themes
Copyright 2019--2024 Marius PETER