From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: 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 Message-ID: <87lhedewn6.fsf@nicolasgoaziou.fr> References: <86615ocmug.fsf@members.fsf.org> <87lhekb4nv.fsf@members.fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGMnU-00048J-2f for emacs-orgmode@gnu.org; Sat, 18 Jul 2015 03:44:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGMnT-0003v4-4t for emacs-orgmode@gnu.org; Sat, 18 Jul 2015 03:44:36 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:39357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGMnS-0003uy-UW for emacs-orgmode@gnu.org; Sat, 18 Jul 2015 03:44:35 -0400 In-Reply-To: <87lhekb4nv.fsf@members.fsf.org> (Nicolas Richard's message of "Mon, 13 Jul 2015 14:52:52 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Richard Cc: emacs-orgmode@gnu.org Hello, Nicolas Richard writes: > Nicolas Richard 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