Recently, given the economic hardships presented by the current pandemic, coupled with the fact that I have started making my own money, I have started to keep track of my finances. I have always known that I would use Ledger, the command line account tool, to manage my money. Ledger was created by an Emacs maintainer, which hints to a very good Emacs integration, and indeed =ledger-mode= offers a great environment for editing, reporting and modifying Ledger files. But even though it is a pretty complete major mode, I missed being
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; declare it here for Emacs < 28 | |
(defmacro dlet (binders &rest body) | |
"Like `let' but using dynamic scoping." | |
(declare (indent 1) (debug let)) | |
;; (defvar FOO) only affects the current scope, but in order for | |
;; this not to affect code after the main `let' we need to create a new scope, | |
;; which is what the surrounding `let' is for. | |
;; FIXME: (let () ...) currently doesn't actually create a new scope, | |
;; which is why we use (let (_) ...). | |
`(let (_) |
In my for ever long task of achieving Emacs and Org-mode configuration nirvana I
stumbled upon the problem of trying to reuse a couple of .tex
files I keep as
templates for my (La)TeX exports for Org-mode. As I started to collaborate
more and more in my TeX files, I realized that this setup would also need to
be TeX-wise independent, that is, the exported .tex
file should be self
contained and self sufficient, so that I can keep collaborating and other people
can see my work and (hopefully) reproduce whatever I have written without my