On Wed, Jul 13, 2011 at 05:40, Seppo Sade <[email protected]> wrote:
> Would it make sense to limit the default output to 79 characters
> instead to accomodate for editors having this behavior? It is just a
> minor annoyance, but still an annoyance when you do e.g. M-! "ledger -
> f data reg" and each entry is spread out over two lines, when ledger
> clearly tries to put it on a single line by limiting it to 80
> characters.

Emacs probably has a mode/setting/variable/whatever to tell it not to
do that, but I don't know Emacs well enough to find out how... (after
all there is nothing that Emacs can't do, right? :-) )

I tried vim and it doesn't have that issue. Nor does the OS X Terminal
have a problem with a line exactly as long as the width.

All that said, I'd be OK w/ it changing to 79, I know I've seen other
places/programs where that is done for similar reasons. I suspect that
for backwards compatibility, the default has to stay at 80.

I looked through the source to see how hard it would be to have a
command line option that took a width value, but didn't really see any
easy change (10+ years since I've done C++ so the rust was in my eyes
for sure).

-Doug

Reply via email to