Recent Posts
Install LaTeX on Ubuntu is not as simple as you think.
First of all, I am no expert in LaTeX. I am just a dude who has (a lot) of trouble installing LaTeX and was trying to solve it.
From this experience, I learn important lesson is always start digging from the official documentation of the target packages/libraries. This is because there are many two types of solution in general: general solution and environment specific solution.
In this case, its clearly a environment specific problem which required environemnt speicific solution.
read more
A Note Of X Where X = "Debugging Org's Overwritten Variables"
To debug org related bug, org-reload reloads all lisp files in ~/.emacs.d/.local/straight/repos/org/. Reloading config.el files should inform you what information has been overwritten. If you use Doom Emacs and modify either package.el or init.el, you must run doom sync in your terminal (outside of emacs), then consequently run doom/reload inside Doom Emacs for modification to correctly take effect.
It is important to note that you should always make sure to set custom-variables — variables declared by defcustom — using custom-set-variables.
read more
A Note On X Where X = "adding jump state to command."
“Adding jump state to command.” implies that position ((point)) that the added command is evaluated is added to jump state. In the other word, you can get back to (point) that you executed the command by using (better-jumper-jump-forward).
I was trying to add “jump state” to (+spell/previous-error) and +spell/next-error.
Note that +spell prefix means this command is provided by a Doom’s module. From a quick glance into the code, it is clear that — just like other Doom’s module — it implements branching condition to allow fallback behavior based on context such as current mode or available packages.
read more