Or just use it the old way, inserting (require 'beancount) in your .emacs...
On Fri, Jan 17, 2025 at 1:55 AM [email protected] <[email protected]> wrote: > For new users of emacs, here's the sample use-package declaration for > using beancount-mode: > > Ensure that the following line is present somwhere near the beginning of > your init.el below (package-initialize) declaration: > (add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/ > ")) > > The following lines can be anywhere in init.el > > (use-package beancount > :ensure t > :commands beancount-mode > :hook > (beancount-mode . outline-minor-mode) > ;; (beancount-mode . flymake-bean-check-enable) > :config > (setq-local electric-indent-chars nil) > :bind (:map beancount-mode-map > ("C-c C-n" . outline-next-visible-heading) > ("C-c C-p" . outline-previous-visible-heading) > ("C-c C-u" . outline-up-heading) > ("C-c C-b" . outline-backward-same-level) > ("C-c C-f" . outline-forward-same-level) > ("C-c C-a" . outline-show-all) > ("C-c TAB" . beancount-outline-cycle) > )) > > Remember to uncomment line (beancount-mode . flymake-bean-check-enable) > if you use flymake. > > For those with multiple files and using emacs, refer to this blogpost > "Auto-complete > Accounts From Other Beancount Files in Emacs" at > https://whatacold.io/blog/2022-09-10-emacs-beancount-account-files/ > > Posting in the mailing list so that new emacs users may find this quickly. > > Regards, > Prabu > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/beancount/8a0dcfd5-b0b9-4d39-b723-b362324a529dn%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/8a0dcfd5-b0b9-4d39-b723-b362324a529dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPZzntSrTPeDcqu5_XsOWS_XB%3Dbs8n8UQ9OmUUVNnTeFw%40mail.gmail.com.
