diff options
author | Steve Purcell <steve@sanityinc.com> | 2019-10-06 10:09:56 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 10:09:56 +1300 |
commit | 1b384d509798691a6afe6434ab2c1d799c75cde0 (patch) | |
tree | f08cc421115988cb3fd3f5ea289245f0cfe72b26 | |
parent | 129dfbab2f744c8d6b6bcd406001ff527c262aff (diff) | |
parent | bc6b7aa172de66a1cf575a0ac5ee42ed4b241053 (diff) |
Merge pull request #204 from jabranham/changelog
Add a news file
-rw-r--r-- | NEWS.org | 43 | ||||
-rw-r--r-- | ledger-flymake.el | 2 | ||||
-rw-r--r-- | ledger-init.el | 1 | ||||
-rw-r--r-- | ledger-post.el | 1 | ||||
-rw-r--r-- | ledger-report.el | 7 |
5 files changed, 54 insertions, 0 deletions
diff --git a/NEWS.org b/NEWS.org new file mode 100644 index 0000000..cccfb73 --- /dev/null +++ b/NEWS.org @@ -0,0 +1,43 @@ +* Development (v4.0.0) +** The completion system now respects whatever completion system the user prefers +Some users prefer different completion systems such as ivy or helm. To get the +old behavior back, see the instructions in the ledger manual under the heading +"Adding Transactions." + +Additionally, we now realign transactions after completion, see +ledger-post-auto-align. +** New option ledger-post-auto-align controls whether post amounts automatically align +** New options control whether the report name/command get printed in the report buffer +New option ledger-report-use-header-line controls this behavior and +ledger-report-header-line-fn controls how the information is reported. +** New option ledger-default-date-format is now used consistently +Ledger-mode uses this option to insert dates whenever it is needed. +** Report buffers are now highlighted by ledger +So, for example, debts are usually red and deposits blue. + +New option ledger-report-use-native-highlighting controls this behavior. + +** Ledger now matches the width of report buffers +Option ledger-report-auto-width controls whether we pass this information to +ledger or not. +** Ledger-mode gained support for flymake +This supports checking for errors in syntax. + +Two new options ledger-flymake-be-pedantic and ledger-flymake-be-explicit +control which flags get passed to ledger during checking. +** Report windows can be automatically resized +See new option ledger-report-resize-window +** All faces used by ledger now inherit from other faces. +This should make ledger-mode look better when used with various themes that +don't provide support for ledger-mode explicitly. +** New option ledger-report-use-strict controls whether --strict gets passed to reports +** The fontification system (syntax highlighting) was completly rewritten +** In report buffers, M-n and M-p move to the next and previous month +See the "Expansion Formats" section of the ledger mode manual to see examples on +how to use this. +** New hook ledger-report-after-report-hook runs after the report has been created +** In report buffers, $ toggles converting to the default commodity +** Two new commands move between uncleared transactions +New commands ledger-navigate-next-uncleared and +ledger-navigate-previous-uncleared move to the next and previous uncleared +transactions. These don't have default keybindings. diff --git a/ledger-flymake.el b/ledger-flymake.el index 182efd7..f4ad5dd 100644 --- a/ledger-flymake.el +++ b/ledger-flymake.el @@ -40,6 +40,7 @@ If --pedantic is in your ledgerrc file, then --pedantic gets passed regardless of the value." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger) (defcustom ledger-flymake-be-explicit nil @@ -47,6 +48,7 @@ passed regardless of the value." If --explicit is in your ledgerrc file, then --explicit gets passed regardless of the value." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger) ;; Based on the example from Flymake's info: diff --git a/ledger-init.el b/ledger-init.el index f5d4c3f..8ce9921 100644 --- a/ledger-init.el +++ b/ledger-init.el @@ -42,6 +42,7 @@ to treat commas as decimal separator.") Set this to the value of `ledger-iso-date-format' if you prefer ISO 8601 dates." :type 'string + :package-version '(ledger-mode . "4.0.0") :group 'ledger) (defconst ledger-iso-date-format "%Y-%m-%d" diff --git a/ledger-post.el b/ledger-post.el index 66c97e9..6cfaa7a 100644 --- a/ledger-post.el +++ b/ledger-post.el @@ -56,6 +56,7 @@ decimal separator." "When non-nil, realign post amounts when indenting or completing." :type 'boolean :group 'ledger-post + :package-version '(ledger-mode . "4.0.0") :safe 'booleanp) (defun ledger-next-amount (&optional end) diff --git a/ledger-report.el b/ledger-report.el index 78ed674..6958a26 100644 --- a/ledger-report.el +++ b/ledger-report.el @@ -98,11 +98,13 @@ simply concatenated (no quoting)." (defcustom ledger-report-use-native-highlighting t "When non-nil, use ledger's native highlighting in reports." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defcustom ledger-report-auto-width t "When non-nil, tell ledger about the width of the report window." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defcustom ledger-report-use-header-line nil @@ -111,29 +113,34 @@ The report name/command won't be printed in the buffer. See `ledger-report-header-line-fn' for how to customize the information reported." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defcustom ledger-report-header-line-fn #'ledger-report--header-function "Evaluate this function in the `header-line' of the report buffer. `ledger-report-use-header-line' must be non-nil for this to have any effect." :type 'function + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defcustom ledger-report-resize-window t "If non-nil, resize the report window. Calls `shrink-window-if-larger-than-buffer'." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defcustom ledger-report-use-strict nil "Should Ledger-mode pass --strict as a command line parameter when running reports?" :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defcustom ledger-report-after-report-hook nil "Hook run after `ledger-report' has created the buffer and report." :type 'boolean + :package-version '(ledger-mode . "4.0.0") :group 'ledger-report) (defvar ledger-report-buffer-name "*Ledger Report*") |