I wrote most of ledger mode, and am still the principal maintainer.

Ledger reports are generated by ledger running as a sub-process to emacs.
The coloration the ledger generates for the console are not interpreted by
emacs when it loads the text into a buffer.  Colorizing the output of
ledger reports would need to be done in lisp.  I don't have the time even
though I have wanted this for some time.  If there is an emacs mode that
can interpret colored console output I haven't found it.

On Wed, May 31, 2017 at 10:00 PM, John Magolske <[email protected]> wrote:

> Hi,
>
> I'd like to adjust the colors of the report displayed in Emacs
> ledger-report mode, similar to as shown in the screenshot here:
>
> https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Btools/finance
> https://github.com/syl20bnr/spacemacs/raw/master/layers/%
> 2Btools/finance/img/ledger.png
>
> ... but cannot find a way to do this. describe-face just tells me
> everything in the ledger-report buffer is 'default', and fiddling
> with all the faces in ledger-fonts.el has no effect. Also tried
> --force-color in ledger-reports :
>
> (setq ledger-reports
>    (quote
>     (("bal" "ledger --force-color --sort d -f %(ledger-file) bal -X P
> --cleared")
>      ("reg" "ledger --force-color -f %(ledger-file) reg")
>      ("payee" "ledger --force-color -f %(ledger-file) reg @%(payee)")
>      ("account" "ledger --force-color -f %(ledger-file) reg %(account)"))))
>
> All to no avail. Any suggestions as to how I might be able to colorize
> the Ledger Report output here?
>
> TIA for any clues,
>
> John
>
> --
> John Magolske
> http://b79.net/contact
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Craig, Corona De Tucson, AZ
[image: missile_flyout]
enderw88.wordpress.com

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to