Commit Graph

352 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 7f44483099
[Emacs] Remove unnecessary code 2021-06-18 10:27:17 +02:00
Lucien Cartier-Tilet f1173f76e8
[Emacs] Beter doc, better writeroom config 2021-06-18 10:26:28 +02:00
Lucien Cartier-Tilet 45c7e1c4eb
[Emacs] Whitespace 2021-06-18 10:26:11 +02:00
Lucien Cartier-Tilet d852bf8fda
[Emacs] Add org export backends for SSH config, Epub and Markdown 2021-06-16 15:05:17 +02:00
Lucien Cartier-Tilet f88e771e80
[Emacs] Prettify org-mode 2021-06-16 14:37:16 +02:00
Lucien Cartier-Tilet ab4fcdf169
[Emacs] Change default writeroom width 2021-06-16 14:37:16 +02:00
Lucien Cartier-Tilet ce75641a10
[Emacs] Switch to built-in org-mode
Also add keybinding for reloading org-mode if needed
2021-06-16 14:36:48 +02:00
Lucien Cartier-Tilet 93ba4d692a
[Emacs] EXWM loads only with argument `--with-exwm` passed to Emacs 2021-06-16 14:35:59 +02:00
Lucien Cartier-Tilet bf615d4e81
[Emacs, org file] Add custom IDs to headers 2021-06-16 14:35:59 +02:00
Lucien Cartier-Tilet 43b902a1fe
[Emacs] Add package for unique IDs for org headers 2021-06-16 14:35:58 +02:00
Lucien Cartier-Tilet 6901ee23f6
[Emacs] Apparently straight doesn’t like building avy 2021-06-16 14:35:58 +02:00
Lucien Cartier-Tilet 4e7f4db4f0
[Emacs] Better noweb formatting 2021-06-14 16:08:07 +02:00
Lucien Cartier-Tilet bd10041fb8
[Emacs] Better options for dired 2021-06-14 16:04:45 +02:00
Lucien Cartier-Tilet 1ff1cb34f4
[Emacs] Org keybindings now defined with tables, add documentation 2021-06-14 16:04:09 +02:00
Lucien Cartier-Tilet 5701aae9a9
[Emacs] Fix elisp code blocks headers, fix elisp generating code 2021-06-14 14:39:20 +02:00
Lucien Cartier-Tilet 44031ae713
[Emacs] Auto-revert buffers, better formatting and documentation
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
2021-06-14 14:37:30 +02:00
Lucien Cartier-Tilet f1f0dd2d8e
[Emacs] Add EPUB reader 2021-06-11 18:34:08 +02:00
Lucien Cartier-Tilet 430d96679c
[Emacs] Better shortcuts for the webkit browser 2021-06-11 18:33:47 +02:00
Lucien Cartier-Tilet dc70babfc3
[Emacs] mu4e-alert documentation and better config 2021-06-11 18:33:19 +02:00
Lucien Cartier-Tilet ac01ba4eaf
[Emacs] Mu4e documentation, litterate programming ftw 2021-06-11 16:28:25 +02:00
Lucien Cartier-Tilet 217819d4bb
[Emacs] Remove eldoc-box, it’s annoying 2021-06-09 17:42:45 +02:00
Lucien Cartier-Tilet 3b95999636
[Emacs] Use fish in vterm 2021-06-09 17:42:45 +02:00
Lucien Cartier-Tilet 753cbe878a
[Emacs] Better code for evil configuration, better EDITOR variable 2021-06-09 17:42:45 +02:00
Lucien Cartier-Tilet 853b6a7c9f
[Emacs] Mostly whitespace, some new keybindings
Also make which-key wait more before showing keybindings
2021-06-09 17:42:12 +02:00
Lucien Cartier-Tilet 30ddb3067c
[Emacs] Add doc, config, reorganize code, update org-mode sources
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).
2021-06-09 17:42:11 +02:00
Lucien Cartier-Tilet 4234be1849
[Emacs] Add org and elisp packages, add documentation
Add documentation for eldoc, elisp keybindings

Add package eldoc-box for childframe elisp documentation

Add org-sticky-header package
2021-05-24 02:18:14 +02:00
Lucien Cartier-Tilet b5d04427a5
[Emacs] Add documentation, set new ivy value 2021-05-24 01:51:34 +02:00
Lucien Cartier-Tilet 0aa8ad8572
[Emacs] whitespace 2021-05-24 01:51:03 +02:00
Lucien Cartier-Tilet 30bf89a0ab
[Emacs] Add new org and magit packages, new keybindinigs
Add toc-org, magit-todos, and bufler, replace buffer-listing functions
with functinos from bufler
2021-05-24 01:25:37 +02:00
Lucien Cartier-Tilet 98b995f985
[Emacs] Reorganize packages, add some
Add shell-pop package, TRAMP method for Yadm, some DSL languages, and
define more keybindings
2021-05-24 01:18:51 +02:00
Lucien Cartier-Tilet 31845a0d69
[Emacs] Avoid issues when I’m testing my config on other OSes 2021-05-24 01:16:48 +02:00
Lucien Cartier-Tilet 4027662d88
[Emacs] Better keybinding management 2021-05-22 01:52:15 +02:00
Lucien Cartier-Tilet f1aa8f4dc2
[Emacs] Add package for shell pop-up, and org inline LaTeX 2021-05-22 01:51:45 +02:00
Lucien Cartier-Tilet 8d798ea8ad
[Emacs] Simplify recipe for `org-contrib' 2021-05-22 01:51:18 +02:00
Lucien Cartier-Tilet 7cf1fd9d0f
[Emacs] Enable automatically prettify-symbols-mode for Elisp 2021-05-22 01:50:52 +02:00
Lucien Cartier-Tilet 1147c993ee
[Emacs, AUR] Update and add Emacs PKGBUILD, upgrade org-mode
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.
2021-05-21 20:37:01 +02:00
Lucien Cartier-Tilet f2502b016a
[Emacs] Remove evil-magit
evil-magit is deprecated and should be removed
2021-05-21 14:41:05 +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 435adfbb46
Add vanilla Emacs configuration file
This commit stops tracking my init.el and early-init.el files and
instead begins tracking my literate org config file for vanilla Emacs.
2021-05-21 13:59:48 +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 3698c96a6f
[Spacemacs] Remove commented out code 2021-04-26 16:50:23 +02:00
Lucien Cartier-Tilet a2db890524
[Spacemacs] Switch from ido to ivy 2021-04-21 22:53:45 +02:00
Lucien Cartier-Tilet 6572861960
[Spacemacs] Modify editing style 2021-04-21 22:53:45 +02:00
Lucien Cartier-Tilet 0510eaa0f5
[Emacs] Switching to Chemacs2, added vanilla and Doom
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.
2021-04-21 22:52:58 +02:00
Lucien Cartier-Tilet 023c847a81
[Emacs] Add TODO for Eshell banner 2021-04-17 13:00:29 +02:00
Lucien Cartier-Tilet 0b2ba3eaa0
[Emacs] Automatic, Nord-themed dark mode for PDFs 2021-04-17 12:56:44 +02:00
Lucien Cartier-Tilet e6ea1aecbb
[Emacs] Better shortcut for terminals, remove reduntant ones
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
2021-04-17 12:56:37 +02:00
Lucien Cartier-Tilet 98720ace22
[Emacs] Add ignored directories and files to recentf 2021-04-17 12:56:23 +02:00
Lucien Cartier-Tilet 8c640f4118
[Emacs] Add TODO to Eshell banner 2021-04-17 12:56:23 +02:00
Lucien Cartier-Tilet a7d14158dc
[Emacs] Whitespace, move header up 2021-04-17 12:56:23 +02:00
Lucien Cartier-Tilet 8eaa12e619
[Emacs] Apparently this is buggy
EXWM does not work properly if this is used, instead of different
workspaces EXWM will create various frames on top of each other.
2021-04-17 12:56:17 +02:00
Lucien Cartier-Tilet 43bb79e708
[Emacs] Better settings for EXWM 2021-04-11 16:09:18 +02:00
Lucien Cartier-Tilet 7f05c46ebc
[Emacs] Remove unused layers 2021-04-11 16:09:18 +02:00
Lucien Cartier-Tilet 65e5eb022a
[Emacs] Fix some broken settings for Emacs after Spacemacs update 2021-04-11 16:09:14 +02:00
Lucien Cartier-Tilet a1b234fa43
[Emacs] Fix issue with path in Eshell prompt
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.
2021-04-06 10:35:58 +02:00
Lucien Cartier-Tilet 5819f1a6e8
[Emacs] Beginning to use EXWM
This commit also swaps two headers
2021-04-06 09:46:24 +02:00
Lucien Cartier-Tilet a21fae33c8
[Emacs] Move `require's to user-load Spacemacs function 2021-04-06 09:44:46 +02:00
Lucien Cartier-Tilet 3689587800
[Emacs] Config now correctly tangles without errors
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.
2021-04-06 09:40:36 +02:00
Lucien Cartier-Tilet bc67344ba6
[Emacs] Add restclient to the list of languages usable from org 2021-04-02 19:36:01 +02:00
Lucien Cartier-Tilet 3a72387e3e
[Emacs] Changing naming convention of custom functions and variables
Forward slashes in my persoranl variables and functions have been
replaced by dashes.
2021-04-02 19:36:01 +02:00
Lucien Cartier-Tilet be07d87e06
[Emacs] Hide code-generating code 2021-04-02 19:32:01 +02:00
Lucien Cartier-Tilet 5c1041241f
[Emacs] Fix order of appearance of elements in org code example 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet c8dea557eb
[Emacs] Add and reorganize ignored paths by recentf-mode 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet 00d847bf09
[Emacs] Enable flycheck by default for emacs-lisp buffers 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet 386cade963
[Emacs] Reorganize some headers, add phundrak/zip() 2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet c6329ba8d8
[Emacs] Better settings for `lsp' layer, switch LSP server for Rust
`lsp-ui' and `lsp-lens' now enabled by default

Rust will now use as its LSP server rust-analyser rather than rls.
2021-04-01 23:15:15 +02:00
Lucien Cartier-Tilet 902b6d3f67
[Emacs] Reorganize custom functions and variables, update docstrings
Function terminal-here-default-terminal-command removed
2021-03-26 14:27:30 +01:00
Lucien Cartier-Tilet 562657cc19
[Emacs] Remove function phundrak/add-all-to-list 2021-03-26 14:10:43 +01:00
Lucien Cartier-Tilet 5088871487
[Emacs] Remove unused column 2021-03-26 13:51:02 +01:00
Lucien Cartier-Tilet 126f265281
[Emacs] Remove indent-guide-mode
It slows Emacs too much and isn’t all that useful actually
2021-03-26 13:50:25 +01:00
Lucien Cartier-Tilet 8995aeb881
[Emacs] Formatting 2021-03-26 13:50:10 +01:00
Lucien Cartier-Tilet 841f6b7f85
[Emacs] Give mu4e the ability to export mails to PDF again! 2021-03-26 13:49:22 +01:00
Lucien Cartier-Tilet 4f7927a5f7
[Emacs] New keybindings for image-mode, change eshell keybinding
The eshell keybinding changes from SPC o a ' to SPC o '

It is now possible to open an image from image-mode in GIMP directly
as well as rotate it.
2021-03-26 13:47:53 +01:00
Lucien Cartier-Tilet ffacd7d71a
[Emacs] Ignore some recent files 2021-03-26 13:47:19 +01:00
Lucien Cartier-Tilet d4aaecab9b
[Emacs] Better org-mode visuals
Now inline source blocks should be fontified

We should also have better LaTeX handling as well as markers
2021-03-26 13:46:17 +01:00
Lucien Cartier-Tilet 43b8263702
[Emacs] Add two new custom functions 2021-03-26 13:45:47 +01:00
Lucien Cartier-Tilet 3909031ae2
[Emacs] Add Scala layer, revert relative lines settings 2021-03-26 13:45:11 +01:00
Lucien Cartier-Tilet 774f69589a
[Emacs] org-appear now on MELPA 2021-03-26 13:41:11 +01:00
Lucien Cartier-Tilet fe5535b590
[Emacs] Change some mu4e settings, change org font
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
2021-03-10 13:05:21 +01:00
Lucien Cartier-Tilet ce00baf6f6
[Emacs] Foud the culprit of Emacs not starting as a daemon
For some reason, roam support prevents Emacs to start as a daemon, so
I’ll remove it for now.
2021-03-10 13:03:31 +01:00
Lucien Cartier-Tilet ab051c8b35
[Emacs] Add email view with Xwidget webkit browser 2021-02-10 21:00:56 +01:00
Lucien Cartier-Tilet fcd76a9bbe
[Emacs] Change font used in org-mode 2021-02-09 16:54:30 +01:00
Lucien Cartier-Tilet 95a16788e7
[Emacs] Add function `phundrak/file-to-string', remove shell command
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.
2021-02-04 14:44:07 +01:00
Lucien Cartier-Tilet 527380e5ff
[Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
Lucien Cartier-Tilet f3d5b229bd
[Emacs] Remove magit-gitflow, add ox-ssh and org-appear
TODO: Shortcuts should be added to ox-ssh as they do not appear in
org-export-dispatch

TODO: Fix org-appear, it has currently no effect
2021-02-04 09:21:24 +01:00
Lucien Cartier-Tilet 2538786be8
[Emacs] Replace Swift layer with Java layer 2021-02-04 09:20:52 +01:00
Lucien Cartier-Tilet 9062092b1d
[Fish, Emacs, Bootstrap] Replace yay with paru 2021-02-04 09:17:32 +01:00
Lucien Cartier-Tilet 10978904f8
[Emacs] Update maildirs in mu4e bookmarks, sign emails
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.
2021-01-27 16:37:35 +01:00
Lucien Cartier-Tilet 026b005cd0
[Emacs] Better faces for diff-mode 2021-01-21 14:36:16 +01:00
Lucien Cartier-Tilet eff1d942a8
[Emacs] Update paths for `phundrak/find-org-files' 2021-01-21 14:35:57 +01:00
Lucien Cartier-Tilet 2c3f43dbbf
[Emacs] Remove unused shortcut and function 2021-01-21 14:35:48 +01:00
Lucien Cartier-Tilet b191f32bca
[Emacs] Add ob-latex-as-png package and setup 2021-01-18 01:42:09 +01:00
Lucien Cartier-Tilet a1d29e6bd7
[Emacs] Fix fixed-pitch faces, add svg of org-mode screenshot 2021-01-13 17:13:45 +01:00
Lucien Cartier-Tilet 3c5cec5df7
[Emacs] Fix fixed-pitch faces 2021-01-10 15:37:06 +01:00
Lucien Cartier-Tilet a7db109206
[Emacs] Fix org-block background color, fix mu4e face
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.
2021-01-09 14:36:19 +01:00
Lucien Cartier-Tilet a04064848d
[Emacs] Prevent unrequired connections to host Tilo
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.
2021-01-08 22:38:48 +01:00
Lucien Cartier-Tilet 2919c7b286
[Emacs] Change theme to official nord theme, fix faces
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.
2021-01-08 03:43:33 +01:00
Lucien Cartier-Tilet 1b5fb4144d
[Emacs] Better which-key description for shortcut 2021-01-07 19:14:45 +01:00
Lucien Cartier-Tilet 7a676a1f88
[Emacs] Go back to horizontal separation in mu4e 2021-01-05 23:53:44 +01:00
Lucien Cartier-Tilet a40d7472a1
[Emacs] Fix find-org-files when in TRAMP connection 2021-01-05 16:50:36 +01:00
Lucien Cartier-Tilet e8121b452f
[Emacs] Add shortcut to spawn new Eshell buffer 2021-01-05 16:43:45 +01:00
Lucien Cartier-Tilet 371b653ffe
[Emacs] Add shortcut for sorting lines 2021-01-04 16:15:27 +01:00
Lucien Cartier-Tilet d977b1a88b
[Emacs] Add again eshell syntax highlight 2021-01-04 14:17:09 +01:00
Lucien Cartier-Tilet fcc16e8f98
[Emacs] Fix org faces
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.
2021-01-04 14:17:09 +01:00
Lucien Cartier-Tilet 8c52c44931
[Emacs] Fix heading in captured files 2021-01-02 15:36:26 +01:00
Lucien Cartier-Tilet 3ef805e07b
[Emacs] For some reason, this made Emacs break 2021-01-02 00:58:31 +01:00
Lucien Cartier-Tilet ec1169b3b7
[Emacs] Add leader key for evil-lisp-state 2020-12-30 00:12:14 +01:00
Lucien Cartier-Tilet 842c1253fd
[Emacs] Fix broken Wttr.in package 2020-12-30 00:11:53 +01:00
Lucien Cartier-Tilet ac9c34dcf1
[Emacs] Update and fix org capture 2020-12-30 00:11:22 +01:00
Lucien Cartier-Tilet b9d4d6b180
[Emacs] Add swift to org-babel languages, neater noweb code 2020-12-27 19:00:30 +01:00
Lucien Cartier-Tilet 4ccab5440a
[Emacs] Run bibtex when exporting org to latex 2020-12-27 17:02:18 +01:00
Lucien Cartier-Tilet 7692337dc0
[Emacs] Reorganize some chapters 2020-12-27 17:01:50 +01:00
Lucien Cartier-Tilet e57da4e348
[Emacs] Make orgmode dates fixed-width 2020-12-27 17:00:46 +01:00
Lucien Cartier-Tilet 5ee319212d
[Emacs] Wider images in org-mode 2020-12-24 22:19:20 +01:00
Lucien Cartier-Tilet 734745a8e9
[Emacs] Add doc to two vars and a function, update emacs.org
Two of my variables declared at the beginning of my dotspacemacs are now
documented, as well as the function `phundrak/update-config-files-p'
2020-12-24 22:17:40 +01:00
Lucien Cartier-Tilet 09d9ba6446
[Emacs] Better org configuration, better handling of emacs startup
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.
2020-12-24 12:51:28 +01:00
Lucien Cartier-Tilet 9c775aa613
[Emacs] Fix leading whitespace in org capture templates 2020-12-23 04:52:53 +01:00
Lucien Cartier-Tilet 00d31c4597
[Emacs] setq to defvar, lexical binding, rename and move headers
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.
2020-12-23 04:26:27 +01:00
Lucien Cartier-Tilet 9710304da7
[Emacs] Add part on how this litterate config works 2020-12-23 02:13:45 +01:00
Lucien Cartier-Tilet b1f2be0016
[Emacs] Remove w3m layer, compile configuration files when exported
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
2020-12-23 01:54:07 +01:00
Lucien Cartier-Tilet bcd9ec58b5
[Emacs] Use rsync protocol instead of ssh for org projects 2020-12-21 20:45:30 +01:00
Lucien Cartier-Tilet 82ae905195
[Emacs] Fix SVG integration, better example org buffer 2020-12-21 18:19:10 +01:00
Lucien Cartier-Tilet a33fa55ab7
[Emacs] Move org visual configuration, add screenshot of org buffer 2020-12-21 15:00:35 +01:00
Lucien Cartier-Tilet 2f80220f88
[Emacs] Banner fix, better mu4e display, neater code
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
2020-12-19 17:31:20 +01:00
Lucien Cartier-Tilet 013eca17d3
[Emacs] Better description 2020-12-19 17:24:47 +01:00
Lucien Cartier-Tilet 79ded07aeb
[Emacs] Simpler code, uninstall unused packages 2020-12-19 17:24:17 +01:00
Lucien Cartier-Tilet dc41032190
[Emacs] Yet better face for replied to and forwarded emails in mu4e 2020-12-10 10:34:02 +01:00
Lucien Cartier-Tilet e6775cefbd
[Emacs] Subdivide Mu4e configuration, fix Emacs filtering
This commit divides the Mu4e configuration into three subchapters.

Filtering for the Emacs mailinglists is also fixed.
2020-12-10 09:33:41 +01:00
Lucien Cartier-Tilet 1cd4f60338
[Emacs] Fix indistinguishable mu4e faces
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.
2020-12-10 09:10:52 +01:00
Lucien Cartier-Tilet 7e91539f5e
[Emacs] Better mu4e inboxes
Mailing lists are now separated from my main inbox. Linguistics and
Emacs now both have their own inbox.
2020-12-10 09:09:08 +01:00
Lucien Cartier-Tilet 0a54b4d67f
[Emacs] Fix Eshell banner
Fix reference to undefined variable

Fix incorrect calculation of usage percentage of memory
2020-12-10 09:08:22 +01:00
Lucien Cartier-Tilet 880a0e14df
[Emacs] Remove helm dependency for `find-org-files'
This function is also renamed from `find-org-file' to `find-org-files`
and it became much, much faster.
2020-12-10 09:07:34 +01:00
Lucien Cartier-Tilet 5f129d953a
[Emacs] Make Elisp source codes use lexical binding in org file 2020-12-07 18:34:48 +01:00
Lucien Cartier-Tilet eee5575a2d
[Emacs] Move back code from custom layer to config for Dired 2020-12-07 17:39:33 +01:00
Lucien Cartier-Tilet 77bd751c05
[Emacs] Add function for taking SVG screenshots of Emacs 2020-12-07 16:24:44 +01:00
Lucien Cartier-Tilet 9d0dea47a4
[Emacs] Add code for beautiful Eshell banner 2020-12-07 15:00:00 +01:00
Lucien Cartier-Tilet 423a1c91cb
[Emacs] Remove Eshell syntax highlight package
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.
2020-12-07 14:59:07 +01:00
Lucien Cartier-Tilet dd60197fec
[Emacs] Add shortcut for publishing my blog 2020-12-06 11:30:44 +01:00
Lucien Cartier-Tilet ff12dbe2c9
[Emacs] Make `phundrak/blog-publish' interactive 2020-12-06 01:34:08 +01:00
Lucien Cartier-Tilet 541577f933
[Emacs] Add blog publishing function, reorganize order of headers 2020-12-06 00:55:33 +01:00
Lucien Cartier-Tilet 83d1dad6d5
[Emacs] Add Plantuml layer 2020-12-05 16:10:25 +01:00
Lucien Cartier-Tilet c46fcd3db7
[Emacs] Move Eshell functions to aliases
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
2020-12-02 17:33:00 +01:00
Lucien Cartier-Tilet bdc4e543cf
[Emacs] Add shortcut to eshell 2020-12-02 17:29:37 +01:00
Lucien Cartier-Tilet 312a7ebf2d
[Emacs] Fix issue with path abbreviation in Eshell 2020-12-02 17:29:14 +01:00
Lucien Cartier-Tilet 150c3e0b33
[Emacs] Better org-mode theme 2020-12-02 11:45:12 +01:00
Lucien Cartier-Tilet 516ff67996
[Emacs] Fix text in mu4e configuration 2020-12-02 11:38:49 +01:00
Lucien Cartier-Tilet fe13ebd0cc
[Emacs] Update packages, add Eshell syntax highlight 2020-12-01 21:55:00 +01:00
Lucien Cartier-Tilet 2f0b3d1068
[Rofi] Nicer theme in my opinion 2020-11-29 13:28:13 +01:00
Lucien Cartier-Tilet 05ba577b2f
[Emacs] Better Emacs visual customization 2020-11-28 18:14:52 +01:00
Lucien Cartier-Tilet 4ee2023364
[Emacs] Add workaround for smartparens issue 2020-11-28 18:14:52 +01:00
Lucien Cartier-Tilet 1d5bf5a275
[Emacs] Add custom packages path 2020-11-27 16:48:03 +01:00
Lucien Cartier-Tilet 9dabe4c67b
[Emacs] Add shortcut for tetris, update org-mode faces 2020-11-27 16:48:03 +01:00
Lucien Cartier-Tilet 6ddf6df989
[Emacs] Add evil keybindings for tetris 2020-11-19 11:29:13 +01:00
Lucien Cartier-Tilet c715ae59d9
[Emacs] Fix weird LaTeX output with tabs in source blocks 2020-11-19 11:28:41 +01:00
Lucien Cartier-Tilet 2da110c745
[Emacs] Fix reference in org file 2020-11-19 11:28:20 +01:00
Lucien Cartier-Tilet 078756c7d5
[Emacs] Better faces for org-mode 2020-11-19 11:27:43 +01:00
Lucien Cartier-Tilet 653ac27a8a
[Emacs] Some more beautiful Org-mode 2020-11-14 02:21:45 +01:00
Lucien Cartier-Tilet d66d66290b
[Emacs] remove indentation of properties drawers 2020-11-14 02:21:26 +01:00
Lucien Cartier-Tilet 3a1015b9e7
[Org files] Formatted org files to look better with new org config 2020-11-13 15:18:43 +01:00
Lucien Cartier-Tilet 77883c75bd
[Emacs] Dotspacemacs update 2020-11-13 00:39:34 +01:00
Lucien Cartier-Tilet e514ed5e33
[Emacs] Prettify Org-mode 2020-11-13 00:38:04 +01:00
Lucien Cartier-Tilet caba458431
[Emacs] Eshell prompt update
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'.
2020-11-06 14:41:29 +01:00
Lucien Cartier-Tilet 0b5519e058
[Emacs] Add Swift layer with ob-swift, keybinding to woman
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'.
2020-10-29 16:55:19 +01:00
Lucien Cartier-Tilet 2795f44e2f
[Emacs] Update shell prompt regex 2020-10-25 11:26:04 +01:00
Lucien Cartier-Tilet 86de78bedb
[Emacs] Remove some Eshell-specific functions 2020-10-25 11:25:13 +01:00
Lucien Cartier-Tilet 24beba2616
[Emacs] Better slug generator for custom IDs, update some CUSTOM_IDs 2020-10-25 11:24:04 +01:00
Lucien Cartier-Tilet 72edabc4f1
[Emacs] Better code style, replace macro with function
`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
2020-10-25 11:17:15 +01:00
Lucien Cartier-Tilet e8b206ef94
[Emacs] Change the default mode for the scratch buffer to Elisp 2020-10-22 19:27:23 +02:00
Lucien Cartier-Tilet ae94dd23ff
[Emacs] Fix "function definition is void: abbr-pwd" error
continuous-integration/drone/push Build is passing Details
2020-10-22 15:48:22 +02:00
Lucien Cartier-Tilet 7d39ccd8a6
[Emacs] Update Eshell prompt regex
continuous-integration/drone/push Build is passing Details
2020-10-22 13:56:04 +02:00
Lucien Cartier-Tilet 5096b4f9a6
[Emacs] Update slug regex for CUSTOM_ID, update some CUSTOM_ID
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
2020-10-22 13:52:14 +02:00
Lucien Cartier-Tilet 3b865970e4
[Emacs] Yet some more documentation
This commit adds documentation for `phundrak/abbr-pwd', renamed to
`phundrak/abbr-path'
2020-10-22 13:51:50 +02:00
Lucien Cartier-Tilet 72496186f5
[Emacs] Rename `eshell/my-prompt', simplify `phundrak/abbr-pwd'
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).
2020-10-22 13:36:29 +02:00
Lucien Cartier-Tilet a405eb602a
[Emacs] Add documentation to undocumented functions 2020-10-22 13:35:04 +02:00
Lucien Cartier-Tilet 9cfa1c1ac4
[Emacs] Code style, prompt fix for Eshell
continuous-integration/drone/push Build is passing Details
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.
2020-10-22 12:50:05 +02:00
Lucien Cartier-Tilet e6bb054b7a
[Emacs] Fix references to phundrak/nord* variables
continuous-integration/drone/push Build is passing Details
2020-10-22 08:45:35 +02:00
Lucien Cartier-Tilet b97bbf8206
[Emacs] Fix git prompt in Eshell
continuous-integration/drone/push Build is passing Details
2020-10-22 02:03:30 +02:00
Lucien Cartier-Tilet 070b61ef00
[Emacs] Eshell can now abbreviate the path in its prompt
continuous-integration/drone/push Build is passing Details
The `SPC o t S' keybinding is now also associated with toggling this
option.
2020-10-22 01:57:13 +02:00
Lucien Cartier-Tilet 833a6e1d75
[Emacs] Eshell prompt no longer relies on Magit 2020-10-22 00:52:01 +02:00
Lucien Cartier-Tilet 585695f085
[Emacs] Clarify documentation
continuous-integration/drone/push Build is passing Details
2020-10-21 23:56:57 +02:00
Lucien Cartier-Tilet 8178eefc14
[Emacs] Additional tweaks for Eshell prompt 2020-10-21 23:56:30 +02:00
Lucien Cartier-Tilet d51b59a963
[Emacs] Enhance powerline theme of Eshell
continuous-integration/drone/push Build is passing Details
2020-10-21 23:40:37 +02:00
Lucien Cartier-Tilet 5211c24410
[Emacs] Rework Eshell prompt
continuous-integration/drone/push Build is passing Details
The Eshell prompt is now git-aware with some powerline associated to it.
2020-10-21 23:21:10 +02:00
Lucien Cartier-Tilet 31eb64c2ba
[Emacs] add Docker Tramp method, move yadm Tramp method
continuous-integration/drone/push Build is passing Details
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.
2020-10-21 17:55:22 +02:00
Lucien Cartier-Tilet 58f895743e
[Emacs] Simplified python layer 2020-10-21 17:54:57 +02:00
Lucien Cartier-Tilet 97c0c4c744
[Emacs] Simplify Elisp configuration code, more literate programming
continuous-integration/drone/push Build is passing Details
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.
2020-10-21 17:52:10 +02:00
Lucien Cartier-Tilet 209d835def
[Emacs] Update mu4e shortcuts
continuous-integration/drone/push Build is passing Details
Now all bookmarks hide deleted messages except the one dedicated to that
2020-10-20 13:52:59 +02:00
Lucien Cartier-Tilet e46a5f3e4c
[Emacs] Remove helm-icons
continuous-integration/drone/push Build is passing Details
2020-10-14 18:44:24 +02:00
Lucien Cartier-Tilet 2b913fa2a7
[Emacs] Remove ESS layer and odf-mode, add org-roam support 2020-10-14 18:42:24 +02:00
Lucien Cartier-Tilet 522f17e440
[Emacs] whitespace 2020-10-14 18:42:04 +02:00
Lucien Cartier-Tilet 12491a827b
[Emacs] Update Spacemacs init chapter
This commit syncs the Spacemacs init chapter with Spacemacs’
dotspacemacs template
2020-10-14 18:38:22 +02:00
Lucien Cartier-Tilet 3e3d197d44
[Emacs] Remove common-lisp layer, add Swift layer
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.
2020-10-09 18:11:03 +02:00
Lucien Cartier-Tilet 80a3a944f3
[Emacs] Remove unused code
This commit removes code that had no effect.
2020-10-09 18:10:31 +02:00
Lucien Cartier-Tilet fb0263a3b7
[Emacs] Move out function definition for `phundrak/find-org-files'
This commit promotes a lambda to an actual function and moves it to the
custom functions part.
2020-10-09 18:08:58 +02:00
Lucien Cartier-Tilet ec4a9538e8
[Emacs] Change title format of frame 2020-10-01 09:55:57 +02:00
Lucien Cartier-Tilet 7b2c7d8145
[Org source] Fix mkdirp tangling argument 2020-09-28 18:22:32 +02:00
Lucien Cartier-Tilet 6a41fe96dd
[Emacs] Change default download directory for mu4e
continuous-integration/drone/push Build is passing Details
2020-09-23 16:28:00 +02:00
Lucien Cartier-Tilet 48dcac5479
[Emacs] Added languagetool layer, added ligature support, new font
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.
2020-09-23 16:24:57 +02:00
Lucien Cartier-Tilet 414eabf1a6
[Emacs] Add shortcut for `helm-locate'
continuous-integration/drone/push Build is passing Details
2020-09-17 13:13:48 +02:00