Commit Graph
434 Commits
Author SHA1 Message Date
phundrak e8b206ef94 [Emacs] Change the default mode for the scratch buffer to Elisp 2020-10-22 19:27:23 +02:00
phundrak ae94dd23ff [Emacs] Fix "function definition is void: abbr-pwd" error
continuous-integration/drone/push Build is passing
2020-10-22 15:48:22 +02:00
phundrak 7d39ccd8a6 [Emacs] Update Eshell prompt regex
continuous-integration/drone/push Build is passing
2020-10-22 13:56:04 +02:00
phundrak 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
phundrak 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
phundrak 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
phundrak a405eb602a [Emacs] Add documentation to undocumented functions 2020-10-22 13:35:04 +02:00
phundrak 9cfa1c1ac4 [Emacs] Code style, prompt fix for Eshell
continuous-integration/drone/push Build is passing
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
phundrak e6bb054b7a [Emacs] Fix references to phundrak/nord* variables
continuous-integration/drone/push Build is passing
2020-10-22 08:45:35 +02:00
phundrak b97bbf8206 [Emacs] Fix git prompt in Eshell
continuous-integration/drone/push Build is passing
2020-10-22 02:03:30 +02:00
phundrak 070b61ef00 [Emacs] Eshell can now abbreviate the path in its prompt
continuous-integration/drone/push Build is passing
The `SPC o t S' keybinding is now also associated with toggling this
option.
2020-10-22 01:57:13 +02:00
phundrak 833a6e1d75 [Emacs] Eshell prompt no longer relies on Magit 2020-10-22 00:52:01 +02:00
phundrak 585695f085 [Emacs] Clarify documentation
continuous-integration/drone/push Build is passing
2020-10-21 23:56:57 +02:00
phundrak 8178eefc14 [Emacs] Additional tweaks for Eshell prompt 2020-10-21 23:56:30 +02:00
phundrak d51b59a963 [Emacs] Enhance powerline theme of Eshell
continuous-integration/drone/push Build is passing
2020-10-21 23:40:37 +02:00
phundrak 5211c24410 [Emacs] Rework Eshell prompt
continuous-integration/drone/push Build is passing
The Eshell prompt is now git-aware with some powerline associated to it.
2020-10-21 23:21:10 +02:00
phundrak 31eb64c2ba [Emacs] add Docker Tramp method, move yadm Tramp method
continuous-integration/drone/push Build is passing
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
phundrak 58f895743e [Emacs] Simplified python layer 2020-10-21 17:54:57 +02:00
phundrak 97c0c4c744 [Emacs] Simplify Elisp configuration code, more literate programming
continuous-integration/drone/push Build is passing
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
phundrak 209d835def [Emacs] Update mu4e shortcuts
continuous-integration/drone/push Build is passing
Now all bookmarks hide deleted messages except the one dedicated to that
2020-10-20 13:52:59 +02:00
phundrak e46a5f3e4c [Emacs] Remove helm-icons
continuous-integration/drone/push Build is passing
2020-10-14 18:44:24 +02:00
phundrak 2b913fa2a7 [Emacs] Remove ESS layer and odf-mode, add org-roam support 2020-10-14 18:42:24 +02:00
phundrak 522f17e440 [Emacs] whitespace 2020-10-14 18:42:04 +02:00
phundrak 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
phundrak 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
phundrak 80a3a944f3 [Emacs] Remove unused code
This commit removes code that had no effect.
2020-10-09 18:10:31 +02:00
phundrak 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
phundrak ec4a9538e8 [Emacs] Change title format of frame 2020-10-01 09:55:57 +02:00
phundrak 7b2c7d8145 [Org source] Fix mkdirp tangling argument 2020-09-28 18:22:32 +02:00
phundrak 6a41fe96dd [Emacs] Change default download directory for mu4e
continuous-integration/drone/push Build is passing
2020-09-23 16:28:00 +02:00
phundrak 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
phundrak 414eabf1a6 [Emacs] Add shortcut for `helm-locate'
continuous-integration/drone/push Build is passing
2020-09-17 13:13:48 +02:00
phundrak d7c01752cc [Emacs] Change HTML metadata, fix mu4e filter
continuous-integration/drone/push Build is passing
The Mu4e filter for my university emails wasn’t working properly, so I
fixed it.
2020-09-17 12:30:30 +02:00
phundrak ac7d1f7c31 [Emacs] Renamed spacemacs.org to emacs.org
continuous-integration/drone/push Build is passing
While the documentation of this commit gets deployed, redirects on my
server should be up
2020-09-13 18:15:21 +02:00