Commit Graph

77 Commits

Author SHA1 Message Date
9c9fae66d9
[Emacs] Updated configuration for C and C++ layer 2020-09-12 00:48:35 +02:00
62e4b6f52f
[Bootstrap, Org files] Removed tangling of deprecated configurations
This commit removes tangling of deprecated configurations in the
bootstrap script.

It also removes a dunst mention in the spacemacs.org file.
2020-09-12 00:38:11 +02:00
7785198f64
[Emacs, mu4e] Change unread bookmark, add uni and emacs bookmark
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).
2020-09-12 00:34:36 +02:00
175948c3d9
[Emacs] Added minimal width for headers view in mu4e 2020-09-05 19:07:46 +02:00
820f23326f
[Emacs] Issue fixed upstream 2020-09-04 12:16:08 +02:00
eb8a3c6db8
[Emacs] Renamed Spacemacs configuration page to Emacs 2020-09-04 12:11:21 +02:00
d50f38db49
[Emacs] Mu4e react to window width rather than frame width
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.
2020-09-04 12:10:54 +02:00
988596a904
[Emacs] Fix evaluation issue of `mu4e-headers-visible-columns' eval
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.
2020-09-04 11:24:46 +02:00
b50b403f41
[Org files] remove python code for tangling, updated shebang
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.
2020-09-03 12:21:47 +02:00
69dc8c7d7c
[Emacs] Change font to DejaVu Sans Mono, better mu4e visual config
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.
2020-09-02 13:35:04 +02:00
35556d9d3a
[Emacs] Add s.el library
This commit adds the s.el string library for Emacs Lisp to the list of
installed packages
2020-09-02 13:34:18 +02:00
84aba5216f
[Emacs] Yasnippet snippets are now tangled from spacemacs.org
Since all my snippets are now contained in my spacemacs.org file, this
commit removes all my snippets files from this repository.
2020-09-02 13:26:50 +02:00
ff274510e5
[Emacs] Add time display to Emacs’ modeline 2020-08-30 18:51:56 +02:00
7388fccc27
[Emacs] Make GPG in Emacs more secure
GPG buffers will now be closed after a minute of idling
2020-08-30 18:45:59 +02:00
1eb3833ad9
[Emacs] Fix shortcut issue with Spacemacs 2020-08-30 18:45:08 +02:00
8c6e622a7c
[Emacs] Update width of header window in mu4e 2020-08-30 14:25:21 +02:00
5b4409725c
[Emacs] Remove unused code, reorganize file, add configuration
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
2020-08-28 16:15:46 +02:00
78aa7cb9fc
[Emacs] Spacemacs suffixes for mode-bound shortcuts fixed
This commit fixes the wrong declaration of prefixes for specific modes
which I did not understand until now what their declaration should
actually have been.
2020-08-25 07:11:20 +02:00
342eba117c
[Emacs] Update Emacs configuration
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.
2020-08-25 06:16:28 +02:00
2a19478995
[Emacs] Add new Rust snippets, common-lisp layer
This commit adds two new snippets for Rust, one for an easier way to
write a `println' macro than the default one, and another one for
writing more easily new `new' functions for Rust structs.

It also adds the `common-lisp' layer in Emacs so I can test StumpWM.
2020-08-24 14:41:09 +02:00
a958ee8a60
Remove unused parts, updated my theme
== ALL FILES ==
The org TOCs were unused on export, and Spacemacs makes it useless.
This commits removes them. The startup header of org files is moved to
the header file.

== AWESOME ==
In the Awesome file, this commit removes everything about custom theme
creation as this part is not yet used. I also remade and reorganized
the windows titlebars.
Theme files for Awesome shall be added soon. The wallpaper functions
were updated accordingly.

In the autostart part, I updated some commands (picom will not launch
if another instance is already running, same for the XFCE polkit), and
I added PumoPM to the autolaunched software (power management). Due to
some issues, I also let Awesome one second before launching
`set-screens'.

== AWESOME AND CUSTOM SCRIPTS ==
This commit also removes any usage of pywal. My Awesome configuration
and my custom scripts were updated accordingly.

== CUSTOM SCRIPTS ==
In bin.org, the script `pape-restore' has been removed since it can
now be replaced with the command `nitrogen --restore'. `pape-update'
has also been updated so it doesn’t depend on `pape-restore' and gets
a random wallpaper for nitrogen to set without the help of pywal.

== XRESOURCES / ST AND PICOM ==
St’s transparency was tweaked to match my windows’ titlebar
transparency. It also got the Nord theme mentionned above. Some custom
Picom rule about St’s transparency has been removed.

== PICOM ==
I made it clearer in the index and on Picom’s page Picom is the new
Compton.

== FIREFOX ==
A new git submodule (blurredfox-nord) has been added, which adds some
transparency to Firefox as well as some Nord colors.

== I3 AND POLYBAR ==
My i3 and Polybar config have been deprecated since I do not use them
anymore.

== SPACEMACS ==
Changed shortcuts for config files
2020-08-22 16:46:33 +02:00
42d32d31fe
Add Emacs PKGBUILD with native-comp branch, update spacemacs conf
I will now try to use Emacs on the native-comp branch, after using it
for a bit it seems a lot faster than your usual Emacs.

Also update Emacs config, with some fixes provided and some overall
improvement.
2020-08-13 14:23:24 +02:00
21cbd9d368
Fixed issue with file opening shortcuts generation 2020-07-26 10:21:19 +02:00
fc9cfd3a3c
Remove unused code, overhaul of file opening shortcuts section
Remove adding myself as a Bcc to emails, I don’t need that with mu4e

Shortcuts for opening files are now generated from org tables.
2020-07-23 13:53:24 +02:00
0f7c20e8c9
Added custom Projectile config, revised elisp and Org Capture
Added some blacklisted directories to Projectile

Wrote a function to make my code clearer with `add-to-list'

Updated Org Capture shortcuts, in particular the text displayed in the
user interface while entering the shortcuts.
2020-07-20 16:02:27 +02:00
0678d9fd43
Removed unused shortcut, added some shortcut prefixes 2020-07-17 15:27:06 +02:00
c691847ce6
Updated org-capture organization 2020-07-17 15:26:48 +02:00
15052ea5c1
Better Emacs shortcuts for opening files 2020-07-16 15:05:02 +02:00
f5ee3b5c03
Reorganized and renamed some elements in org capture settings 2020-07-16 14:29:58 +02:00
f1b242faca
Remove comments from tangled files in Emacs config 2020-07-16 14:26:04 +02:00
6bd0452e06
Use setupfile instead of include in org files 2020-07-16 14:25:18 +02:00
8b5df0d40b
Overhaul of the org capture section, way more readable 2020-07-16 13:20:54 +02:00
bd5922e7d7
Removed unused shortcuts 2020-07-11 18:31:52 +02:00
0f9975a7bf
Better regex for generating custom org IDs 2020-07-11 18:06:35 +02:00
2885e1da34
Remove package, update layers, remove custom mu, Rust update
The `meson-mode` package is removed from my custom package list with
the addition of the `meson` layer in Spacemacs.

The `org` layer’s support for Trello is also removed from my
configuration while the support for Hugo is added.

The `c-c++` layer now uses `clangd` as its LSP backend instead of ccls

The `haskell` layer is removed from my configuration

Since it is now broken, instructions for installing a custom `mu`
package on Arch Linux that still enables it has been removed. I will
now use the default `mu` package from the AUR.

The Rust configuration has been updated with some additional
instructions on the reason why some elements are set, and how to
install these. The Rust LSP backend will now use the command `cargo
clippy` instead of `cargo check` to catch errors and warnings.
2020-07-11 18:00:09 +02:00
ab489600c1
Fixed links broken with previous commit 2020-06-07 19:07:02 +02:00
d6f688d985
Updated headings’ custom ID 2020-06-07 17:43:20 +02:00
ef67fa6e25
Better org CUSTOM_ID properties
See https://blog.phundrak.com/better-custom-ids-orgmode/
2020-06-05 15:46:14 +02:00
f068368fc9
Changed the location of the Dart SDK 2020-05-29 17:41:04 +02:00
b2846dc476
Added shortcut to modify how org-src buffers spawn 2020-05-29 17:40:33 +02:00
389a740d57
Updated org projects’ export location 2020-05-28 11:58:23 +02:00
0243f490f6
better org files, updated installation packages 2020-05-17 15:04:07 +02:00
87b8f1e050
fixed Dart lsp, added bibtex and csv layers, changed font
Also made pretty-symbols-mode activated by default
2020-04-29 17:51:15 +02:00
d7ad8de30a
Removed unused odf-mode, removed buggy code block 2020-04-21 12:58:57 +02:00
a3e390a4e0
Updated mu4e inbox shortcuts, removed unused variable for Rust
The variable pointing to `racer` hasn’t been used since I switched to
lsp-mode.
2020-04-14 21:57:12 +02:00
baae12a466
Added layer for elfeed 2020-04-14 21:56:40 +02:00
db0f81353b
Added shortcut in Emacs to open awesome.org 2020-04-11 20:27:07 +02:00
760bb8d213
Removed global aggressive indent mode 2020-04-09 15:58:32 +02:00
87b128d0dd
Updated visual preferences for mu4e, org-mode src blocks editing
`visual-line-mode` is now enabled by default when opening a message,
which will be preferably opened as HTML

Org src block editions will now open to the right of the active buffer
2020-04-06 14:15:07 +02:00
4499b38616
Added Picom config to project 2020-04-06 14:13:42 +02:00