[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/beancount f27ea3084d 040/103: (changes for updated Emacs m
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/beancount f27ea3084d 040/103: (changes for updated Emacs mode) |
Date: |
Mon, 29 Apr 2024 15:59:44 -0400 (EDT) |
branch: elpa/beancount
commit f27ea3084def6a0462fca7a83b1445acff82d829
Author: Martin Blais <blais@furius.ca>
Commit: Martin Blais <blais@furius.ca>
(changes for updated Emacs mode)
---
etc/emacsrc | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/etc/emacsrc b/etc/emacsrc
index 4773a13d4c..c8076fea44 100644
--- a/etc/emacsrc
+++ b/etc/emacsrc
@@ -33,4 +33,24 @@
(recenter)
))
-(define-key* beancount-mode-map [(control c)(F)] 'beancount-format-file)
+;(define-key* beancount-mode-map [(control c)(F)] 'beancount-format-file)
+
+;; Make sure we don't accidentally pick up ;;; as headers. Use org section
headers only.
+(setq beancount-outline-regexp "\\(\\*+\\)")
+
+;; Automatically enable outline-mode.
+(add-hook 'beancount-mode-hook #'outline-minor-mode)
+
+;; Add movement between sections.
+(define-key* beancount-mode-map [(control c)(control n)]
#'outline-next-visible-heading)
+(define-key* beancount-mode-map [(control c)(control p)]
#'outline-previous-visible-heading)
+
+;; Disable auto-indent.
+
+(defun disable-electric-indent ()
+ (setq-local electric-indent-chars nil))
+(add-hook 'beancount-mode-hook #'disable-electric-indent)
+
+;; `beancount-number-alignment-column`. Setting it to 0 will cause the
+;; alignment column to be determined from file content. Postings in
+;; transactions are indented with `beancount-transaction-indent` spaces.
- [nongnu] elpa/beancount 517046bee2 006/103: In reports, render to a maximum number of digits (5) that is more reasonable than the default., (continued)
- [nongnu] elpa/beancount 517046bee2 006/103: In reports, render to a maximum number of digits (5) that is more reasonable than the default., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount a93df92ae5 011/103: Moved src/elisp/beancount.el to editors/emacs/beancount.el., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount d3eccf1033 005/103: More work on price update generation, positions as csv files, and fixes for files moved., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 36e82fc5a9 004/103: Made beancount.el very decent, decent enough to start working with it for real., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 9a688bb6cf 008/103: Added an experimental Emacs binding for reformatting the entire file using bean-format., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 3f5e4fcef5 017/103: beancount.el: kill more comment-related Org variables, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount eda34d1767 019/103: beancount.el: Convert the minor mode into a major mode, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 1343aaaf18 014/103: Fixed Emacs functionality to uncomment regions (change submitted by Stefan Monnier)., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount ea357a9077 021/103: beancount.el: Update Copyright and Author, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 8a1557bc96 039/103: beancount.el: Silence byte-compilation warnings about unused arguments, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount f27ea3084d 040/103: (changes for updated Emacs mode),
ELPA Syncer <=
- [nongnu] elpa/beancount a48aaa7f41 045/103: beacnount.el: Tweak beancount-indent-line, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 0cd55a8038 055/103: beancount.el: Introduce beancount-insert-date and bind it to M-RET, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 60ef7f56d5 049/103: beancount.el: Fix typos in the comment, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 404876fa6b 015/103: Fixed #302: beancount.el does not fontify account names with single letter components., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 35ef808e1c 026/103: beancount.el: Implement indentation support, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 02fe03ee44 070/103: Fix font lock for accounts, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 2bed4f6b7f 073/103: Setup CI using GitHub Actions, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount f55912cdef 094/103: Add flymake-bean-check, ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount 9f82d86d36 013/103: Fixed #209: Don't require 'ido. User will have to make sure that beancount-use-ido is false., ELPA Syncer, 2024/04/29
- [nongnu] elpa/beancount b1fa650c5b 020/103: beancount.el: Add tests, ELPA Syncer, 2024/04/29