emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Columnview *** is exported as <b>*<b>
@ 2016-01-27 18:08 Axel Kielhorn
  2016-02-04 22:10 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Axel Kielhorn @ 2016-01-27 18:08 UTC (permalink / raw)
  To: Org-Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

Hi,

I use org to track time and money spend on a project.
This project has several sub levels that are assigned to certain workers.

To view and edit the time and money spend, I use columnview which works fine.
When I want to report about our effort I want to export a columnview table.
In this table the tasks are shown with *, **, and *** to indicate the level.
In the export the *** is rendered as a bold *.

Right now I insert a space between the ** but that is not really efficient.

Is there a way to render the different level via different indenting as it is done for clocktables? 
I looked at the code for clocktable but that is above my understanding of elisp.

I’m using org-mode 8.3.3-17 from ELPA with emacs 24.5.

Axel



[-- Attachment #2: ECM-Columnview.html --]
[-- Type: text/html, Size: 8984 bytes --]

[-- Attachment #3: ECM-Columnview.org --]
[-- Type: application/octet-stream, Size: 1814 bytes --]

#+TITLE: ECM
#+AUTHOR: Axel Kielhorn
#+LANGUAGE: de
#+OPTIONS: toc:nil
#+OPTIONS: tags:nil
#+OPTIONS: todo:t
#+OPTIONS: pri:t
#+OPTIONS: p:t

* Top Level
:PROPERTIES:
:COLUMNS:  %40ITEM(Baugruppe) %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):
:END:

#+BEGIN: columnview :hlines 1 :id local
| Baugruppe            | Zeit | Plan | Kosten |     Fällig | Fertig | Verant. |
|----------------------+------+------+--------+------------+--------+---------|
| * Top Level          |   24 | 44.0 |   1050 |            | [2/4]  |         |
| ** Sub level 1       |   12 |   2d |    500 | 2016-03-12 | [ ]    | :MA1:   |
| ** Sub level 2       |   12 |   28 |    550 | 2016-03-12 | [2/3]  |         |
| *** Sub sub level 2a |    4 |    8 |    100 | 2016-03-12 | [X]    | :MA2:   |
| *** Sub sub level 2b |    4 |    8 |    400 | 2016-03-12 | [X]    | :MA2:   |
| *** Sub sub level 2c |    4 |   12 |     50 | 2016-03-12 | [ ]    | :MA1:   |
#+END:


** Sub level 1                                                         :MA1:
:PROPERTIES:
:Effort:   2d
:Zeit: 12
:Kosten: 500
:Fällig: 2016-03-12
:Fertig:   [ ]
:END:

** Sub level 2
:PROPERTIES:
:Effort:   28
:Zeit:     12
:Kosten:   550
:Fällig:   2016-03-12
:END:

*** Sub sub level 2a                                                  :MA2:
:PROPERTIES:
:Effort:   8
:Zeit: 4
:Kosten: 100
:Fällig: 2016-03-12
:Fertig:   [X]
:END:

*** Sub sub level 2b                                                  :MA2:
:PROPERTIES:
:Effort:   8
:Zeit: 4
:Kosten: 400
:Fällig: 2016-03-12
:Fertig:   [X]
:END:

*** Sub sub level 2c                                                  :MA1:
:PROPERTIES:
:Effort:   12
:Zeit: 4
:Kosten: 50
:Fällig: 2016-03-12
:Fertig:   [ ]
:END:

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-01-27 18:08 Columnview *** is exported as <b>*<b> Axel Kielhorn
@ 2016-02-04 22:10 ` Nicolas Goaziou
  2016-02-05 11:12   ` Michael Brand
  2016-02-11 20:41   ` Axel Kielhorn
  0 siblings, 2 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2016-02-04 22:10 UTC (permalink / raw)
  To: Axel Kielhorn; +Cc: Org-Mode Mailing List

Hello,

Axel Kielhorn <org-mode@axelkielhorn.de> writes:

> Is there a way to render the different level via different indenting as it is done for clocktables? 
> I looked at the code for clocktable but that is above my understanding
> of elisp.

I pushed a patch in development version allowing to use :indent for
columnview dynamic blocks.

Thank you for suggesting it.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-02-04 22:10 ` Nicolas Goaziou
@ 2016-02-05 11:12   ` Michael Brand
  2016-02-05 23:07     ` Nicolas Goaziou
  2016-02-11 20:41   ` Axel Kielhorn
  1 sibling, 1 reply; 8+ messages in thread
From: Michael Brand @ 2016-02-05 11:12 UTC (permalink / raw)
  To: Org-Mode Mailing List; +Cc: Axel Kielhorn

Hi Nicolas

Commit release_8.3.3-547-g00f0c70 does not respect the stars of ITEM
any more for the dynamic column width of the interactive column view
with overlays. The fix of org-columns-get-autowidth-alist for the two
"(setq-local org-columns-current-maxwidths [...]" seems too
complicated to do it myself.

The MCE

------------------------------
* Column view
*** Subsection
***** Subsubsection
* File config :ARCHIVE:
  #+COLUMNS: %ITEM
  #+STARTUP: odd showall
------------------------------

changes the looking from

------------------------------
ITEM                |
* Column view       |
*** Subsection      |
***** Subsubsection |
* File config :ARCHIVE:...
------------------------------

to

------------------------------
ITEM          |
* Column view |
*** Subsect.. |
***** Subsu.. |
* File config :ARCHIVE:...
------------------------------

Michael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-02-05 11:12   ` Michael Brand
@ 2016-02-05 23:07     ` Nicolas Goaziou
  2016-02-06  8:07       ` Michael Brand
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-02-05 23:07 UTC (permalink / raw)
  To: Michael Brand; +Cc: Axel Kielhorn, Org-Mode Mailing List

Hello,

Michael Brand <michael.ch.brand@gmail.com> writes:

> Commit release_8.3.3-547-g00f0c70 does not respect the stars of ITEM
> any more for the dynamic column width of the interactive column view
> with overlays. The fix of org-columns-get-autowidth-alist for the two
> "(setq-local org-columns-current-maxwidths [...]" seems too
> complicated to do it myself.
>
> The MCE
>
> ------------------------------
> * Column view
> *** Subsection
> ***** Subsubsection
> * File config :ARCHIVE:
>   #+COLUMNS: %ITEM
>   #+STARTUP: odd showall
> ------------------------------
>
> changes the looking from
>
> ------------------------------
> ITEM                |
> * Column view       |
> *** Subsection      |
> ***** Subsubsection |
> * File config :ARCHIVE:...
> ------------------------------
>
> to
>
> ------------------------------
> ITEM          |
> * Column view |
> *** Subsect.. |
> ***** Subsu.. |
> * File config :ARCHIVE:...
> ------------------------------

Fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-02-05 23:07     ` Nicolas Goaziou
@ 2016-02-06  8:07       ` Michael Brand
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Brand @ 2016-02-06  8:07 UTC (permalink / raw)
  To: Org-Mode Mailing List; +Cc: Axel Kielhorn

Hi Nicolas

On Sat, Feb 6, 2016 at 12:07 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Michael Brand <michael.ch.brand@gmail.com> writes:

>> ------------------------------
>> ITEM          |
>> * Column view |
>> *** Subsect.. |
>> ***** Subsu.. |
>> * File config :ARCHIVE:...
>> ------------------------------
>
> Fixed. Thank you.

Confirmed. Thank you.

Michael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-02-04 22:10 ` Nicolas Goaziou
  2016-02-05 11:12   ` Michael Brand
@ 2016-02-11 20:41   ` Axel Kielhorn
  2016-02-11 23:46     ` Nicolas Goaziou
  1 sibling, 1 reply; 8+ messages in thread
From: Axel Kielhorn @ 2016-02-11 20:41 UTC (permalink / raw)
  To: Org-Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]


> Am 04.02.2016 um 23:10 schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> 
> Hello,
> 
> Axel Kielhorn <org-mode@axelkielhorn.de> writes:
> 
>> Is there a way to render the different level via different indenting as it is done for clocktables? 
>> I looked at the code for clocktable but that is above my understanding
>> of elisp.
> 
> I pushed a patch in development version allowing to use :indent for
> columnview dynamic blocks.

Thanks, I have now moved to master and it almost works.

When I simply use ITEM it works as expected:
:COLUMNS:  %ITEM %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):


When I overwrite the ITME with a custom text it doesn’t:
:COLUMNS:  %ITEM(Item) %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):

Please see the enclosed ECM.

Is this something with my configuration I need to chase down?

I am using:
Org-mode version 8.3.3 (release_8.3.3-596-g8eff64 @ /Users/axel/src/Emacs/org-mode/lisp/) 


Regards Axel


[-- Attachment #2: ECM-Columnview.org --]
[-- Type: application/octet-stream, Size: 3507 bytes --]

#+TITLE: ECM
#+AUTHOR: Axel Kielhorn
#+LANGUAGE: de
#+OPTIONS: toc:nil
#+OPTIONS: tags:nil
#+OPTIONS: todo:t
#+OPTIONS: pri:t
#+OPTIONS: p:t

* Top Level Item
:PROPERTIES:
:COLUMNS:  %ITEM(Item) %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):
:END:

#+BEGIN: columnview :hlines 1 :id local :indent t
| Item                 | Zeit | Plan | Kosten |     Fällig | Fertig | Verant. |
|----------------------+------+------+--------+------------+--------+---------|
| * Top Level Item     |   24 | 44.0 |   1050 |            | [2/4]  |         |
| ** Sub level 1       |   12 |   2d |    500 | 2016-03-12 | [ ]    | :MA1:   |
| ** Sub level 2       |   12 |   28 |    550 | 2016-03-12 | [2/3]  |         |
| *** Sub sub level 2a |    4 |    8 |    100 | 2016-03-12 | [X]    | :MA2:   |
| *** Sub sub level 2b |    4 |    8 |    400 | 2016-03-12 | [X]    | :MA2:   |
| *** Sub sub level 2c |    4 |   12 |     50 | 2016-03-12 | [ ]    | :MA1:   |
#+END:



** Sub level 1                                                         :MA1:
:PROPERTIES:
:Effort:   2d
:Zeit: 12
:Kosten: 500
:Fällig: 2016-03-12
:Fertig:   [ ]
:END:

** Sub level 2
:PROPERTIES:
:Effort:   28
:Zeit:     12
:Kosten:   550
:Fällig:   2016-03-12
:END:

*** Sub sub level 2a                                                  :MA2:
:PROPERTIES:
:Effort:   8
:Zeit: 4
:Kosten: 100
:Fällig: 2016-03-12
:Fertig:   [X]
:END:

*** Sub sub level 2b                                                  :MA2:
:PROPERTIES:
:Effort:   8
:Zeit: 4
:Kosten: 400
:Fällig: 2016-03-12
:Fertig:   [X]
:END:

*** Sub sub level 2c                                                  :MA1:
:PROPERTIES:
:Effort:   12
:Zeit: 4
:Kosten: 50
:Fällig: 2016-03-12
:Fertig:   [ ]
:END:

* Top Level ITEM
:PROPERTIES:
:COLUMNS:  %ITEM %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):
:END:

#+BEGIN: columnview :hlines 1 :id local :indent t
| ITEM                   | Zeit | Plan | Kosten |     Fällig | Fertig | Verant. |
|------------------------+------+------+--------+------------+--------+---------|
| Top Level ITEM         |   24 | 44.0 |   1050 |            | [2/4]  |         |
| \_  Sub level 1        |   12 |   2d |    500 | 2016-03-12 | [ ]    | :MA1:   |
| \_  Sub level 2        |   12 |   28 |    550 | 2016-03-12 | [2/3]  |         |
| \_    Sub sub level 2a |    4 |    8 |    100 | 2016-03-12 | [X]    | :MA2:   |
| \_    Sub sub level 2b |    4 |    8 |    400 | 2016-03-12 | [X]    | :MA2:   |
| \_    Sub sub level 2c |    4 |   12 |     50 | 2016-03-12 | [ ]    | :MA1:   |
#+END:



** Sub level 1                                                         :MA1:
:PROPERTIES:
:Effort:   2d
:Zeit: 12
:Kosten: 500
:Fällig: 2016-03-12
:Fertig:   [ ]
:END:

** Sub level 2
:PROPERTIES:
:Effort:   28
:Zeit:     12
:Kosten:   550
:Fällig:   2016-03-12
:END:

*** Sub sub level 2a                                                  :MA2:
:PROPERTIES:
:Effort:   8
:Zeit: 4
:Kosten: 100
:Fällig: 2016-03-12
:Fertig:   [X]
:END:

*** Sub sub level 2b                                                  :MA2:
:PROPERTIES:
:Effort:   8
:Zeit: 4
:Kosten: 400
:Fällig: 2016-03-12
:Fertig:   [X]
:END:

*** Sub sub level 2c                                                  :MA1:
:PROPERTIES:
:Effort:   12
:Zeit: 4
:Kosten: 50
:Fällig: 2016-03-12
:Fertig:   [ ]
:END:

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-02-11 20:41   ` Axel Kielhorn
@ 2016-02-11 23:46     ` Nicolas Goaziou
  2016-02-12 13:41       ` Axel Kielhorn
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-02-11 23:46 UTC (permalink / raw)
  To: Axel Kielhorn; +Cc: Org-Mode Mailing List

Hello,

Axel Kielhorn <org-mode@axelkielhorn.de> writes:

> When I overwrite the ITME with a custom text it doesn’t:
> :COLUMNS:  %ITEM(Item) %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Columnview *** is exported as <b>*<b>
  2016-02-11 23:46     ` Nicolas Goaziou
@ 2016-02-12 13:41       ` Axel Kielhorn
  0 siblings, 0 replies; 8+ messages in thread
From: Axel Kielhorn @ 2016-02-12 13:41 UTC (permalink / raw)
  To: Org-Mode Mailing List

> Am 12.02.2016 um 00:46 schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> 
> Hello,
> 
> Axel Kielhorn <org-mode@axelkielhorn.de> writes:
> 
>> When I overwrite the ITME with a custom text it doesn’t:
>> :COLUMNS:  %ITEM(Item) %6Zeit{+} %6Effort(Plan){+} %6Kosten{+} %10Fällig %Fertig{X/} %8TAGS(Verant.):
> 
> Fixed. Thank you.

Verified, thanks.

Axel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-12 13:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 18:08 Columnview *** is exported as <b>*<b> Axel Kielhorn
2016-02-04 22:10 ` Nicolas Goaziou
2016-02-05 11:12   ` Michael Brand
2016-02-05 23:07     ` Nicolas Goaziou
2016-02-06  8:07       ` Michael Brand
2016-02-11 20:41   ` Axel Kielhorn
2016-02-11 23:46     ` Nicolas Goaziou
2016-02-12 13:41       ` Axel Kielhorn

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).