From mboxrd@z Thu Jan 1 00:00:00 1970 From: Teemu Likonen Subject: Bug: Org column view, property edit bug [7.8.11] Date: Mon, 15 Oct 2012 23:07:00 +0300 Message-ID: <874nlvijob.fsf@mithlond.arda> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNqwQ-0000Cb-Iz for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 16:07:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNqwP-00041l-AP for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 16:07:10 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:49190 helo=kirsi1.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNqwO-00041G-VV for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 16:07:09 -0400 Received: from mithlond.arda (84.251.134.110) by kirsi1.inet.fi (8.5.140.03) id 502B83D803AD1772 for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 23:07:01 +0300 Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1TNqwG-0001Rc-SP for emacs-orgmode@gnu.org; Mon, 15 Oct 2012 23:07:00 +0300 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: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Org's column view has "e" key for editing fields such as property values. Properties are messed up if user tries to clear the property's value with "e". See the following example. Start "emacs -Q" and load this org file: #+COLUMNS: %9ITEM %5foo * heading :PROPERTIES: :foo: value :END: Turn on the column view with "C-c C-x C-c". The buffer should look like this: ITEM______|_foo___|_ #+COLUMNS: %9ITEM %5foo * heading | value | :PROPERTIES: :foo: value :END: Now move the point to the "value" column and edit it with "e". Clear all the text from the minibuffer prompt and press enter. The buffer looks like this: ITEM______|_foo___|_ #+COLUMNS: %9ITEM %5foo * heading | | :PROPERTIES: :foo: :END: Don't move the point. Press "e" again to edit the same value again. Insert "xxx" to the minibuffer prompt. The buffer looks like this: ITEM______|_foo___|_ #+COLUMNS: %9ITEM %5foo * heading | | :PROPERTIES: :foo: :foo: xxx :END: See, there are now two "foo" properties: one with empty value and one with the value "xxx". The column view will always show the empty value but the edit command "e" will edit the latter value (currently "xxx"). I think the last "e" command in my example shouldn't create new "foo" property line; it should edit the empty "foo" instead. Emacs : GNU Emacs 24.2.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2012-10-14 on mithlond Package: Org-mode version 7.8.11