ledger-mode color customization

307 views
Skip to first unread message

James

unread,
May 12, 2017, 1:13:41 AM5/12/17
to Ledger
hi,
I was wondering if it is possible to change the ledger-mode entries (at the moment its red and blue) on my emacs.
And which file would I have to edit to change colors.
Thanks

James

unread,
May 12, 2017, 1:41:06 AM5/12/17
to Ledger
ok. i found ledger-font.el and I am trying to decide for a different color theme.
Something that is more apt with pastel/solarized theme.

Eric S Fraga

unread,
May 12, 2017, 2:54:38 AM5/12/17
to ledge...@googlegroups.com
The easiest way, in my opinion, is:

1. put cursor on some text whose properties you wish to change.
2. type C-u C-x = which will display the properties of the text
3. find out from properties which face you need to customise
4. type M-x customize-face RET the.face.name.from.above RET
5. change and save changes


--
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
signature.asc

Craig Earls

unread,
May 12, 2017, 8:43:35 AM5/12/17
to ledge...@googlegroups.com
There is a much easier way.  Under the ledger menu in emacs is "Customize Ledger Mode" click on that then click on "Ledger Faces" then you can customize away without altering source code that will get stomped on when we release updates.  "Faces" are what emacs calls "fonts".


--

---
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 ledger-cli+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Craig, Corona De Tucson, AZ
missile_flyout
enderw88.wordpress.com

James

unread,
May 12, 2017, 10:48:37 AM5/12/17
to Ledger
Thanks. I  got it working now .



On Friday, May 12, 2017 at 7:43:35 PM UTC+7, Craig Earls wrote:
There is a much easier way.  Under the ledger menu in emacs is "Customize Ledger Mode" click on that then click on "Ledger Faces" then you can customize away without altering source code that will get stomped on when we release updates.  "Faces" are what emacs calls "fonts".
On Thu, May 11, 2017 at 11:54 PM, Eric S Fraga <e.f...@ucl.ac.uk> wrote:
On Thursday, 11 May 2017 at 22:13, James wrote:
> hi,
> I was wondering if it is possible to change the ledger-mode entries
> (at the
> moment its red and blue) on my emacs.
> And which file would I have to edit to change colors.
> Thanks

The easiest way, in my opinion, is:

1. put cursor on some text whose properties you wish to change.
2. type C-u C-x = which will display the properties of the text
3. find out from properties which face you need to customise
4. type M-x customize-face RET the.face.name.from.above RET
5. change and save changes


--
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

--

---
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 ledger-cli+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages