emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Hendrik Tews <hendrik@askra.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: turning on column view modifies file [9.0.7 (release_9.0.7-439-g2906e5 @ /home/tews/src/org-mode/lisp/)]
Date: Mon, 22 May 2017 14:20:20 +0200	[thread overview]
Message-ID: <87lgppf5h7.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87fufxjeeq.fsf@cert.kernkonzept.com> (Hendrik Tews's message of "Mon, 22 May 2017 13:53:49 +0200")

Hello,

Hendrik Tews <hendrik@askra.de> writes:

> turning on column view might change the buffer, because it
> sometimes stores computed values in properties. Is this really
> intended?

It is. But it only happens if the property already exists in the
summarized node.

> At least I could not find this behavior described in the
> documentation.

Would you want to suggest an improvement to the manual?

> For instance, in the following buffer
>
>     * a
>          :PROPERTIES:
>          :XX:
>          :END:
>     ** b
>          :PROPERTIES:
>          :XX:   2.0
>          :END:
>
>     #+COLUMNS: %6XX{+;%5.1f} %10ITEM(Task)
>
> turning on column view changes property XX on a. If you turn on
> column view a second time (after saving, without undoing), the
> buffer is changed again, this time it is an invisible change,
> probably rewriting the value for XX on a.

This is a bug. I fixed it in maint. Thank you.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-05-22 12:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-22 11:53 Bug: turning on column view modifies file [9.0.7 (release_9.0.7-439-g2906e5 @ /home/tews/src/org-mode/lisp/)] Hendrik Tews
2017-05-22 12:20 ` Nicolas Goaziou [this message]
2017-05-30  9:25   ` [PATCH] document parent property update in column view Hendrik Tews
2017-05-30 11:45     ` Nicolas Goaziou

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=87lgppf5h7.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=hendrik@askra.de \
    /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).