* BUG in columns view since 0f93638ce (Jun 2 2015)
@ 2015-08-11 15:10 Johan Sandblom
2015-08-11 17:13 ` Nicolas Goaziou
0 siblings, 1 reply; 6+ messages in thread
From: Johan Sandblom @ 2015-08-11 15:10 UTC (permalink / raw)
To: Emacs orgmode
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
Consider the attached orgmode file fragment, also included below. Prior
to commit 0f93638ce sums were produced in the top row. After that
commit, column view sums fail. Poor knowledge of git and elisp prevent
me from finding the actual problem, but I did manage to find the first
commit were it fails, and this hopefully helps
* sum
:PROPERTIES:
:COLUMNS: %30ITEM %5A{+} %5B{+}
:END:
** bla
*** blabla
:PROPERTIES:
:A: 1
:END:
** bli
:PROPERTIES:
:A: 1
:END:
--
Johan Sandblom, MD PhD
m +46735521477
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
--Bertrand Russell
[-- Attachment #2: test.org --]
[-- Type: text/plain, Size: 174 bytes --]
* sum
:PROPERTIES:
:COLUMNS: %30ITEM %5A{+} %5B{+}
:END:
** bla
*** blabla
:PROPERTIES:
:A: 1
:END:
** bli
:PROPERTIES:
:A: 1
:END:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BUG in columns view since 0f93638ce (Jun 2 2015)
2015-08-11 15:10 BUG in columns view since 0f93638ce (Jun 2 2015) Johan Sandblom
@ 2015-08-11 17:13 ` Nicolas Goaziou
2015-08-11 21:53 ` Johan Sandblom
0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2015-08-11 17:13 UTC (permalink / raw)
To: Johan Sandblom; +Cc: Emacs orgmode
Hello,
Johan Sandblom <js@ndblom.se> writes:
> Consider the attached orgmode file fragment, also included below.
> Prior to commit 0f93638ce sums were produced in the top row. After
> that commit, column view sums fail. Poor knowledge of git and elisp
> prevent me from finding the actual problem, but I did manage to find
> the first commit were it fails, and this hopefully helps
>
> * sum
> :PROPERTIES:
> :COLUMNS: %30ITEM %5A{+} %5B{+}
> :END:
> ** bla
> *** blabla
> :PROPERTIES:
> :A: 1
> :END:
> ** bli
> :PROPERTIES:
> :A: 1
> :END:
This is fixed. Thank you.
Regard,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BUG in columns view since 0f93638ce (Jun 2 2015)
2015-08-11 17:13 ` Nicolas Goaziou
@ 2015-08-11 21:53 ` Johan Sandblom
2015-08-11 23:08 ` Nicolas Goaziou
0 siblings, 1 reply; 6+ messages in thread
From: Johan Sandblom @ 2015-08-11 21:53 UTC (permalink / raw)
To: Johan Sandblom, Emacs orgmode
2015-08-11 19:13 skrev Nicolas Goaziou:
> Hello,
>
> Johan Sandblom <js@ndblom.se> writes:
>
>> Consider the attached orgmode file fragment, also included below.
>> Prior to commit 0f93638ce sums were produced in the top row. After
>> that commit, column view sums fail. Poor knowledge of git and elisp
>> prevent me from finding the actual problem, but I did manage to find
>> the first commit were it fails, and this hopefully helps
>>
>> * sum
>> :PROPERTIES:
>> :COLUMNS: %30ITEM %5A{+} %5B{+}
>> :END:
>> ** bla
>> *** blabla
>> :PROPERTIES:
>> :A: 1
>> :END:
>> ** bli
>> :PROPERTIES:
>> :A: 1
>> :END:
>
> This is fixed. Thank you.
>
Thank you for your quick reaction. Unfortunately it is still not
perfect. Starting column mode with point on the headline "** bla" makes
the column view end before headline "** bli". Am I right that this is
unintended?
Johan
--
Johan Sandblom, MD PhD
m +46735521477
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
--Bertrand Russell
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BUG in columns view since 0f93638ce (Jun 2 2015)
2015-08-11 21:53 ` Johan Sandblom
@ 2015-08-11 23:08 ` Nicolas Goaziou
2015-08-12 6:44 ` Johan Sandblom
0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2015-08-11 23:08 UTC (permalink / raw)
To: Johan Sandblom; +Cc: Emacs orgmode
Johan Sandblom <js@ndblom.se> writes:
> Thank you for your quick reaction. Unfortunately it is still not
> perfect. Starting column mode with point on the headline "** bla"
> makes the column view end before headline "** bli". Am I right that
> this is unintended?
This is intended. According to the manual[fn:1]
If the cursor is somewhere inside the outline, this command
searches the hierarchy, up from point, for a ‘:COLUMNS:’ property
that defines a format. When one is found, the column view table is
established for the tree starting at the entry that contains the
‘:COLUMNS:’ property.
Regards,
[fn:1] (info "(org) Using column view"), first command.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BUG in columns view since 0f93638ce (Jun 2 2015)
2015-08-11 23:08 ` Nicolas Goaziou
@ 2015-08-12 6:44 ` Johan Sandblom
2015-08-12 12:54 ` Nicolas Goaziou
0 siblings, 1 reply; 6+ messages in thread
From: Johan Sandblom @ 2015-08-12 6:44 UTC (permalink / raw)
To: Emacs orgmode
2015-08-12 01:08 skrev Nicolas Goaziou:
> Johan Sandblom <js@ndblom.se> writes:
>
>> Thank you for your quick reaction. Unfortunately it is still not
>> perfect. Starting column mode with point on the headline "** bla"
>> makes the column view end before headline "** bli". Am I right that
>> this is unintended?
>
> This is intended. According to the manual[fn:1]
>
> If the cursor is somewhere inside the outline, this command
> searches the hierarchy, up from point, for a ‘:COLUMNS:’
> property
> that defines a format. When one is found, the column view table
> is
> established for the tree starting at the entry that contains the
> ‘:COLUMNS:’ property.
>
> Regards,
>
> [fn:1] (info "(org) Using column view"), first command.
I read that passage differently. The second-level headline ** bli is in
the tree that starts at the first-level headline * sum. The manual does
not state that the column view table is established for the part of the
tree that is between the entry that contains the ´:COLUMNS:´ property
and point. Since it does not mention partial trees at all I assumed the
entire tree starting at the entry was intended.
Johan
--
Johan Sandblom, MD PhD
m +46735521477
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
--Bertrand Russell
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BUG in columns view since 0f93638ce (Jun 2 2015)
2015-08-12 6:44 ` Johan Sandblom
@ 2015-08-12 12:54 ` Nicolas Goaziou
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2015-08-12 12:54 UTC (permalink / raw)
To: Johan Sandblom; +Cc: Emacs orgmode
Johan Sandblom <js@ndblom.se> writes:
> I read that passage differently. The second-level headline ** bli is
> in the tree that starts at the first-level headline * sum. The manual
> does not state that the column view table is established for the part
> of the tree that is between the entry that contains the ´:COLUMNS:´
> property and point. Since it does not mention partial trees at all
> I assumed the entire tree starting at the entry was intended.
You are right. This is fixed. Thank you.
Regards,
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-08-12 12:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11 15:10 BUG in columns view since 0f93638ce (Jun 2 2015) Johan Sandblom
2015-08-11 17:13 ` Nicolas Goaziou
2015-08-11 21:53 ` Johan Sandblom
2015-08-11 23:08 ` Nicolas Goaziou
2015-08-12 6:44 ` Johan Sandblom
2015-08-12 12:54 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.