[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-columns adds spaces [8.3beta (release_8.3beta-1286-g207
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: org-columns adds spaces [8.3beta (release_8.3beta-1286-g20795f @ /home/youngfrog/sources/org-mode/lisp/)] |
Date: |
Sat, 18 Jul 2015 09:46:05 +0200 |
Hello,
Nicolas Richard <address@hidden> writes:
> Nicolas Richard <address@hidden> writes:
>> The buffer is still marked "unmodified" but there are five space
>> characters at the end of the headline. (and this will later confuse org
>> element cache which thus give errors, but I guess that's to be
>> expected.)
>
> Meanwhile I had a look and it's due to this part of
> org-columns-display-here :
> (org-unmodified (insert " "))
Thank you.
> Inserting characters in the buffer for the sake of columnview seems
> wrong to me.
Each column is an overlay applied on top of a character in the line.
Since columns cannot overlap, you need at least as many characters in
the line as columns to display.
> Even more so if this is done silently.
I fixed it in cf5cb15.
Regards,
--
Nicolas Goaziou