Commit Graph

87 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 90608c53e3
[Spacemacs] Move org capture templates out of main config
Use org capture templates out of my main config so they can be shared
between my Spacemacs config and my vanilla config
2021-09-01 22:10:11 +02:00
Lucien Cartier-Tilet 124644ff3c
[Org Files] Remove unneeded header, add .dir-locals.el
`.dir-locals.el' file will automatically activate writeroom-mode for
all org files and set `org-confirm-babel-evaluate' to nil.
2021-07-30 17:56:43 +02:00
Lucien Cartier-Tilet d27a689c4b
[Emacs, org] Update references to Spacemacs, pages title
Update some references to Emacs as references to Spacemacs

Update title of Spacemacs configuration
2021-06-09 17:42:45 +02:00
Lucien Cartier-Tilet a040bfceb7
[org] Whitespace
Tabs to spaces, and tables realigned
2021-05-21 14:41:05 +02:00
Lucien Cartier-Tilet 6d3220e78c
[org] Update custom variables in org file 2021-05-21 14:40:50 +02:00
Lucien Cartier-Tilet a2d0d579d9
[Spacemacs] Remove EXWM layer, add PHP layer 2021-05-21 14:01:15 +02:00
Lucien Cartier-Tilet d46c79add3
[Spacemacs, Bootstrap] Rename files
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.
2021-04-29 09:24:47 +02:00
Lucien Cartier-Tilet ac7d1f7c31
[Emacs] Renamed spacemacs.org to emacs.org
continuous-integration/drone/push Build is passing Details
While the documentation of this commit gets deployed, redirects on my
server should be up
2020-09-13 18:15:21 +02:00
Lucien Cartier-Tilet 77b133c4ca
[St, Emacs] Change default transparency
continuous-integration/drone/push Build is passing Details
2020-09-13 18:08:04 +02:00
Lucien Cartier-Tilet f0f07a6cc0
[Emacs] Unified my shortcuts for opening files
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).
2020-09-13 18:07:54 +02:00
Lucien Cartier-Tilet 9c9fae66d9
[Emacs] Updated configuration for C and C++ layer
continuous-integration/drone/push Build is passing Details
2020-09-12 00:48:35 +02:00
Lucien Cartier-Tilet 62e4b6f52f
[Bootstrap, Org files] Removed tangling of deprecated configurations
continuous-integration/drone/push Build is passing Details
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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 175948c3d9
[Emacs] Added minimal width for headers view in mu4e
continuous-integration/drone/push Build is passing Details
2020-09-05 19:07:46 +02:00
Lucien Cartier-Tilet 820f23326f
[Emacs] Issue fixed upstream
continuous-integration/drone/push Build is passing Details
2020-09-04 12:16:08 +02:00
Lucien Cartier-Tilet eb8a3c6db8
[Emacs] Renamed Spacemacs configuration page to Emacs
continuous-integration/drone/push Build is passing Details
2020-09-04 12:11:21 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 988596a904
[Emacs] Fix evaluation issue of `mu4e-headers-visible-columns' eval
continuous-integration/drone/push Build is passing Details
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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet ff274510e5
[Emacs] Add time display to Emacs’ modeline 2020-08-30 18:51:56 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 1eb3833ad9
[Emacs] Fix shortcut issue with Spacemacs 2020-08-30 18:45:08 +02:00
Lucien Cartier-Tilet 8c6e622a7c
[Emacs] Update width of header window in mu4e 2020-08-30 14:25:21 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 21cbd9d368
Fixed issue with file opening shortcuts generation 2020-07-26 10:21:19 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 0678d9fd43
Removed unused shortcut, added some shortcut prefixes 2020-07-17 15:27:06 +02:00
Lucien Cartier-Tilet c691847ce6
Updated org-capture organization 2020-07-17 15:26:48 +02:00
Lucien Cartier-Tilet 15052ea5c1
Better Emacs shortcuts for opening files 2020-07-16 15:05:02 +02:00
Lucien Cartier-Tilet f5ee3b5c03
Reorganized and renamed some elements in org capture settings 2020-07-16 14:29:58 +02:00
Lucien Cartier-Tilet f1b242faca
Remove comments from tangled files in Emacs config 2020-07-16 14:26:04 +02:00
Lucien Cartier-Tilet 6bd0452e06
Use `setupfile` instead of `include` in org files 2020-07-16 14:25:18 +02:00
Lucien Cartier-Tilet 8b5df0d40b
Overhaul of the org capture section, way more readable 2020-07-16 13:20:54 +02:00
Lucien Cartier-Tilet bd5922e7d7
Removed unused shortcuts 2020-07-11 18:31:52 +02:00
Lucien Cartier-Tilet 0f9975a7bf
Better regex for generating custom org IDs 2020-07-11 18:06:35 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet ab489600c1
Fixed links broken with previous commit 2020-06-07 19:07:02 +02:00
Lucien Cartier-Tilet d6f688d985
Updated headings’ custom ID 2020-06-07 17:43:20 +02:00
Lucien Cartier-Tilet ef67fa6e25
Better org CUSTOM_ID properties
See https://blog.phundrak.com/better-custom-ids-orgmode/
2020-06-05 15:46:14 +02:00
Lucien Cartier-Tilet f068368fc9
Changed the location of the Dart SDK 2020-05-29 17:41:04 +02:00
Lucien Cartier-Tilet b2846dc476
Added shortcut to modify how org-src buffers spawn 2020-05-29 17:40:33 +02:00