Commit Graph

44 Commits

Author SHA1 Message Date
Aryadev Chavali
a68e59b1b5 (Emacs)+recursive powers of 1024 to set gc-threshold
Nice function, deterministic, uses a minimal amount of time to compute.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
61f06ef0c8 (Emacs)~init.el literate functions
To remove the ~(require 'cl)~ dependency, I wrote my own reduce for
boolean values, recursive, which should do the trick.  Mostly just to
remove the annoying "haha no cl library anymore".
2022-09-14 00:47:16 +01:00
Aryadev Chavali
81d25daf61 (Emacs)+early-init native-compilation options
Set to 4 workers at the start to make compilation at least as fast as
possible: my laptop has 4 cores so it'll just slow it down until early
compilation is done, while my desktop can still keep going as it has 8
threads.  In config.org this is setup correctly so the rest of the
config (which is the much larger part) uses a system dependent number
of cores.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
c217f961f0 (Emacs)~alpha 0.95->0.9,+height for keyword,+support for native comp
Also deleted my install script, check out
https://git.aryadevchavali.com:/oreodave/emacs.git for my Emacs build.
2022-07-28 18:15:14 +01:00
Aryadev Chavali
9587f92757 (Emacs)+bindings for literate compile function
Described in the edit section, just read.
2021-11-22 06:20:05 +00:00
Aryadev Chavali
1c82737b1e (Emacs)-dashboard on new frame hook
Too much of a hassle, screws up magit messages
2021-07-25 15:44:48 +01:00
Aryadev Chavali
1aa826227e (Emacs)~minor edits
~haskell-process-type is now stack-ghci
+feature to switch to dashboard with each new frame
2021-07-25 15:44:48 +01:00
Aryadev Chavali
c42a5342dd (Emacs)+byte compilation and messages to +literate/compile-config 2021-03-25 09:58:10 +00:00
Aryadev Chavali
196c5cdf65 (Emacs)~gc-cons-threshold 20mb -> 100mb 2021-02-28 23:11:41 +00:00
Aryadev Chavali
1469245d30 (Emacs)+header for init.el 2020-09-27 22:12:07 +01:00
Aryadev Chavali
7d2fd018bd init.el:~use-package doesn't demand or defer -y/n to exit Emacs 2020-09-16 18:16:54 +01:00
Aryadev Chavali
f4bae31197 ~directory for straight returned 2020-09-01 21:41:25 +01:00
Aryadev Chavali
b14a494958 -customize settings
Stored in separate file
2020-08-28 11:45:10 +01:00
Aryadev Chavali
108b8ff0b5 +no littering, moves org mode snippets to .local 2020-08-28 11:44:29 +01:00
Aryadev Chavali
b86135cdd0 ~use-package -> autoload 2020-08-23 17:19:53 +01:00
Aryadev Chavali
11a3ef9cf9 ~moved all ob-tangle code to a with-eval-after-load
Instead of using an autoload which may or may not work, rely on
with-eval-after-load to handle the loading period.
2020-08-23 14:21:28 +01:00
Aryadev Chavali
8f6792e912 +few more variables set for use-package 2020-08-23 14:20:50 +01:00
Aryadev Chavali
8debeb262f +y-or-n question to stop kill-emacs, -require ivy from daemon
Added a little cute y-or-n question to allow myself a dialogue from
stopping Emacs before exiting.

Remove ivy from the greedy load list.
2020-08-18 00:42:59 +01:00
Aryadev Chavali
9b978dca9b +require general, ivy and company 2020-08-17 18:30:16 +01:00
Aryadev Chavali
d1cbadbf22 +use-package variables
Mostly just ease of use stuff like making sure hooks had normal suffixes
2020-08-14 23:49:14 +01:00
Aryadev Chavali
d85ed8faa9 +elisp header to (early-)init.el 2020-08-14 23:48:21 +01:00
Aryadev Chavali
af4953c5c0 +set gc-cons-threshold back to normal levels after load 2020-08-14 23:45:24 +01:00
Aryadev Chavali
d3ce3f83a4 -ivy from eager loading in init.el
This is because ivy loads after init anyway.
2020-08-14 23:41:12 +01:00
Aryadev Chavali
6bc4d5e271 ~clean up with documentation generally 2020-08-14 23:41:03 +01:00
Aryadev Chavali
c97ffe9fde ~documentation to +literate/load-config as well as change to code 2020-08-14 23:39:30 +01:00
Aryadev Chavali
c70bfc25d3 +sectioning and an autoload for ob-tangle 2020-08-14 23:39:16 +01:00
Aryadev Chavali
e47cb46fbf ~constant names 2020-08-14 23:39:16 +01:00
Aryadev Chavali
0cb72b3793 ~put straight into init.el 2020-08-11 20:10:23 +01:00
Aryadev Chavali
7f5b06c08b ~clean up custom variables in init.el 2020-08-10 12:29:09 +01:00
Aryadev Chavali
739636d0a9 ~clean up init.el literate code 2020-08-10 12:27:49 +01:00
Aryadev Chavali
9f3bd324b9 +when emacs in server mode, load stuff greedily
When emacs is launched standalone, it makes sense to optimise towards
smaller load times through lazy loading. However, when Emacs is in
server or daemon there's no point holding back. Just load everything
most of the necessary stuff such that on first emacsclient launch we
have everything available for use.
2020-08-09 20:21:23 +01:00
Aryadev Chavali
b21fc53e29 ~move ob-tangle to compile-config function
Only when we're compiling do we need access to the tangle functionalities.
2020-08-09 17:35:59 +01:00
Aryadev Chavali
b309ef154d +better literate config
This is a smarter Emacs literate config. The way it works is simple:

- If no config output files exist, compile them. Otherwise just load
the config

- Add a hook when exiting emacs such that the config is compiled and
ready for next call.

This makes it so that load time is fast and compile occurs at a more
opportune time than at init.
2020-08-09 17:32:09 +01:00
Aryadev Chavali
d3f66b80ca +brand new Emacs config
This one is a lot more closer to Emacs core, it doesn't use general
or the SPC leader as I'm used to but instead the default meta-key
chord bindings to work better. I don't use a lot of features in Emacs
that Doom used to provide in bindings, so I'm stripping them away and
slowly adding stuff I like.
2020-08-01 12:57:09 +01:00
dx
f8ca6b9e1b +major refactors to vanilla Emacs config
Developed quite a bit of the config.

I've added a literate org config, loaded through the init.el file.
Furthermore, I've added some basic general maps and have gained a much
better understanding of Emacs than before. This refactor is one of the
main reasons I decided to so heavily refactor my doom config.
2020-07-15 15:31:56 +01:00
dx
5caab1de5d -straight and ~formatting 2020-06-27 11:05:08 +01:00
dx
d0ae12aec0 +dired binding 2020-06-21 02:00:21 +01:00
dx
79ce61f9ca +occur binding 2020-06-21 01:59:52 +01:00
dx
477dd73314 +add hook to prog-mode-hook to turn on hs-minor-mode 2020-06-21 01:59:30 +01:00
dx
ab4f73cfbe ~some edits to main emacs to make it easier to use 2020-05-24 00:41:13 +01:00
dx
b4ebf75980 +set user-emacs-directory to .config/emacs in custom Emacs 2020-05-20 07:44:55 +01:00
dx
224b9d9759 +straight and telephone line to custom emacs 2020-05-17 09:27:53 +01:00
dx
c97e386425 +a lot more stuff
+better binding system (general) with a leader
+evil-surround
+which-key
+org
+counsel

and tango-dark cos if I see default emacs again I'm going to throw my
computer outside.
2020-05-13 00:15:44 +01:00
dx
650514c137 ~.emacs.d -> .config/emacs, XDG conventions 2020-05-05 02:59:45 +01:00