(Emacs/core|config)~do a bit of clean up

This commit is contained in:
2024-04-24 04:02:38 +05:30
parent 5c47cacdbd
commit 90c0766992
2 changed files with 15 additions and 11 deletions

View File

@@ -425,9 +425,9 @@ with colouring and a ton of presentations to choose from.
(telephone-line-mode)) (telephone-line-mode))
#+end_src #+end_src
** Mouse ** Mouse
Eww who uses a mouse? Who uses a mouse? 🤮
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq use-file-dialog nil) (setq-default use-file-dialog nil)
#+end_src #+end_src
* Core packages (loading) * Core packages (loading)
For my core packages, whose configuration doesn't change much anyway, For my core packages, whose configuration doesn't change much anyway,
@@ -1119,17 +1119,16 @@ to a few formats, all within Emacs. Some other features include:
demand demand
** Org Essentials ** Org Essentials
Org has a ton of settings to tweak, which change your experience quite Org has a ton of settings to tweak, which change your experience quite
a bit. My setup should be as portable as possible and (/sometimes/) I a bit. Here are mine, but this took a lot of just reading other
need to access org mode files in other editors, so org files should be people's configurations and testing. I don't do a good job of
as close to clear text as possible. This is the guiding philosophy explaining how this works in all honesty, but it works well for me so
that essentially makes most of my options pretty immediate. I'm not very bothered.
Some arbitrary notes:
+ By default =~/Text= is my directory for text files. I actually have + By default =~/Text= is my directory for text files. I actually have
a repository that manages this directory for agenda files and other a repository that manages this directory for agenda files and other
documents documents
+ Indentation in file should not be allowed, i.e. text indentation, + Indentation in file should not be allowed, i.e. text indentation, as
as that forces other editors to read it a certain way as well. It that forces other editors to read it a certain way as well. It's
obtrusive hence it's off. obtrusive hence it's off.
+ Org startup indented is on by default as most documents do benefit + Org startup indented is on by default as most documents do benefit
from the indentation, but I do turn it off for some files via from the indentation, but I do turn it off for some files via
@@ -1364,6 +1363,8 @@ a very tidy way to manage your time.
"r" #'org-agenda-redo)) "r" #'org-agenda-redo))
#+end_src #+end_src
** Org capture ** Org capture
2024-04-24: I actually need to clean this up, in particular explain
what org-capture does.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org-capture (use-package org-capture
:straight nil :straight nil
@@ -1409,7 +1410,7 @@ time a clock out occurs.")
(setq-local +org/clock-out-toggle-report (setq-local +org/clock-out-toggle-report
(not +org/clock-out-toggle-report))))) (not +org/clock-out-toggle-report)))))
#+end_src #+end_src
** Org on save ** Org compile to PDF on save
If ~+org/compile-to-pdf-on-save-p~ is non-nil, then compile to If ~+org/compile-to-pdf-on-save-p~ is non-nil, then compile to
\(\LaTeX\) and run an async process to compile it to a PDF. Doesn't \(\LaTeX\) and run an async process to compile it to a PDF. Doesn't
make Emacs hang (like ~org-latex-export-to-pdf~) and doesn't randomly make Emacs hang (like ~org-latex-export-to-pdf~) and doesn't randomly

View File

@@ -754,7 +754,10 @@ for all snippets I've got.
:config :config
(yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets"))) (yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets")))
#+end_src #+end_src
* Hydra ** WAIT Hydra
:PROPERTIES:
:header-args:emacs-lisp: :tangle no
:END:
Hydra is a great package by =abo-abo= (yes the same guy who made ivy Hydra is a great package by =abo-abo= (yes the same guy who made ivy
and swiper) and I hope to use it later on in the config. There are and swiper) and I hope to use it later on in the config. There are
two use-package declarations here: one for ~hydra~ itself, and the two use-package declarations here: one for ~hydra~ itself, and the