[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/csv2ledger 900eef1457 017/190: Move definition of `c2l-acc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/csv2ledger 900eef1457 017/190: Move definition of `c2l-account-matchers-file`. |
Date: |
Sun, 2 Jun 2024 15:59:42 -0400 (EDT) |
branch: elpa/csv2ledger
commit 900eef14571b838825afcd8a69c5161ddf640e78
Author: Joost Kremers <joostkremers@fastmail.fm>
Commit: Joost Kremers <joostkremers@fastmail.fm>
Move definition of `c2l-account-matchers-file`.
---
csv2ledger.el | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/csv2ledger.el b/csv2ledger.el
index 56c6ed7230..bb98f93142 100644
--- a/csv2ledger.el
+++ b/csv2ledger.el
@@ -49,24 +49,6 @@ can be a separate file or a ledger file containing
transactions."
:type 'file
:group 'csv2ledger)
-(defcustom c2l-account-matchers-file nil
- "File containing matcher strings mapped to accounts.
-This should be a TSV (tab-separated values) file containing one
-matcher per line:
-
-aldi Expenses:Groceries
-lidl Expenses:Groceries
-restaurant Expenses:Leisure:Restaurant
-
-where the two columns are separated by a TAB.
-
-The matcher is a string (not a regular expression). If the
-matcher is found in the description, payee, type or sender of a
-transaction (in that order), the corresponding account is used to
-book the transaction."
- :type 'file
- :group 'csv2ledger)
-
(defcustom c2l-base-account nil
"Base ledger account.
A CSV file normally lists transactions for a single bank account.
@@ -131,6 +113,23 @@ returned is used as the title of the ledger entry,"
:type 'function
:group 'csv2ledger)
+(defcustom c2l-account-matchers-file nil
+ "File containing matcher strings mapped to accounts.
+This should be a TSV (tab-separated values) file containing one
+matcher per line:
+
+aldi Expenses:Groceries
+lidl Expenses:Groceries
+restaurant Expenses:Leisure:Restaurant
+
+where the two columns are separated by a TAB.
+
+The matcher is a string (not a regular expression). If a matcher
+is found in any of the fields listed in `c2l-title-match-fields',
+the corresponding account is used to book the transaction."
+ :type 'file
+ :group 'csv2ledger)
+
(defun c2l-parse-date (date)
"Convert DATE from \"17.10.2022\" to \"2022-10-17\"."
- [nongnu] elpa/csv2ledger f234878bd2 180/190: Update to the README, (continued)
- [nongnu] elpa/csv2ledger f234878bd2 180/190: Update to the README, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 3b203a66e1 118/190: Improve code layout., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 64da760597 119/190: Update copyright year., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 98ab50c9a7 185/190: New command c2l-read-account-matchers, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger e744d0706f 186/190: Update version number., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 188ddacde7 057/190: Rename target account to balancing account., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger a1b0dd35e1 053/190: Update README., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 88c394d5bb 066/190: Rename c2l-payee-or-sender to c2l-title-is-payee-or-sender., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger e8a7609736 050/190: Add user option `c2l-alignment-column`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 0af0aa3de2 021/190: Rename `c2l-parse-date` and update doc string., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 900eef1457 017/190: Move definition of `c2l-account-matchers-file`.,
ELPA Syncer <=
- [nongnu] elpa/csv2ledger c5b7b0766e 024/190: Rewrite `c2l-compose-entry` and `c2l-csv-line-to-ledger`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 6597b8cd22 003/190: Initial commit of csv2ledger.el, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 1ce1fe5297 005/190: Remove BSD license from header, point to GNU license., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger f19910d17b 099/190: Add option c2l-entry-function., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger aa55c01cc1 106/190: New user option c2l-transaction-modify-functions., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger d1910389f1 100/190: Rename c2l-title-is-payee-or-sender to c2l-payee-or-sender., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 7cc0cd1a0a 029/190: Warn if trying to read a file that cannot be found., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 59ba841805 086/190: Guard against empty payee and sender in c2l-title-is-payee-or-sender, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 6076653a0f 084/190: Rename local variable in c2l--csv-line-to-ledger., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger af1129653d 178/190: Make auto-clearing of transactions with effective date optional., ELPA Syncer, 2024/06/03