diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-02-17 19:08:09 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-02-17 19:09:41 +0000 |
commit | 251d53c22683862f4d06a414a32ce2baa001b031 (patch) | |
tree | 33082308373cebbd8b4a5816f2653a9293d8025b /Emacs/.config/emacs | |
parent | 33064aef3e93c73b6004336336184cd32b21fb86 (diff) | |
download | dotfiles-251d53c22683862f4d06a414a32ce2baa001b031.tar.gz dotfiles-251d53c22683862f4d06a414a32ce2baa001b031.tar.bz2 dotfiles-251d53c22683862f4d06a414a32ce2baa001b031.zip |
small changes
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 35 | ||||
-rw-r--r-- | Emacs/.config/emacs/elisp/license.el | 5 |
2 files changed, 21 insertions, 19 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 3376639..99843e6 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -806,9 +806,12 @@ the keyword ~:hydra~ in use-package declarations. #+begin_src emacs-lisp (use-package hydra + :defer t + :autoload (defhydra) :straight t) (use-package use-package-hydra + :demand t :straight t) (use-package evil @@ -1082,17 +1085,17 @@ favourite Greek philosopher, Prot. :PROPERTIES: :header-args:emacs-lisp: :tangle no :results none :END: +2025-02-14: Though this is quite nice in concept, I find it quite +distracting with a lot of buffers. Will leave this configuration here +in case I realise later on I really like this - otherwise, it shall be +cleaned up. + Zoom provides a very useful capability: dynamic resizing of windows based on which one is active. I prefer larger font sizes but make it too large and it's difficult to have multiple buffers side by side. This package allows larger font sizes and still have multiple buffers side by side. -2025-02-14: Though this is quite nice in concept, I find it quite -distracting with a lot of buffers. Will leave this configuration here -in case I realise later on I really like this - otherwise, it shall be -cleaned up. - #+begin_src emacs-lisp (use-package zoom :straight t @@ -2004,15 +2007,14 @@ todo file directly. :PROPERTIES: :header-args:emacs-lisp: :tangle no :results none :END: +2025-02-15: I haven't found much use for this yet but the system is +quite expressive. If I needed time-keeping somewhere, I know where to +go. Org provides a nice timekeeping system that allows for managing how much time is taken per task. It even has an extensive reporting system to see how much time you spend on specific tasks or overall. -2025-02-15: I haven't found much use for this yet but the system is -quite expressive. If I needed time-keeping somewhere, I know where to -go. - #+begin_src emacs-lisp (use-package org-clock :after org @@ -2374,14 +2376,14 @@ sometimes format their documentation as markdown, which :PROPERTIES: :header-args:emacs-lisp: :tangle no :results none :END: +2025-02-15: Haven't needed to use Rust at all recently - but leaving +this here in case. + Rust is the systems programming language that also does web stuff and CLI programs and basically tries to be a jack of all trades. It's got some interesting stuff but most importantly it's very new, so everyone must learn it, right? -2025-02-15: Haven't needed to use Rust at all recently - but leaving -this here in case. - #+begin_src emacs-lisp (use-package rust-mode :straight t @@ -2438,6 +2440,9 @@ book so it's useful to have some Emacs binds for it. :PROPERTIES: :header-args:emacs-lisp: :tangle no :results none :END: +2025-02-15: Haskell is a fun language so I'll leave this configuration +for now. + Haskell is a static lazy functional programming language (what a mouthful). It's quite a beautiful language and really learning it will change the way you think about programming. However, my @@ -2450,9 +2455,6 @@ Here I configure the REPL for Haskell via the user to create temporary ~haskell-mode~ buffers that, upon completion, will run in the REPL. Even easier than making your own buffer. -2025-02-15: Haskell is a fun language so I'll leave this configuration -for now. - #+begin_src emacs-lisp (use-package haskell-mode :straight t @@ -3701,9 +3703,6 @@ perfectly. I've got a set of feeds that I use for a large variety of stuff, mostly media and entertainment. I've also bound "<leader> ar" to elfeed for loading the system. -2025-02-15: I think Elfeed is actually pretty cool and I want to try -it out again. - #+begin_src emacs-lisp (use-package elfeed :straight t diff --git a/Emacs/.config/emacs/elisp/license.el b/Emacs/.config/emacs/elisp/license.el index 1d5d180..23bd7c0 100644 --- a/Emacs/.config/emacs/elisp/license.el +++ b/Emacs/.config/emacs/elisp/license.el @@ -25,7 +25,8 @@ "Choice of license." :type '(choice (const "MIT License") (const "GNU General Public License Version 2") - (const "Unlicense"))) + (const "Unlicense")) + :group 'license) (defconst +license/licenses-alist `(("MIT License" (,(format "MIT License @@ -443,10 +444,12 @@ program. If not, please go to <%s>." without explicit legal permission from the author \"%s\"" user-full-name))))) +;;;###autoload (defun +license/insert-complete-license () (interactive) (insert (+license/choose-copy-of-license))) +;;;###autoload (defun +license/insert-copyright-notice () (interactive) (insert (+license/copyright-notice))) |