Permalink
Commits on Dec 31, 2016
  1. Add the option to make ledger-report-mode use the header-line.

    At present `ledger-report-do' will insert the report name, command, and
    a separator line of === characters into the buffer as a preface to the
    output of the report command itself.
    
    This commit adds the option of using the `header-line' to display this
    information, using the `ledger-report-use-header-line' switch (nil by
    default). The function evaluated in the header line can also be
    customized by setting `ledger-report-header-line-fn'; the default
    function prints the report name, buffer, and command.
    
    Signed-off-by: Aaron Jacobs <atheriel@gmail.com>
    atheriel committed Nov 29, 2016
  2. Add the ability to run another named report in the report buffer.

    Signed-off-by: Aaron Jacobs <atheriel@gmail.com>
    atheriel committed Dec 6, 2016
Commits on Jul 16, 2016
  1. Makes links in ledger-report "register" commands optional.

    This commit adds a new custom `ledger-report-links-in-register' flag
    that controls whether `ledger-report' will attempt to link transactions
    in the report buffer to the entries in the original file. Essentially,
    it controls whether `ledger-report' will silently pass the
    "--prepend-format" flag to the binary.
    
    The primary motivation for this is that not all implementations of
    ledger support the "--prepend-format" flag, and thus all "register"
    commands run by `ledger-report' (and usually _only_ "register" commands)
    will always fail, because they are treated as a special case in
    `ledger-do-report'. At present, the user has no ability to prevent the
    "--prepend-format" flag from being silently passed to the binary. This
    commit provides that feature.
    
    [ci skip]
    atheriel committed Jul 16, 2016
Commits on Jul 15, 2016
  1. Adds a "binary" format specifier to ledger-report.

    This makes the current `ledger-binary-path' accessible to ledger
    reports by using the %(binary) format specifier. It is intended to aid
    users who may have different `ledger-binary-path' values on different
    machines. It also means that the default `ledger-reports' will work
    out of the box even if their ledger executable is not named "ledger"
    --- for example, if they are using "hledger", and have otherwise set
    their binary path appropriately.
    
    [ci skip]
    atheriel committed Jul 15, 2016