summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org32
1 files changed, 16 insertions, 16 deletions
diff --git a/init.org b/init.org
index 162f9a9..665dbb4 100644
--- a/init.org
+++ b/init.org
@@ -15,7 +15,7 @@ With multiple files I spend too much time trying to find the best place for any
* How to use this?
:PROPERTIES:
-:noweb-ref: compile-init
+:header-args: :noweb-ref compile-init
:END:
We take all code blocks in this file and assemble an =init.el= from it if the source file =init.org= is younger. At startup time we check if the =init.el= has to be regenerated.
@@ -33,7 +33,7 @@ We take all code blocks in this file and assemble an =init.el= from it if the so
* Initialise packages
:PROPERTIES:
-:noweb-ref: packages
+:header-args: :noweb-ref packages
:END:
Emacs is an operating system and I use it as such (see [[http://elephly.net/posts/2016-02-14-ilovefs-emacs.html][this blog post]]). I rely on quite a few extensions that have been made available on various ELPA repositories. Recently, I have moved to installing and managing Emacs packages like any other software package on my system with the functional package manager [[https://gnu.org/s/guix][GNU Guix]]. I find this more reliable, although at first it is slightly less convenient as I can no longer just use =package.el= but first need to package the Elisp code for Guix.
@@ -144,7 +144,7 @@ Install packages as soon as this configuration is evaluated. If there’s an er
* Default fonts
:PROPERTIES:
-:noweb-ref: default-fonts
+:header-args: :noweb-ref default-fonts
:END:
I like pretty faces. For coding I like to use the DejaVu Sans Mono font. In =org-mode= and in =eww= I like to use a font with variable pitch instead of the default mono-spaced font. I find Linux Biolinum pretty, especially when it’s rendered large.
@@ -156,7 +156,7 @@ I like pretty faces. For coding I like to use the DejaVu Sans Mono font. In =o
* Manuals
:PROPERTIES:
-:noweb-ref: manuals
+:header-args: :noweb-ref manuals
:END:
Also in Info manuals I want to use variable-pitch fonts where possible. Unfortunately, Info manuals don’t contain enough semantic markup, so I cannot selectively use a monospace font for examples or inline code and use a variable pitch font for everything else. So I just use variable pitch in headings.
@@ -187,7 +187,7 @@ Since Emacs 25 there is a new face for quoted expressions in Info manuals. By d
* Org-mode
:PROPERTIES:
-:noweb-ref: org-mode
+:header-args: :noweb-ref org-mode
:END:
This is my org mode configuration. Document it.
@@ -427,7 +427,7 @@ All of this should be loaded lazily.
* Editing files on remote systems
:PROPERTIES:
-:noweb-ref: tramp
+:header-args: :noweb-ref tramp
:END:
TRAMP is a really convenient way to edit files on remote systems from within the comfort of my cozy customised local Emacs session. I use it to edit files at work, to edit things on my server =elephly.net=, and even to edit things as root on the local system.
@@ -458,7 +458,7 @@ TRAMP is a really convenient way to edit files on remote systems from within the
* Shell
:PROPERTIES:
-:noweb-ref: shell
+:header-args: :noweb-ref shell
:END:
The default prompt face makes it hard to see the prompt.
@@ -471,7 +471,7 @@ The default prompt face makes it hard to see the prompt.
* Magit
:PROPERTIES:
-:noweb-ref: magit
+:header-args: :noweb-ref magit
:END:
#+BEGIN_SRC elisp
@@ -523,7 +523,7 @@ The default prompt face makes it hard to see the prompt.
* Ido
:PROPERTIES:
-:noweb-ref: ido
+:header-args: :noweb-ref ido
:END:
#+BEGIN_SRC elisp
@@ -562,7 +562,7 @@ The default prompt face makes it hard to see the prompt.
* Completion
:PROPERTIES:
-:noweb-ref: completion
+:header-args: :noweb-ref completion
:END:
Company mode provides automatic completion. I like to enable it in all programming modes. I don’t use the global company mode because that would enable it in =org-mode= where the pop-up looks terrible with =variable-pitch-mode= enabled.
@@ -599,7 +599,7 @@ I like automatic completion, but it’s nice to also have a key to trigger compl
* Pretty symbols
:PROPERTIES:
-:noweb-ref: pretty-symbols
+:header-args: :noweb-ref pretty-symbols
:END:
#+BEGIN_SRC elisp
@@ -622,7 +622,7 @@ I like automatic completion, but it’s nice to also have a key to trigger compl
* Resize buffer margins dynamically
:PROPERTIES:
-:noweb-ref: resize-dynamically
+:header-args: :noweb-ref resize-dynamically
:END:
I don’t want to have any margins by default.
@@ -657,7 +657,7 @@ The procedure is added to the list of functions that are to be evaluated wheneve
* Multimedia with EMMS
:PROPERTIES:
-:noweb-ref: emms
+:header-args: :noweb-ref emms
:END:
I like to use EMMS as a music player. Unfortunately, the default players like mpg321 or ogg123 don’t support seeking, so I’m using =mpv= for everything.
@@ -678,7 +678,7 @@ On my laptop screen the file name in the EMMS modeline cannot be fully displayed
* TODO Initial stuff
:PROPERTIES:
-:noweb-ref: initial
+:header-args: :noweb-ref initial
:END:
This is supposed to happen at the very beginning, even before loading packages. I still need to arrange these things nicely.
@@ -700,7 +700,7 @@ This is supposed to happen at the very beginning, even before loading packages.
* TODO More stuff
:PROPERTIES:
-:noweb-ref: initial-after-packages
+:header-args: :noweb-ref initial-after-packages
:END:
This is even more stuff to be done after initialising packages. I still need to process all of this and clean it up.
@@ -736,7 +736,7 @@ This is even more stuff to be done after initialising packages. I still need to
* TODO And even more
:PROPERTIES:
-:noweb-ref: old-init
+:header-args: :noweb-ref old-init
:END:
#+BEGIN_SRC elisp