This commit adds the net module at the fourth position on the right
side.
It also modifies the CPU module prefix to a Siji icon representing a
CPU.
`mu-unread' also outputs a Siji icon as its prefix instead of `Mail:'
Make StumpWM’s colors more Nord-ish
Use new variables from my StumpWM fork
Add code for
- Easy SSHing in remote machines
- Control my mouse through keybinds with Binwarp
- Notifications support
For some reason, Emacs stopped picking up org-ref at some point,
giving me the error
Symbol's value as variable is void: org-ref
This commit hopefully fixes that.
`shell-command-and-echo' now takes an additional argument that will
prefix the output of its ECHO argument.
Also add documentation for the function
This commit removes keybind `SPC m P' in favor of only `SPC m p' which
toggles the state of MPD between play and pause.
Filters for the inbox and other bookmarks will now work better.
A new bookmark for my association, Supran, is now added.
The `eshell-info-banner' bookmark is now replaced by the `Github'
bookmark which will be the place where I can see all emails sent by
Github related to new comments or actions on issues and PRs.
By default, org-mode will add two spaces before code lines in the org
file itself. This does not change how code is edited when editing a
code block through `org-edit-special' but when copy/pasting code or
editing it directly from the org file, it can be troublesome.
Setting `org-src-preserve-indentation' to `t' prevents org from adding
these two spaces.
Better `org-macro' face to make it more visible.
For some reason, Emacs doesn’t like copying files over the `rsync'
protocol anymore, but the `ssh' protocol is fine ¯\_(ツ)_/¯
Loading org-mode will now also load org-ref by default.
Add a new group dedicated to gaming, making it the 8th group.
DEV and SYS were swapped, and now SYS is a dynimacally tiling group.
Groups can now be defined as a `Dynamic' or `Floating' group. Any
other value in the corresponding column will be considered to be a
manually tiling group.
In order to make my dotfiles more maintainable in case I change my
terminal emulator, explicit calls to the terminal have been replaced
by calls to the function `term' which itself will call explicitely the
terminal emulator.
Keybinds related to the number row can now be automatically generated.
Related to this, keybinds to move windows between groups, following
them or not, and merge groups into the current one are added with this
commit.
The application keymap is now moved to the root map in order to keep
some consistency with my Emacs keybinds.
For some reason, some keybinds in mu4e weren’t getting undefined
anymore, this is now fixed.
Add automatic vertical split if the screen is considered wide
enough (120 characters for the headers mode and 80 characters for the
message view mode). If the screen or the headers mode window are not
wide enough, the window will split horizontally instead of vertically.
This commit also adds a function to quickly insert a response to
spammers to get them trapped in an infinite loop of emails. See the
new links in this commit.
Some modules loaded in init.lisp are instead loaded in modeline.lisp,
as it makes more sense.
Update modeline’s format.
Update groups’ number and name, they now have an actual name and
visible purpose. Their definition is also made at the same time as the
definition of the windows linked to these groups, generated by
different Elisp code blocks but from the same table.
Used fonts are also updated, loading more than one doesn’t seem to
have an effect. This commit also adds a comment on OTF fonts.
More keybinds and keymaps are now defined through tables to make them
more readable and easier to maintain.
Some keybinds are removed to make more sense between my Emacs keybinds
and keychords and StumpWM’s. Some move from window keychords to buffer
keychords.
Some Elisp functions are hidden in a dedicated noexport heading.
Better exporters, better support of org-babel
Exporters added:
- ox-ssh
- ox-epub
- ox-gfm
Better HTML and LaTeX export
org live HTML preview
Add org-ref
- org-tree-slide : presentation mode for org-mode
- git-gutter-fringe : show edited zones in files since last commit
- archwki : navigate local archwiki pages with Emacs
- keycast : show which keys are pressed
- sicp : read the sicp in Emacs
- ytplay : read YouTube videos from Emacs in mpv
- toml-mode
- better info-colors
Better formatting for `eshell-info-banner' bookmark
Unbind some keys for some keymaps
Better face for replied to emails
Remove useless `progn'
Go from `:general' to `general-define-key'. For some reason, the
former seems to not perform correctly.
Scrot will get its output file moved to a dedicated directory
Emacs’ default profile has been vanilla for quite some time now, no
need to explicitely call it with this profile
Reformat some Elisp code
Activate auto-revert-mode so buffers are reloaded on external file
change
gnus-dired-mode activated by default in dired
Remove `C-x m' keybining for mu4e-compose-new
There no longer is a big code block at the beginning of the basic
configuration paragraph. It is now all documented.
Dired is also much more customized, with its configuration fully
documented.
Parinfer and Evil-surround were also added to the list
Custom PATH was removed since it caused some serious issues with Emacs
not finding required binaries. It seems this was only needed at a
certain point in my Spacemacs config, and it is no longer needed in
either Spacemacs nor my current config.
Some preliminary work with EXWM has been done, though I am still not
sure if I’ll ever use it as my main WM (I’m currently also taking a
look at StumpWM).
Bufler was added to my packages for managing my buffers.
Org-mode moved `org-plus-contrib' out of the main repo, and it is now
a separate package, `org-contrib'. I now also follow the git version
of org-mode (it is no longer managed by my system’s package manager).
This commit rebases my Emacs PKGBUILD on the one used by
`emacs-git'. By default, my compiler will now use the gold linker,
native-compilation, and ahead of time elisp native compilation. It
stills include PDF documentation and xwidgets browser, but removes the
HTML docs.
Recently, the `contrib/' directory of org moved to a different
repository. This broke the previous `emacs-org-mode-git' package. This
commit adds a new PKGBUILD for `emacs-org-mode-git' and adds a
configuration snippet for `org-contrib' in my vanilla Emacs
configuration.
Change the keyword used from `html_head_extra' to `html_head', since
they are both strictly equivalent to one another.
Update Matomo script in order to better respect RGPD requirements and
related French laws.
Rename `installation.org' to `bootstrap.org' since it better describes
what it is for.
Rename `emacs.org' to `spacemacs.org', preparing for the new
`emacs.org' dedicated to my vanilla config.
I will now track the master branch of Emacs instead of native-comp,
thank you so much to Eli for creating this feature and to all the
maintainers who helped merging this branch into master!
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.
When downloading a whole channel, ytdl used to download everything
including playlists displayed on the user’s main page. Now, a check
is performed in order to verify if the URL passed is a channel, and
if it is only download the videos listed on their uploads page.
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.
`set-pape' now find all files in $PAPESDIR, including subdirectories.
The way the wallpaper is randomly selected is also simplified, and the
script is now written in bash rather than in fish.
`select-pape' now writes to $HOME/.cache/wallpaper only when a wallpaper
is selected. Otherwise, nothing is done.
Autostart did not detect properly if some processes were actually
running or not. This commit fixes it and only launches programs marked
to run only once only when they are not already running.
select-pape did not set its cache file in the correct location, this is
now fixed
Now wallpaper-related scripts use xwallpaper instead of nitrogen
select-pape gives the user the ability to choose their wallpaper throguh
sxiv and xwallpaper
This commit fixes an issue with awiki where selecting a page which title
contains whitespace would not open the page in the browser due to
remaining whitespace. This commit fixes it by replacing whitespace with
underscores.
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 screenshots on the index page are better off on the i3 page
Setupfiles were not found for org files in subdirectories, this is fixed
Images are now correctly placed
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
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'.
`if's that had one branch are replaced with `when', and `if's which only
actual branch is the else branch are replaced by `unless'.
`phundrak/eshell-git-status' no longer verifies whether its `$path'
argument points to a git repository, that is now the role of the callee.
`phundrak/eshell-prompt' now makes use of more variables to make the
code more readable.
Some documentation is now formatted correctly
This commit fixes the removal of the `~' character (it needed to be
escaped), add commas and backslashes to the list of characters to be
removed, and updates some `CUSTOM_ID' heading properties accordingly
This commit renames `eshell/my-prompt' to `phundrak/eshell-prompt'.
`phundrak/abbr-pwd' is now simplified, and it is no longer responsible
for fetching the current path which must now be passed as its first
argument. It will also reject any argument which is neither a string
(should be the only type to be passed for public use) nor a list (for
internal usage).
A bug was introduced in b97bbf8 with the fix for Eshell, where the
abbreviated path was not used anymore. This commit fixes it.
This commit also introduces the new macro `phundrak/var-or-if-nil'
which is documented in the code. It has replaced some code already.
The coding style of some recent functions have been updated too,
arguments names now begin with a dollar `$' sign. This is just stylistic
and it has no influence on the code whatsoever.
Finally, some nested `if's in `phundrak/abbr-pwd' were converted in a
single `cond', which led to renaming two variables in order to avoid a
collision between the variable and the function `push' – `pull' has been
renamed accordingly.
This commit adds the connection method for Docker containers through
Tramp and stores it under the newly created Tramp heading under which
the implementation of the Yadm connection method is implemented.
The list of languages supported with org-babel is now presented as an
org table.
Common variable values in org projects are now shared through one
variable each instead of having the value repeated.
It seems `mpd_discord_richpresence' has been removed from the AUR, and as
such I cannot install it back for now.
On the other hand, it seems `xss-lock' has been forgotten in the
autostart until now. This is now fixed.
This commit removes the common-lisp layer, as I do not use it anymore.
However, due to college, I need to be able to edit Swift code, hence its
addition.
This commit adds PumoPM back to the autostart script. Its transition to a
systemd unit isn’t complete yet.
`sshbind' has been added as a shorthand for an `ssh' command.
Since I do not use polybar anymore, `polybar-launch' has been deprecated.
Rewrite some parts that were not true anymore about my configuration,
add some interactivity for some settings some users would not
necessarily want.
Some parts that are no longer needed are also removed, such as yay
installation (done with archfi), nano, and go packages.
Some list of packages were made into org tables, and the command is
rewritten in litterate programming from these tables.
This commit adds the `languagetool' layer to my Emacs configuration.
Since Emacs 27.1, fonts ligatures are supported with Cairo. The
`unicode-fonts' adds support for such feature using `ligatures.el'.
Due to the modification above, I changed my default font to Cascadia
Code.
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).
This commit removes a line that sets all files in `~/.local/bin' as
executables. It was aimed at scripts exported from `bin.org' but it is
no longer required since the executability of these tangled files is
enforced by the shebang header argument added in commit 8f35b85ef1
The unread bookmark is changed to `bU', reserving the lowercase `u' for
the university emails bookmark.
This commit also adds a bookmark for my Emacs mailing list (the first
indicated list is now obsolete, but I keep it to still be able to see
old messages sent there).
Referring to the previous commit, it is actually better if the mu4e
headers view sets its own width _when a message is opened_ and not
when the headers view itself is opened. This commit also makes it so
that the width is evaluated based on the width of the window of the
headers view’s window rather than the width of the frame since the
message will be opened in a new window that will spawn in the headers
view's window.
This commit fixes a bug introduced in 8c6e622a7c and 69dc8c7d7c where
the mu4e-headers view’s width was set to a dynamic, frame-dependant
value that could not be computed with Emacs launched as a headless
server.
This commit makes this value evaluate when the `mu4e-headers' mode is
activated, and hence it should get the correct width of the current
frame.
This commit removes all python source blocks that were previously used
to generate code. Consequently, the commands for tangling my org files
in the bootstrap script were updated.
[Bootstrap] A shebang header has been added to the org file, removing
the necessity of the shebang code block and manually setting
permissions for the script each time it is tangled.
Custom and local executables will now have the priority over system
executables.
For instance, an `ls' executable located in `$HOME/.local/bin/ls' will
have the priority over `/bin/ls'
This commit changes the font of Emacs from Fantasque Sans Mono to
DejaVu Sans Mono. The latter has a better support for the
International Phonetic Alphabet (IPA) than the former. Font size is
also adjusted.
In the mu4e header view, the width of the header view when a message
is opened is now better handled since it will be calculated
accordingly to the frame and not the window. In Emacs, the frame is
actually what we commonly call a window, and a window is the area in
which buffers are displayed (damn this pre-GUI terminology in Emacs).
There is a bug with Emacs launched as a server though: since it is
launched as a headless service at first, the edited code cannot know
what the size of the frame will be, so the user will have to
re-evaluate this code snippet once the first frame is created, or when
the frame is resized and the user wishes to see this value updated.
A possible fix for this could be to hook this evaluation to when a
message is opened instead of when Emacs spins up.
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
This commit cleans up the source blocks of bin.org by removing the
shebangs from the actual source blocks. They are now passed as header
arguments, making the exported files automatically executable. This
removes the need for the two functions that were in the Introduction
header making tangled files executable or not.
This commit fixes some file tangling that was broken due to some
`:tangle' headers that were left empty.
The environment variable `$VISUAL' is added an is an equivalent of
`$EDITOR'
Abbreviations are reorganized in a more intuitive way.
The displayed uptime was broken, this commit fixes it.