Commit Graph

84 Commits

Author SHA1 Message Date
ffd4621060
[Emacs] Turn native async compilation warnings off early 2021-01-27 16:41:32 +01:00
b191f32bca
[Emacs] Add ob-latex-as-png package and setup 2021-01-18 01:42:09 +01:00
e2a5bd3c60
Remove unneeded code, fix org faces 2021-01-13 16:40:49 +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
dcb27e32d2
[Emacs] Don’t byte-compile user configuration in dotspacemacs
Byte-compiling my configuration actually doesn’t make configuration
loading time any shorter and increases Emacs startup time due to the
time spent byte-compiling it. This is now removed.
2021-01-05 16:44:09 +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
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
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
4cfea387a3
[Emacs] Fix issue when automatically tangling Emacs config
Also simpler call to shell process
2020-12-21 18:19:58 +01:00
0bd5b42b79
[Emacs] dotspacemacs update 2020-12-19 17:23:51 +01:00
a2ef908528
[Emacs] Simpler path in dotspacemacs 2020-12-19 17:23:31 +01:00
af1ea985d8
[Emacs] dotspacemacs update 2020-12-06 11:31:30 +01:00
fe13ebd0cc
[Emacs] Update packages, add Eshell syntax highlight 2020-12-01 21:55:00 +01:00
078756c7d5
[Emacs] Better faces for org-mode 2020-11-19 11:27:43 +01:00
77883c75bd
[Emacs] Dotspacemacs update 2020-11-13 00:39:34 +01:00
49894ec6e2
[Emacs] Remove duplicate code in dotspacemacs 2020-11-06 14:48:36 +01:00
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
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
712fb54c2f
[Emacs] Forgot to rename my org file in my dotspacemacs
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-01 18:22:32 +02:00
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
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
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
b7d437507d
Updated Emacs packages, removed unused line 2020-07-11 18:21:15 +02:00
0243f490f6
better org files, updated installation packages 2020-05-17 15:04:07 +02:00
bc98d0acca
updated dotspacemacs 2020-04-29 17:49:56 +02:00
0f1c273b30
Updated dotspacemacs 2020-04-14 21:59:23 +02:00
6f5c59bdf4
Dotspacemcas update 2020-04-06 14:11:41 +02:00
e51b7e6e17
dotspacemacs auto updated 2020-03-25 13:12:08 +01:00
d91932bf0e
Replaced Gnus with Mu4e
Removed all Gnus configuration, replaced them with mu4e.
2020-02-25 12:33:38 +01:00
b115f6cd8c
Updated some paths, fixed some code style, added back some shortcuts
Updated some paths after the Emacs configuration directory was moved

Some variables in my dotspacemacs were renamed in order to follow the
Spacemacs coding style with a ~//~ used for marking private variables,
and I prefixed their name with ~dotspacemacs-~ in order to avoid any
collision with other packages or configuration I write.

Added back M-« and M-» in order to fix the M-< and M-> shortcuts issue
with the bépo layout.
2020-02-16 23:56:25 +01:00
3105c0aa72
Forgot to commit this, fixed path to spacemacs.org 2020-02-08 16:01:38 +01:00
2bd06d9558
moved spacemacs.org, forgot to modify this 2020-01-16 20:18:51 +01:00
edc7d3b970
Moved org files to single directory, Polybar config now in org file 2020-01-16 19:48:14 +01:00
3f06bb7740
even more of my dotspacemacs in spacemacs.org 2020-01-16 00:49:36 +01:00
21aa91b778
dotspacemacs/init is now also part of spacemacs.org 2020-01-15 19:04:55 +01:00
2ed9024d5c
Now all user config is in spacemacs.org file 2020-01-14 21:56:02 +01:00
ad3e0d7ced
Most of the user configuration of Spacemacs now in Org file
Most of the content of `dotspacemacs/user-init' and
`dotspacemacs/user-config' is now loaded from `~/spacemacs.org'.
Literary programming ftw.
2020-01-14 21:10:21 +01:00
fb55a58dfa
Added `helpful' layer, removed commented out require, fixed function
`helpful' is a layer that aims to provide better help buffers, and I
prefer it to Emacs’ default help mode.

I also removed the commented out `org-tempo' require as I don’t
actually need commented out code, especially this one.

I also fixed the function `terminal-here-launch' by specifying the
name of the external terminal to call.
2020-01-09 13:51:07 +01:00
75744ab341
updated layers, lots of LSP stuff
Removed the github layer as I don’t use it.

I also had to fix some variables for the dart layer, and add some
modes excluded from evil.

=major-modes= was added for PKGBUILD support, and notmutch layer was
removed, I’m staying on Gnus.

Shell now spawns at the bottom of the screen.

Some unused packages were removed, dired-du was added.

Added some requires and configuration for LSP and dap-mode.

Added custom function to write to buffer, used from eshell mainly.

Custom flutter-related shortcuts added for dart-mode.

Updated publishing path for langue.phundrak.com

Simplified and cleaned up some lines.
2019-12-28 22:17:22 +01:00
61e1815a69
Removed unused layer, fixed LaTeX exports, added Notmuch config
gpu layer and Dionysos configs were removed due to being unused. The
Notmuch layer was added so I can test this email client, and the LaTeX
options were reworked so PDF exports now do not produce errors and
Japanese characters are supported.
2019-12-05 13:43:17 +01:00
dc71280513
Fixed header and links in Readmes, updated dotspacemacs 2019-11-30 19:45:41 +01:00
5945d47227
Vanilla shortcuts in dired, fixed image integration in LaTeX from org-mode 2019-11-27 01:36:16 +01:00
68a53bb619
Removed some old fixes now useless, unused layers, made evil bépo-compatible 2019-11-23 18:01:52 +01:00
ccedf83ac9
Switched to LSP backend, added packages to install and configuration
In Emacs, I switched to the LSP backend for C/C++, CSS, Dart, HTML, Go,
Javascript and Python. I also removed a redundant line for web-beautify, and I
removed the plantuml layer since I don’t use it.

This lead to the installation of multiple packages, some of which were already
required but not explicitly installed by the bootstrap. I added the packages
existing in the Arch repos and the AUR, and some packages will get installed by
pip or by go’s package manager. I also set up the configuration of Chicken, and
more precisely, of its documentation.
2019-11-10 10:40:34 +01:00
6e15c5a232
Split dotspacemacs, edited editing style, removed unused packages
I removed my gnus configuration from my dotspacemacs file and put it into my
~/.gnus.el file.

I also added variables to my hybrid editing style for Spacemacs, and some
packages that were either redundant (e.g. explicit cmake-mode) or unused (e.g.
dionysos) were removed.
2019-11-09 18:42:15 +01:00
Phuntsok Drak-pa
810d210715
added Gitflow, added custom shortcuts, fixed gnus configuration
Added the Magit Gitflow package to Emacs.

Also added some custom shortcuts, such as `SPC o x t f` which is an alias to
`C-u M-q` or `M-1 M-q`. This is due to the change of editing style in Spacemacs,
I went from the Emacs editing style to the hybrid editing style —that is, in
normal mode, I am using evil-mode, and in insert mode, I am using Emacs’
keybinding.

This also lead me to add a couple of shortcuts for Gnus, which had a broken IMAP
configuration (wrong port).
2019-11-06 16:49:33 +01:00
Phuntsok Drak-pa
a2e31d8a7b
added pass layer 2019-11-03 12:44:22 +01:00
Phuntsok Drak-pa
f5c0bb387f
fixed email config, added php layer 2019-10-24 23:09:34 +02:00