On Sep 14 2011, 2:54 pm, Martin Michlmayr <t...@cyrius.com> wrote:
> * Craig Earls <ender...@gmail.com> [2011-09-14 14:11]:
>
> > I have tried manually putting the comments in both places, and the
> > command "ledger -f ./file.dat --sort d print " puts out the included
> > text.  That seems strange.  I have a small mind and like
> > consistency.
>
> It is consistent.  ledger wraps the line after 80 characters and the
> latter two notes don't fit into the line, so they are placed on the
> next line.  You could pass -w to ledger to specify wide output.


Related question: is there a way to specify that ledger should not
reformat comments?  In other words:

1. if the comment is on the same line as the account, such as
   Expenses   $10  ; very long comment on this account that exceeds
the width

   then the comment should NOT be wrapped; and

2. if the comment is on the following line, such as
   Expenses   $10
   ; short comment

   then it should not be combined with the previous line.

Thanks!
- Hsiu-Khuern.

Reply via email to