emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: andrea.rossetti@gmail.com
To: emacs-orgmode@gnu.org
Subject: problems while editing in org-columns mode
Date: Fri, 22 Nov 2013 20:30:01 +0100	[thread overview]
Message-ID: <8438moi69y.fsf@gmail.com> (raw)


Hello everyone,

  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:

- 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

  Thanks in advance to anyone patient enough to read this
and give it a try. Kindest regards, Andrea.




HOW TO REPRODUCE PROBLEM A:

1) create an example Org file like this:

* myproject
** mytask1
** mytask2

2) click on the word "myproject", C-c C-x C-c to enable
column view

3) M-S-<right>, then answer the wizard questions:
property=cost, title=cost, width=8, summary=add_numbers

4) now click on the word "myproject", type q to leave
org-columns mode

5) you will see that in the first row of the buffer
a new line appears:

#+COLUMNS: %25ITEM %8cost %TODO %3PRIORITY %TAGS

  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.

  The sums work properly if I remove the entire
#+COLUMNS statement and add to the :PROPERTIES: of
row "myproject" the following property:

:COLUMNS: %25ITEM %8cost{+} %TODO %3PRIORITY %TAGS



HOW TO REPRODUCE PROBLEM B:

1, 2, 3) same steps than problem A

4) go on row "mytask1" column "cost", type "e" to edit
the value, set it to 1234, type RET

5) type "e" and change the proposed value 1234 into
the empty string, then type RET 

6) type "e" and set the value to 3456, then type RET

7) go on row "mytask1", type TAB to see the properties:
you will see that the properties are now:

   :PROPERTIES:
   :cost: 
   :cost:     3456
   :END:

(I did not expect that empty :cost: column)

             reply	other threads:[~2013-11-22 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22 19:30 andrea.rossetti [this message]
2013-11-26 12:19 ` problems while editing in org-columns mode Carsten Dominik
2014-04-24 13:12   ` Andrea Rossetti
2014-05-30  7:16     ` Bastien
2014-05-31 14:35       ` Andrea Rossetti
2014-06-02 17:38         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8438moi69y.fsf@gmail.com \
    --to=andrea.rossetti@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).