From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: problems while editing in org-columns mode Date: Tue, 26 Nov 2013 13:19:50 +0100 Message-ID: <3CE9536D-6F8C-4656-A4BB-7DD6060332D8@gmail.com> References: <8438moi69y.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlHci-0007vP-05 for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 07:20:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlHcZ-0000F1-Jd for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 07:20:11 -0500 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:41697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlHcZ-0000Do-CB for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 07:20:03 -0500 Received: by mail-ea0-f175.google.com with SMTP id z10so3483525ead.34 for ; Tue, 26 Nov 2013 04:20:02 -0800 (PST) In-Reply-To: <8438moi69y.fsf@gmail.com> 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: andrea.rossetti@gmail.com Cc: emacs-orgmode@gnu.org Hi Andrea, I have fixed problem A. Problem B has to do with the fact that the = property search function does not find a property with an empty value. = I need to look into this some more. - Carsten On Nov 22, 2013, at 8:30 PM, andrea.rossetti@gmail.com wrote: >=20 > Hello everyone, >=20 > I get some unexpected behaviour in org-column mode on my > workstation (Emacs 24.3, org-version 8.2.2, Win 7 64 bit). > May I ask support in order to understand: >=20 > - if this is reproducible for you as well > - if it is actually a bug, or a mess on my local installation, > or if I misunderstood how to use org-column properly >=20 > Thanks in advance to anyone patient enough to read this > and give it a try. Kindest regards, Andrea. >=20 >=20 >=20 >=20 > HOW TO REPRODUCE PROBLEM A: >=20 > 1) create an example Org file like this: >=20 > * myproject > ** mytask1 > ** mytask2 >=20 > 2) click on the word "myproject", C-c C-x C-c to enable > column view >=20 > 3) M-S-, then answer the wizard questions: > property=3Dcost, title=3Dcost, width=3D8, summary=3Dadd_numbers >=20 > 4) now click on the word "myproject", type q to leave > org-columns mode >=20 > 5) you will see that in the first row of the buffer > a new line appears: >=20 > #+COLUMNS: %25ITEM %8cost %TODO %3PRIORITY %TAGS >=20 > I expected "%8cost{+}" instead of "%8cost". Even > if f I change manually "%8cost" to "%8cost{+}" the > automatic sums (cost of myproject sums cost of > mytask1+mytask2) still don't work. >=20 > The sums work properly if I remove the entire > #+COLUMNS statement and add to the :PROPERTIES: of > row "myproject" the following property: >=20 > :COLUMNS: %25ITEM %8cost{+} %TODO %3PRIORITY %TAGS >=20 >=20 >=20 > HOW TO REPRODUCE PROBLEM B: >=20 > 1, 2, 3) same steps than problem A >=20 > 4) go on row "mytask1" column "cost", type "e" to edit > the value, set it to 1234, type RET >=20 > 5) type "e" and change the proposed value 1234 into > the empty string, then type RET=20 >=20 > 6) type "e" and set the value to 3456, then type RET >=20 > 7) go on row "mytask1", type TAB to see the properties: > you will see that the properties are now: >=20 > :PROPERTIES: > :cost:=20 > :cost: 3456 > :END: >=20 > (I did not expect that empty :cost: column) >=20