[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/csv2ledger fd54efa6ce 030/190: Add command `c2l-set-base-a
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/csv2ledger fd54efa6ce 030/190: Add command `c2l-set-base-account`. |
Date: |
Sun, 2 Jun 2024 15:59:43 -0400 (EDT) |
branch: elpa/csv2ledger
commit fd54efa6cee987f79403e3408dcd550ad3080161
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@fastmail.fm>
Add command `c2l-set-base-account`.
---
csv2ledger.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/csv2ledger.el b/csv2ledger.el
index 3772b02966..1b176df3de 100644
--- a/csv2ledger.el
+++ b/csv2ledger.el
@@ -270,6 +270,13 @@ strings are interpreted according to the template in
c2l--accounts nil t))))
(c2l-compose-entry fields account)))
+;;;###autoload
+(defun c2l-set-base-account ()
+ "Set `c2l-base-account'."
+ (unless c2l--accounts
+ (setq c2l--accounts (c2l-read-accounts c2l-accounts-file)))
+ (setq c2l-base-account (completing-read "Base account for current buffer: "
c2l--accounts nil t)))
+
;;;###autoload
(defun c2l-csv-entry-as-kill ()
"Convert the current CSV row to a Ledger entry and place it in the kill ring.
- [nongnu] elpa/csv2ledger 3084bc9a64 125/190: Update the README., (continued)
- [nongnu] elpa/csv2ledger 3084bc9a64 125/190: Update the README., ELPA Syncer, 2024/06/02
- [nongnu] elpa/csv2ledger 6f417351a8 065/190: Update doc string of c2l-convert-little-endian-to-iso8601-date., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 365faf54ed 094/190: Display the results buffer after conversion., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 9426c2a2d9 067/190: Rename c2l-payee-or-sender to c2l-title-is-payee-or-sender., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 6f65342c60 048/190: Update the README., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 9dd9708b94 064/190: Rename `c2l-field-parse-functions` to `c2l-field-modify-functions`, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger e0be339259 068/190: Add function c2l-title-is-counterpart., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 3e07f6edbe 063/190: Update doc string of `c2l-csv-columns`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger aaf8db1085 058/190: Make c2l-matcher-regexes public., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 0d3a88f8bc 062/190: Rename `valuation` field to `effective`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger fd54efa6ce 030/190: Add command `c2l-set-base-account`.,
ELPA Syncer <=
- [nongnu] elpa/csv2ledger 19b3176424 049/190: Add flycheck temp files to .gitignore., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 03b2aeb4a7 056/190: Update the README., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger c7d1db033c 015/190: Add user option `c2l-field-parse-functions`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger c01946ab58 027/190: Do not try to read files that do not exist., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 97906fa4ce 016/190: Add user option `c2l-title-function`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 5dd5e36a07 018/190: Add user option `c2l-title-match-fields`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 0326110f7a 011/190: Update doc string of `c2l-read-account-matchers`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 09f023793a 008/190: Declare Emacs 28.1 as a dependency., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger aa435296c8 014/190: Update doc string of `c2l-csv-columns`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger a7b24edc4d 033/190: Start README.md, ELPA Syncer, 2024/06/03