# \#emacs

**URL:** https://forum.plaintextaccounting.org/tag/emacs/4.md

[Latest](https://forum.plaintextaccounting.org/latest.md) · [Categories](https://forum.plaintextaccounting.org/categories.md) · [Tags](https://forum.plaintextaccounting.org/tags.md)

---

## [Beancount txn parser/writer in Emacs Lisp?](https://forum.plaintextaccounting.org/t/beancount-txn-parser-writer-in-emacs-lisp/314)

<div class="topic-metadata">

**Author:** [@TRS-80](https://forum.plaintextaccounting.org/u/TRS-80)\
**Replies:** 4\
**Last updated:** [December 20, 2025, 8:32pm UTC](https://forum.plaintextaccounting.org/t/beancount-txn-parser-writer-in-emacs-lisp/314 "2025-12-20T20:32:14Z")

</div>

Hi friends, Over the last years I seem to have implemented some hacky parts of this here and there, and was about to start working on pulling it together properly into a library, and perhaps even publishing it at some p…

---

## [How to adjust numbers in the journal with Emacs Calc](https://forum.plaintextaccounting.org/t/how-to-adjust-numbers-in-the-journal-with-emacs-calc/608)

<div class="topic-metadata">

**Author:** [@simonmic](https://forum.plaintextaccounting.org/u/simonmic)\
**Replies:** 0\
**Last updated:** [August 1, 2025, 10:25am UTC](https://forum.plaintextaccounting.org/t/how-to-adjust-numbers-in-the-journal-with-emacs-calc/608 "2025-08-01T10:25:45Z")

</div>

Emacs users, you can use Calc’s embedded mode to adjust numbers quickly while editing the journal. Eg, to divide a number by 2, put the cursor in it, then press C-x \* w 2 / q. Calc rewrites decimal numbers to a standard…

---

## [Extending (ledger-mode-clean-buffer) with (ledger-post-align-dwim) for description/comments](https://forum.plaintextaccounting.org/t/extending-ledger-mode-clean-buffer-with-ledger-post-align-dwim-for-description-comments/538)

<div class="topic-metadata">

**Author:** [@jonas](https://forum.plaintextaccounting.org/u/jonas)\
**Replies:** 2\
**Last updated:** [April 28, 2025, 10:59am UTC](https://forum.plaintextaccounting.org/t/extending-ledger-mode-clean-buffer-with-ledger-post-align-dwim-for-description-comments/538 "2025-04-28T10:59:55Z")

</div>

Hi all, for a nice and tidy ledger I do two cleaning steps after having my entries in the ledger file and I am wondering how I could combine them to a single step. First, I run (ledger-mode-clean-buffer) from within em…

---

## [\[Beginner question\] After import with .rules-file: How to handle expenses:unkown efficiently?](https://forum.plaintextaccounting.org/t/beginner-question-after-import-with-rules-file-how-to-handle-expenses-unkown-efficiently/413)

<div class="topic-metadata">

**Author:** [@jonas](https://forum.plaintextaccounting.org/u/jonas)\
**Replies:** 8\
**Last updated:** [March 5, 2025, 10:30pm UTC](https://forum.plaintextaccounting.org/t/beginner-question-after-import-with-rules-file-how-to-handle-expenses-unkown-efficiently/413 "2025-03-05T22:30:02Z")

</div>

Hi all, I just started using PTA for my private finances (using hledger). I plan to do the accounting monthly with an ever growing set of rules. Everything that is not coverd by a rules is categorised as "expenses:unko…

---

## [Emacs + ledger mode solves problem](https://forum.plaintextaccounting.org/t/emacs-ledger-mode-solves-problem/270)

<div class="topic-metadata">

**Author:** [@hledgerfan](https://forum.plaintextaccounting.org/u/hledgerfan)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 8:54pm UTC](https://forum.plaintextaccounting.org/t/emacs-ledger-mode-solves-problem/270 "2024-05-17T20:54:39Z")

</div>

I use ledger mode in Emacs to look up a transaction from a past year: https://hledgerfan.com/getting-narrow-minded-in-emacs/ However, I remember hearing about a command line solution to the same problem. The idea was t…

---

## [Taxes! (org-babel for organising reports)](https://forum.plaintextaccounting.org/t/taxes-org-babel-for-organising-reports/224)

<div class="topic-metadata">

**Author:** [@simonmic](https://forum.plaintextaccounting.org/u/simonmic)\
**Replies:** 0\
**Last updated:** [March 31, 2024, 4:03am UTC](https://forum.plaintextaccounting.org/t/taxes-org-babel-for-organising-reports/224 "2024-03-31T04:03:14Z")

</div>

In the US, a big tax reporting deadline is approaching, and I'm working on tax preparation. What workflows or useful tricks can you share ? I am directing this mainly to US residents since it seems like we're the only on…
