Byte-compiling my configuration actually doesn’t make configuration
loading time any shorter and increases Emacs startup time due to the
time spent byte-compiling it. This is now removed.
Between Emacs 28.0.50.145785 and Emacs 28.0.50.146000, a commit broke my
face config, and inheriting from `fixed-pitch' no longer made my faces
fixed-pitched. This commit therefore sets directly the font of the faces
than need to be fixed-pitched instead of relying on the `fixed-pitch'
face.
When Emacs starts up, it verifies twice the state of its .el and .elc
configuration files that come from emacs.org. If any of the .el file is
older than emacs.org, the latter is tangled again.
Then, if it detects any of the .elc file is older than its .el
counterpart, it will byte-compile the latter.
Tangling now happens within the launched Emacs instance and not in a
separate instance.
Nom all the orgmode configuration is done using noweb, and only one
block is tangled.
Some parts of the org configuration were reorganised to make the TOC
a bit lighter.
The w3m layer is now removed as I did not use it at all.
The conlanging layer is moved to ~/fromGIT/emacs-packages and now a
symlink points to its new location. This is done in order to prevent
Emacs from compiling its .el files when recompiling its configuration
files.
Configuration files are now compiled when emacs.org is tangled by Emacs
itself or if the .el files are newer than the .elc files.
TODO: find a way to natively compile and load these files instead of
just byte-compile them if native compilation is available
This commit removes the banner displayed on Eshell launch. I will
maybe do something with it one day similar to my fish_greeting
function for the fish shell.
The git prompt now also separates the current path in half if we are
in a git repository: the path up to the repository, the git prompt,
and then the relative path to the repo is are shown in that order.
To achieve that, `phundrak/is-dir-a-git-repo' has been modified to
return either the path to the git repo or `nil'.
This commit adds to my configuration the Swift layer from Spacemacs, as
well as ob-swift for evaluating Swift code in org-mode –because
apparently it is not part of the layer itself.
The keybinding to `wttrin' is also modified to `SPC o a W', with its
original keybinding `SPC o a w' set to `helm-man-woman', a helm
interface to Emacs’ `woman'.
Since all my files that were opened with a `SPC o f' prefixed shortcut
all opened some org file located in precise directories, I unified
them all with a helm menu and only a couple of directories to specify
(I even added some).
Removed the head variable for `org-confirm-babel-evaluate' since I set
it to `nil' anyway.
Add `:mkdir yes' to all `:tangle' header arguments so no issues arise
when trying to tangle.
Added three new packages:
- helm-icons for integrating all-the-icons in Helm
- org-tree-slide for orgmode powered presentations
- wrap-region for wrapping selections with other chars than
parenthesis
Renamed variables in my custom Elisp functions so they stand out more
as user-defined variables.
Renamed `shortcuts' to `keybindings'
Added keybindings for `org-tree-slide'
Updated dotspacemacs file
New variables were introduced to the template dotspacemacs file. This
commit adds them in my spacemacs.org configuration file.
The dotspacemacs file was modified. This commit updates it.
Updated some paths after the Emacs configuration directory was moved
Some variables in my dotspacemacs were renamed in order to follow the
Spacemacs coding style with a ~//~ used for marking private variables,
and I prefixed their name with ~dotspacemacs-~ in order to avoid any
collision with other packages or configuration I write.
Added back M-« and M-» in order to fix the M-< and M-> shortcuts issue
with the bépo layout.
`helpful' is a layer that aims to provide better help buffers, and I
prefer it to Emacs’ default help mode.
I also removed the commented out `org-tempo' require as I don’t
actually need commented out code, especially this one.
I also fixed the function `terminal-here-launch' by specifying the
name of the external terminal to call.
Removed the github layer as I don’t use it.
I also had to fix some variables for the dart layer, and add some
modes excluded from evil.
=major-modes= was added for PKGBUILD support, and notmutch layer was
removed, I’m staying on Gnus.
Shell now spawns at the bottom of the screen.
Some unused packages were removed, dired-du was added.
Added some requires and configuration for LSP and dap-mode.
Added custom function to write to buffer, used from eshell mainly.
Custom flutter-related shortcuts added for dart-mode.
Updated publishing path for langue.phundrak.com
Simplified and cleaned up some lines.
gpu layer and Dionysos configs were removed due to being unused. The
Notmuch layer was added so I can test this email client, and the LaTeX
options were reworked so PDF exports now do not produce errors and
Japanese characters are supported.
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.
This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
I removed my gnus configuration from my dotspacemacs file and put it into my
~/.gnus.el file.
I also added variables to my hybrid editing style for Spacemacs, and some
packages that were either redundant (e.g. explicit cmake-mode) or unused (e.g.
dionysos) were removed.
Added the Magit Gitflow package to Emacs.
Also added some custom shortcuts, such as `SPC o x t f` which is an alias to
`C-u M-q` or `M-1 M-q`. This is due to the change of editing style in Spacemacs,
I went from the Emacs editing style to the hybrid editing style —that is, in
normal mode, I am using evil-mode, and in insert mode, I am using Emacs’
keybinding.
This also lead me to add a couple of shortcuts for Gnus, which had a broken IMAP
configuration (wrong port).