Commit Graph

494 Commits

Author SHA1 Message Date
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
9a7b4c8336 (Emacs)+binding for copyright notice 2023-09-28 15:32:45 +01:00
Aryadev Chavali
2f610dba67 (dir-locals|Emacs)+license choice into dir-locals 2023-09-28 15:31:54 +01:00
Aryadev Chavali
2c1f1858b7 (Emacs)~license.el now has a function to insert copyright notices
For the top of source code blocks.
2023-09-28 15:31:34 +01:00
Aryadev Chavali
249e3f0dca (Emacs)+licensing script
I manage my own alist of Licenses, which I can completing-read for.  I
should also define something to produce a copyright notice.
2023-09-28 15:18:29 +01:00
Aryadev Chavali
55d4ba6cf8 (Emacs)+org-refile binding \-r 2023-09-22 22:36:06 +01:00
Aryadev Chavali
2bd582e419 (Emacs)+rot13 mode, +use-file-dialog=nil, +dired-dwim-target=t 2023-09-22 14:52:18 +01:00
Aryadev Chavali
2b24770fa9 (Emacs)~modified keybindings
Main one is "<SPC>-g" being magit-dispatch now.
2023-09-22 14:52:10 +01:00
Aryadev Chavali
66fa84dd10 (Emacs)~custom.el has safe values for projectile-*-cmd 2023-09-22 14:50:42 +01:00
Aryadev Chavali
fce24d44ab (Emacs)~modified switch snippet in c/cc-mode 2023-09-22 14:50:42 +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
dcf91d8e1b (Emacs)~literate now actually checks if compilation is necessary
Just realised how easy a fix this is to the 2 second wait time for
Emacs to stop.  Checking if the org files are newer than the compiled
files, and the same for byte compilation, ensures I only compile when
necessary.

This actually makes Emacs kinda appealing for quick work: I kinda
cringed every time I launched Emacs without a server because I knew it
would take *so long* to stop it.  Now that isn't as big a concern!
2023-09-22 14:50:42 +01:00
Aryadev Chavali
a1c192c6b7 (Emacs)~disabled org fragtog for now 2023-09-10 11:18:51 +01:00
Aryadev Chavali
c2af358cde (Emacs)~small changes 2023-09-10 03:42:24 +01:00
Aryadev Chavali
11613aa005 (Emacs)+gif-screencast for funny screencasts 2023-09-10 03:41:50 +01:00
Aryadev Chavali
79a9e488fa (Emacs)+light theme version of personal
Bit old though.
2023-09-07 10:23:54 +01:00
Aryadev Chavali
76a73270f7 (Emacs)~some sly bindings 2023-09-07 10:23:20 +01:00
Aryadev Chavali
bead786b48 (Emacs)+bindings for ivy-occur
evil-collection going weird here, so decided to roll my own keybinds.
2023-09-07 10:21:59 +01:00
Aryadev Chavali
1273e9fae5 (Emacs)~description changes and Makefile autoinsert 2023-09-07 10:21:34 +01:00
Aryadev Chavali
64b6adfda3 (Emacs)~Makefile auto insert now has LIBS variable,-memcheck recipe 2023-08-25 18:03:56 +01:00
Aryadev Chavali
dc809af7a9 (Emacs)+c/C++ no longer have aggressive indent
`clang-format-mode` does the same thing for me in C/C++, and they
usually conflict.
2023-08-25 18:03:29 +01:00
Aryadev Chavali
c642847a91 (Emacs)+code blaming binding using magit
Very cool ability.
2023-08-20 17:44:25 +01:00
Aryadev Chavali
7eb7f70bdb (Emacs)~small changes
+key bind for normal/motion map in Info to follow nodes easily

~:display record for helpful

~some text in calc-mode

~undo tree saves in the same place as backups

~problems with compilation mode's recompile, evil collection is
starting to not work, so bind it myself

~fix :auto-insert record for Makefiles: quote at the end stops it from
matching

~org-latex-listings->org-latex-src-block-backend new org mode
2023-08-20 17:44:25 +01:00
Aryadev Chavali
b5d3562d6a (Emacs)+module configuration for man pages
Found out why I can't just use ':display' records to manage displaying
of man pages, made some binds as well.  Useful for writing C code.
2023-08-20 17:44:25 +01:00
Aryadev Chavali
9a7e832806 (Emacs)~mode line now pads vc information 2023-08-20 17:44:25 +01:00
Aryadev Chavali
d04e608104 (Emacs)~dashboard -> scratch buffer
Back to basics.
2023-08-20 17:44:25 +01:00
Aryadev Chavali
37edfe1793 (Emacs)-calctex
Removed calctex: super buggy, have to set a specific version to use
and honestly not even that useful for all the bloat it's carrying.
2023-08-20 17:44:25 +01:00
Aryadev Chavali
3581a8ce21 (Emacs)+working on an async compilation func 2023-08-20 17:44:25 +01:00
Aryadev Chavali
020edafda5 (Emacs)~cleaned up literate.el
Jesus, how could I have not noticed the spelling error in "Finishied
byte compiling"?!
2023-07-14 19:51:32 +01:00
Aryadev Chavali
2fd6fe4794 (Emacs)+org capture configuration
Made some templates and configured it.
2023-07-14 19:50:42 +01:00
Aryadev Chavali
2050a1df3a (Emacs)~clean up some code and descriptions 2023-07-14 19:49:33 +01:00
Aryadev Chavali
450b048f8e (Emacs)~change commit message auto insert
Use the :auto-insert keyword.
2023-07-13 21:45:35 +01:00
Aryadev Chavali
0afcbaa975 (Emacs)~cleaned up some text 2023-07-13 18:37:58 +01:00
Aryadev Chavali
d686a2fb17 (Emacs)~mv Compilation->Programming,~cleaned headings 2023-07-13 18:37:58 +01:00
Aryadev Chavali
15b6f3d943 (Emacs)+:auto-insert use-package keyword
Defines an auto-insert skeleton using the same schema as
~auto-insert-alist~.  This makes the configuration more modular and
the auto-inserts closer to the packages/modes they actually matter in.
2023-07-13 18:37:58 +01:00
Aryadev Chavali
22e8e9011f (Emacs)~mode line is done by hand
The evaluation system was really just an excuse for me to try and
write some Lisp code when I was first learning it; the inclusion
of (vc-mode vc-mode) meant I couldn't utilise it the way I wanted.
2023-07-13 18:37:58 +01:00
Aryadev Chavali
9618468828 (Emacs)~clean up some custom functions 2023-07-13 16:07:14 +01:00
Aryadev Chavali
0d0f292d28 (Emacs)~let/while -> mapcar for :pretty use-package
Same idiomatic change for use-package handling.  Should've realised
this earlier.
2023-07-13 15:36:56 +01:00
Aryadev Chavali
ad2d621f64 (Emacs)~any headings which are untangled get a WIP tag
Any headings with a properties setup to force Emacs not to tangle them
i.e. I'm actively *not* using those packages should get a WIP tag.
This means I can look over my configuration for dead trees when
eventually doing a cleanup.
2023-07-13 15:35:34 +01:00
Aryadev Chavali
b81dd68f12 (Emacs)+some more racket configuration
Picked up racket lang again, decided to make the experience a bit
better for myself.
2023-07-11 21:37:20 +01:00
Aryadev Chavali
9ed3110ed1 (Emacs)+auto-insert for LICENSE files
Just the MIT license, assuming that will be the thing I use by
default.  Maybe I should make a Emacs Lisp function which can insert a
license of my choice directly?
2023-07-11 21:36:25 +01:00
Aryadev Chavali
939be955ec (Emacs)~minor changes to some spelling and words 2023-07-11 21:36:13 +01:00
Aryadev Chavali
46f38953c9 (Emacs)~made :display use-package manager more idiomatic
When I originally programmed this function I was essentially acting as
a code-monkey i.e. "JUST WORK PLEASE".  Looking at the code now I see
there's a simple function to do essentially the same task, converting
from the iterative format I was using to the cleaner and more
functional ~mapcar~.
2023-07-11 21:33:53 +01:00
Aryadev Chavali
e118b9ad2a (Emacs)+d-mode,~org-babel-load-languages alist changes
+Emacs-d-mode

~C, Python sections update org-babel-load-languages themselves, for
cleaner code
2023-06-22 00:09:03 +01:00
Aryadev Chavali
36d56f9e89 (Emacs)~loads of indenting changes and auto-save changes 2023-06-10 06:24:27 +01:00
Aryadev Chavali
8f4018b39f (Emacs)~stuff 2023-05-05 20:16:43 +01:00
Aryadev Chavali
5dfa0b0c2a (*)~changes 2023-04-25 13:00:25 +01:00
Aryadev Chavali
0d3c0b9d9c (Emacs)~split literate config into separate file 2023-04-25 12:59:21 +01:00
Aryadev Chavali
0adb872faf (Emacs)~rearranged and better documented 2023-03-27 15:41:10 +01:00
Aryadev Chavali
9bea58845f (Emacs)~mapcar -> dolist for effect 2023-03-26 20:19:47 +01:00