Commit Graph

128 Commits

Author SHA1 Message Date
ffacd7d71a
[Emacs] Ignore some recent files 2021-03-26 13:47:19 +01:00
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
43b8263702
[Emacs] Add two new custom functions 2021-03-26 13:45:47 +01:00
3909031ae2
[Emacs] Add Scala layer, revert relative lines settings 2021-03-26 13:45:11 +01:00
774f69589a
[Emacs] org-appear now on MELPA 2021-03-26 13:41:11 +01:00
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
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
ab051c8b35
[Emacs] Add email view with Xwidget webkit browser 2021-02-10 21:00:56 +01:00
fcd76a9bbe
[Emacs] Change font used in org-mode 2021-02-09 16:54:30 +01:00
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
527380e5ff
[Org, meta] Change formatting of org files 2021-02-04 14:43:09 +01:00
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
2538786be8
[Emacs] Replace Swift layer with Java layer 2021-02-04 09:20:52 +01:00
9062092b1d
[Fish, Emacs, Bootstrap] Replace yay with paru 2021-02-04 09:17:32 +01:00
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
026b005cd0
[Emacs] Better faces for diff-mode 2021-01-21 14:36:16 +01:00
eff1d942a8
[Emacs] Update paths for `phundrak/find-org-files' 2021-01-21 14:35:57 +01:00
2c3f43dbbf
[Emacs] Remove unused shortcut and function 2021-01-21 14:35:48 +01:00
b191f32bca
[Emacs] Add ob-latex-as-png package and setup 2021-01-18 01:42:09 +01:00
a1d29e6bd7
[Emacs] Fix fixed-pitch faces, add svg of org-mode screenshot 2021-01-13 17:13:45 +01:00
3c5cec5df7
[Emacs] Fix fixed-pitch faces 2021-01-10 15:37:06 +01:00
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
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
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
1b5fb4144d
[Emacs] Better which-key description for shortcut 2021-01-07 19:14:45 +01:00
7a676a1f88
[Emacs] Go back to horizontal separation in mu4e 2021-01-05 23:53:44 +01:00
a40d7472a1
[Emacs] Fix find-org-files when in TRAMP connection 2021-01-05 16:50:36 +01:00
e8121b452f
[Emacs] Add shortcut to spawn new Eshell buffer 2021-01-05 16:43:45 +01:00
371b653ffe
[Emacs] Add shortcut for sorting lines 2021-01-04 16:15:27 +01:00
d977b1a88b
[Emacs] Add again eshell syntax highlight 2021-01-04 14:17:09 +01:00
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
8c52c44931
[Emacs] Fix heading in captured files 2021-01-02 15:36:26 +01:00
3ef805e07b
[Emacs] For some reason, this made Emacs break 2021-01-02 00:58:31 +01:00
ec1169b3b7
[Emacs] Add leader key for evil-lisp-state 2020-12-30 00:12:14 +01:00
842c1253fd
[Emacs] Fix broken Wttr.in package 2020-12-30 00:11:53 +01:00
ac9c34dcf1
[Emacs] Update and fix org capture 2020-12-30 00:11:22 +01:00
b9d4d6b180
[Emacs] Add swift to org-babel languages, neater noweb code 2020-12-27 19:00:30 +01:00
4ccab5440a
[Emacs] Run bibtex when exporting org to latex 2020-12-27 17:02:18 +01:00
7692337dc0
[Emacs] Reorganize some chapters 2020-12-27 17:01:50 +01:00
e57da4e348
[Emacs] Make orgmode dates fixed-width 2020-12-27 17:00:46 +01:00
5ee319212d
[Emacs] Wider images in org-mode 2020-12-24 22:19:20 +01:00
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
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
9c775aa613
[Emacs] Fix leading whitespace in org capture templates 2020-12-23 04:52:53 +01:00
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
9710304da7
[Emacs] Add part on how this litterate config works 2020-12-23 02:13:45 +01:00
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
bcd9ec58b5
[Emacs] Use rsync protocol instead of ssh for org projects 2020-12-21 20:45:30 +01:00
82ae905195
[Emacs] Fix SVG integration, better example org buffer 2020-12-21 18:19:10 +01:00
a33fa55ab7
[Emacs] Move org visual configuration, add screenshot of org buffer 2020-12-21 15:00:35 +01:00