Chemacs2 is a utility for Emacs to switch between various profiles and
configurations of Emacs without a hassle.
It thus helps me run my fully configured Spacemacss alongside my new
attempt at configuring some vanilla Emacs after years of using
Spacemacs.
I also added Doom-Emacs for reference.
Shortcut `SPC o '' now launches `eshell-new' instead of just plain
`eshell', a new shortcut invokes `vterm', and the shortcut for
`helm-man-woman' is removed in favor of the default one in Spacemacs
This commit fixes an issue with the macro `phundrak-var-or-if-nil' by
removing it entirely. For some reason, it was broken in a previous
commit, and the path did not show up in the prompt unless in a git
repository.
Now, `phundrak-var-or-if-nil' is removed entirely.
Previously, some code relied on dash.el to generate some code when
tangling my Emacs config, but if Emacs was to be launched without an
up to date tangled configuration, it would attempt to automatically
tangle it. However, due to dash.el not being loaded, it could not find
some of the required functions.
This commit replaces these functions with handmade functions that can
be loaded at tangle-time, and tangling always works.
Mu4e:
- Set a better date format for mu4e than the American format
- Remove mu4e relying on w3m
Org:
- change the size of fixed font
- change variable-pitch font
Add function `phundrak/file-to-string' which reads the content of a
file to a string.
Eshell banner makes one less shell command and makes it a bit more
distro-agnostic, although still very Linux-centered.
Turns out isync didn’t sync my /Junk directory in which were a lot of
emails I would have liked to read. Now bookmarks referring to /Inbox
also display content from /Junk
Also, emails are automatically signed with PGP/MIME now.
org-block background color was too light and had too little contrast
with the selection face. Similarly, `mu4e-highlight-face' was empty.
This commit fixes that by giving org-block a darker background and
`mu4e-highlight-face' a background and foreground color.
Having a project located in a remote host in
`projectile-ignored-projects' made Emacs often connect to Tilo for no
apparent reasons. This commit should fix it.
I use now the official nord theme found on Articices Studio’s Github.
Faces broke partly due to two different calls to
`custom-theme-set-faces'. This can be fixed by putting all faces
editions together. However, this commit also removes custom faces for
mu4e since colors are no longer broken.
The code for faces is now generated from the org tables in the
related subheadings.
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.
All exported `.el' files now have a lexical-binding header. This should
make parsing these files faster.
Custom variables such as the Nord colors are now declared with `defvar'
rather than with `setq' directly to avoid using free variables.
The package `info-colors' is now added, making info pages much more
pleasing to the eye.
Some headers in the Org chapter are renamed and organized alphabetically
Additional org variables to make it more usable
Variable `phundrak//eshell-banner--max-length' is renamed to
`phundrak//eshell-banner--max-length-part' in order to make its usage
more obvious from its name.
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
Banner broke with memory filled by only a couple hundreds megabytes of
memory, the amount displayed was too large for what was reserved. More
space is now dedicated to displaying such numbers, and the ramp is thus
a bit shorter.
Mu4e header is now only 80 chars wide by default, regardless on the
width of the current frame.
Some code is now also better aligned, some whitespace was left from
earlier configuration that did not make it into the git repository
This commit makes font face for replied to emails and unread emails more
distinguishable. The difference between the two were just the text being
bold or not, now replied to emails have a Nord15 foreground text color.
This package often caused my configuration to break due to Emacs not
finding `eshell-syntax-highlight-global-mode' despite the package being
installed. More troublesome than it’s worth, I’m uninstalling it.
Many Eshell functions do not need to be declared as such and can do just
fine as Eshell aliases. This commit moves all these functions to the
'eshell-alias' file