72 Commits

Author SHA1 Message Date
Aryadev Chavali
26219a0654 Emacs: Some extra bindings and configuration 2025-09-23 23:21:00 +01:00
Aryadev Chavali
8c95236530 Small refactor 2025-09-21 21:20:55 +01:00
Aryadev Chavali
1e071228be Bunch of stuff, who cares 2025-08-20 00:13:16 +01:00
Aryadev Chavali
64808681e3 Emacs changes... lots of them 2025-06-08 14:06:10 +01:00
Aryadev Chavali
4f025811bc Some more updates 2025-06-04 04:27:14 +01:00
Aryadev Chavali
cd58595d2e no-littering-var-file-name: .local -> .var 2025-02-17 14:53:10 +00:00
Aryadev Chavali
30f92b7dba Update lazy and change straight-use-package for org->org-mode 2024-12-15 14:04:32 +00:00
Aryadev Chavali
51c373b3cb Cannot be bothered to explain - just read the changes if you want 2024-12-03 14:08:59 +00:00
Aryadev Chavali
430ac30786 Update copyright notices 2024-10-16 16:44:09 +01:00
Aryadev Chavali
0e71a4f4ef Fix weird error with straight-vc-git-default-clone-depth
Need to file an error in straight.el
2024-10-16 16:34:51 +01:00
Aryadev Chavali
e36e3bd66c Changes to Emacs config (can't explain because moving to elpaca)
I'm having issues with freezing the new versions of stuff in straight
for Emacs 30.  Moving to elpaca to hopefully get out of that.
2024-10-14 00:43:26 +01:00
Aryadev Chavali
be393555b0 Some changes to config, mostly bindings and text 2024-10-05 15:33:21 +01:00
Aryadev Chavali
df4d28987d (Emacs/config)~Massively speed up git cloning in straight 2024-09-08 02:52:37 +01:00
Aryadev Chavali
1ccbadb4b1 Update copyrights 2024-06-27 15:09:44 +01:00
Aryadev Chavali
058b4fa959 (Emacs/*)~Shamelessly stole some optimisations from doom
Cut my boot time by 0.2s?!
2024-06-27 15:09:44 +01:00
Aryadev Chavali
0beb166d47 (Emacs|SXHkD)~Some small fixes 2024-06-23 21:35:00 +01:00
Aryadev Chavali
be2bb62baf (Emacs)~change licensing agreement
I only want to publish under version 2, not version 3.
2024-06-23 21:33:39 +01:00
Aryadev Chavali
955f2a223c (Emacs/config|init)~cut my init time to just a second
I had a problem with after-init-hook which would (while supposedly
keeping (emacs-init-time) under 1.2 seconds) take ages to start emacs
just due to how many things were starting up using it.  So I removed
all the after-init-hook functions and instead aggressively demand the
stuff I need and defer everything else through ":defer", ":after",
":hook" and ":general".

Happy to say my boot time is now actually 1.2 seconds without
compilation.
2024-05-13 17:02:56 +05:30
Aryadev Chavali
41bf661eed (Emacs/init)~gc-cons-threshold is set to max at start of bootup 2024-05-06 02:38:06 +05:30
Aryadev Chavali
711dcf5e2d (Emacs/literate)~reworked literate to only compile if necessary
Speeds up boot and kill.

Actually checks for timestamps and logical errors are removed.
2024-04-24 04:01:26 +05:30
Aryadev Chavali
31155589e5 (Emacs/init)~updated straight.el in bootstrap
The URL for bootstrap.el has changed as a result of straight now being
under a group rather than a user.  Just means I need to change it
here.  While doing so, I update the bootstrap version as well.
2024-04-09 14:35:02 +06:30
Aryadev Chavali
af191e7de8 (Emacs/config|init)~heavily optimised startup time
Used esup to figure out some points of pain, then fixed them.  Also
set gc-cons-threshold at start of init.el really high, then reset
after finished loading.
2023-10-16 08:41:17 +01:00
Aryadev Chavali
92d0d9dc1c (Emacs)~no-littering is setup in init.el
This solves the bug with custom.el where it randomly resets and
forgets what I setup there already.  Found this out through
the custom.el info, where setting a custom file yourself requires
loading it in post.
2023-09-28 16:27:11 +01:00
Aryadev Chavali
7ec779abb1 (Emacs)~fixed an error with using the inbuilt org-mode in init.el 2023-09-22 14:50:42 +01:00
Aryadev Chavali
0d3c0b9d9c (Emacs)~split literate config into separate file 2023-04-25 12:59:21 +01:00
Aryadev Chavali
73973795dc (Emacs)~init.el: don't compute membibytes on startup
I can just use the numbers computed directly without doing the
recursive call.
2023-03-26 20:19:02 +01:00
Aryadev Chavali
a1f8cc34aa (Emacs)+better comments with copyright 2022-12-01 08:01:55 +00:00
Aryadev Chavali
5dff5a59ed (Emacs)~I don't know how to spell 2022-09-14 00:54:19 +01:00
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