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.
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.
Basically adds the functionality necessary to delete sentences in auto
fill mode, where it may not be possible with simple vim motions and
where Emacs functions kill the paragraph.
In my config.org, and from now on in all text documents, auto fill
mode will be employed. I've added a text-mode-hook for auto-fill-mode.
I've found difficulty in handling long lines through truncate lines,
which doesn't have full control over movement in lines that run over
the terminal width. I've had to use '$' or move-end-of-line to move to
a point which visually should just require next-line to move to.
This inconsistency between visuals and movement is very frustrating
and abrupt when it occurs. Though auto fill mode has its own issues
(sets all text to 80 characters, which can be annoying in terms of
version control) it is far better than any other solution that I can
find.
I hit meta with my thumb whereas control is hit by the pinky. Emacs
pinky is a real issue, and I got little tremors of it recently (which
lead to me moving to leader-SPC based bindings). Any bindings to ctrl
should be replaced to meta based ones.
Firstly, some org stuff to make everything flat (no indents).
Secondly, a lot of new packages including general.
Using general to manage all binds now.
Reorganised code quite a bit