unpackaged.el
beancount-mode
unpackaged.el | beancount-mode | |
---|---|---|
9 | 5 | |
373 | 102 | |
- | 4.9% | |
1.6 | 4.8 | |
about 1 year ago | 13 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unpackaged.el
- Repository with code snippets and utility functions
- [ANN] unpackaged/imenu-eww-headings: Offer HTML headings in EWW buffers with Imenu
- unpackaged/custom-toggle-all-more-hide: Expand all options’ documentation
-
The Emacs Lock-In Effect or the Emacs Sunk Cost Fallacy
The question is almost like asking a fish to describe water. It's the sudden lack of it that produces a really clear example. :)
Anyway, here's a random example that comes to mind: I have some sexps in a Lisp file and I want to sort them alphabetically. Each sexp (usually a top-level form, but not necessarily) usually spans multiple lines, so line-sorting won't do it. Since they may be top-level forms, there may be comments between them that would lose their context if their position relative to sexps were lost, so comments need to "stick to" sexps they're above.
How would you solve this in a random text editor?
In Emacs, I would develop a command that does what I need. At each stage of the development process, I evaluate the command's definition, and it's instantly available to be used and tested. I could even test the function on its own definition, if I wanted to be silly (undoing the sorting after testing, of course).
When I'm done, I save the command definition to my configuration, and it's now a permanent tool in my toolbox. I didn't have to recompile the editor and start a new process, nor did I have to submit a patch to an upstream and ask for it to be merged. Similarly to a carpenter (forgive me if it sounds silly), my editor is my workbench, and as wood is malleable, so is my editor.
So, here's the command I came up with (maybe not the prettiest implementation, but maybe not the worst): https://github.com/alphapapa/unpackaged.el#sort-sexps And using Emacs and Org mode, I publish it into this "unpackaged" package, which I then install into my configuration as a package, and other users can then easily install it into theirs, too.
I don't know of any other editor that can do all of this, certainly not so easily.
- An Introduction to the Ultimate Git UI, Magit!
-
Automatically sorting an Org file upon save using multiple sorting criteria
Here's the code in my Emacs config. I'll probably add these functions to unpackaged.el (the Org sorting function there is more primitive than these).
-
Navigation suggestion needed
Sorting. This is handled within Org, see org-sort. However, you may find this function helpful for sorting recursively and with multiple methods (e.g. first by priority, then alphabetically): https://github.com/alphapapa/unpackaged.el#sort-tree-by-multiple-methods-at-once
-
Lets talk about Emacs UI
The customize buffers can be used with the keyboard. You can tab between fields, and C-c C-c to set values. See also https://github.com/alphapapa/unpackaged.el#set-value-of-customization-option-at-point
beancount-mode
-
IRS will officially launch free online tax filing service for 2024 tax season
For me, the beauty of Beancount[0] is that it's just text files in Git. There's a web UI I use for generating reports, and a Python API with which I hacked together some import/export scripts, but 99% of my interactions with it are via Emacs[1] and Magit.
A ton of repetitive bookkeeping tasks become so much easier when you can copy and paste, or use keyboard macros or something like multiple-cursors[2], rather than have to click tens or hundreds of times in a GUI. Many years ago I used QuickBooks, and basic tasks like importing a bank statement took at least an order of magnitude longer than they do now.
Having my company's books in Git is also huge when it comes to auditing, concurrency, backups, and figuring out where things went wrong when accounts don't balance. As mentioned in another comment: `git diff` is a really powerful tool and it's awesome to be able to check out the books as they existed at a particular point in time. `git blame` is great for when things don't balance. Writing meaningful commit messages and comments keeps me sane when I try to remember a year later why something is recorded the way it is.
The biggest downside—or advantage, depending on how you look at it—is that there's no default or built-in chart of accounts, so you need a certain level of accounting acumen (or professional advice) to set things up at first. I'm pretty sure GnuCash aims to be more plug-and-play, whereas Beancount is more akin to a programming library that you use to build an accounting system that works for you. I agree with the grandparent commenter, who said that text-based accounting is "the best and most flexible accounting experience I've ever had." But the cost of that flexibility is that a certain level of base knowledge is a prerequisite.
[0]: https://beancount.io/
[1]: https://github.com/beancount/beancount-mode
[2]: https://github.com/magnars/multiple-cursors.el
-
Use a plaint text accounting system to analyze org task management 's project
I use org mode for task management. I have just discovered accounting with Beancount (a awesome plain text accounting tool), with emacs support
-
The Emacs Lock-In Effect or the Emacs Sunk Cost Fallacy
Interesting post. I'm ~6 mo into using emacs, but I'm a long time vim user. I use emacs for org mode and org-roam, and for personal finance[0]. And sometime, magit.And honestly... I may never use it for much more beyond this, and that's totally fine with me. Which I suppose is the point of flexibility -- people can use a flexible tool in the way that works best for them. My contribution here is to note that its _also_ ok to decide a tool, even an impressive tool, is something you only want in a few specific contexts without feeling bad about not adopting it everywhere.
I think its working out that way for me because I'm not actually much of a tinkerer. I very much like the straightforwardness of plain text, and I like all tools that empower me to put that in the center of my workflows. I can take or leave emacs, but I love org-*. Actually not too different from how I got into programming in the first place -- being able to write a plain text file in a certain format, point my browser to it, and boom it's a web page, was magic. And from there into actual programs -- use a certain format and boom it does stuff... The tools themselves - eh. Keep it simpler and I'm happier, but I'm not much for customizing them.
I can see how for the tinkering personality one can really get into emacs. That's not me, but emacs works for me for some things, and I've been happy to learn it for those.
[0]https://github.com/beancount/beancount-mode
- beancount-mode: Emacs major-mode to work with Beancount ledger files
-
Literate Ledger Programming(?) with Org-mode
what do you mean by that? i know that beancount-mode talks about outline-minor-mode, which is a minor mode that allows to use heading just like Org-mode (and indeed Org-mode was built on top of outline-mode), but i make heavy use of noweb and tangling.
What are some alternatives?
ement.el - A Matrix client for GNU Emacs
orgzly-android - Outliner for taking notes and managing to-do lists
lispy - Short and sweet LISP editing
Emacs-VSCode-Default-High-Contras
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
consult - :mag: consult.el - Consulting completing-read
org-make-toc - Automatic tables of contents for Org-mode files
laundry - Org mode for Racket
org-ql - A searching tool for Org-mode, including custom query languages, commands, saved searches and agenda-like views, etc.
ledger - Double-entry accounting system with a command-line reporting interface