Questions tagged [ledger]

7 questions
2
votes
2 answers

Windows 10 native (spac)emacs install can't call cygwin binary (ledger) with proper path passed

I'd like to use Windows (10) native Emacs (spacemacs) and ledger (both installed via Chocolatey). The finance layer from spacemacs provides integration for it, however when I tried to run a simple register report it gave me the following…
Zsolt Botykai
  • 281
  • 4
  • 15
1
vote
1 answer

Unable to bind a key in ledger-mode-map

Having written a function (say, my-func), I wanted to map it in ledger-mode-map to the keypress that I will call "Control dollar," that is, the dollar sign $, typed while the Ctrl key is held down. The expression: (define-key ledger-mode-map (kbd…
1
vote
1 answer

how to resolve Symbol's value as variable is void when using ledger-mode

I am trying to setup a workflow wherein I generate Ledger files from different record files. Typically I like to view them in ledger mode after cleaning but if I make a change to the conversion, then I have to revert the file, reenable ledger mode…
Vince W.
  • 395
  • 2
  • 11
0
votes
1 answer

How to jump to a ledger-report by key

This keybind only works after I've opened a ledger file. (spacemacs/set-leader-keys "jL" 'ledger-report ) Thus I presume ledger-mode is required. Yet adding (require 'ledger-mode) (spacemacs/set-leader-keys "jL" (require 'ledger-mode) …
jjk
  • 705
  • 4
  • 16
0
votes
0 answers

How to get buffer filename to appear in the ledger-report command?

I work on different ledger files. Currently, each time I call ledger-report I have to retype the command ledger -f [filename] bal. How can I get the current buffer filename to appear by default in this command?
Gavin
  • 183
  • 8
0
votes
1 answer

Org babel remove currency form ledger output

Howto remove the currency from the table or get ledger -j to work so that gnuplot can work with the data? #+NAME: LedgerCli #+BEGIN_SRC ledger :results raw :cmdline reg "Assets:Service Days" --exchange sd --format='| %D | %t | \n' SOME LEDGER…
driva
  • 3
  • 2
0
votes
1 answer

Org babel gnuplot cannot find or open file with ledger-cli report

Expecting gnuplot to create a png on evaluating a ledgerCli plot report I get the GnuPlot error at the bottom of this post LedgerCli #+NAME: LedgerCli #+BEGIN_SRC ledger :cmdline reg Assets:Cash -J 1957/01/01 Opening Balance …
jjk
  • 705
  • 4
  • 16