emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* columnview: could «id» be a list of values?
@ 2020-11-25  9:52 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2020-11-25  9:52 UTC (permalink / raw)
  To: emacs-orgmode


Hi

I have the following structure in a document. I will include the
document at the end of the message for better readability.

The structure is as follows

* Sheet 1
** G1/S1/E1 (id G1-S1-E1)
** G2/S1/E2 (id G2-S1-E2)
** Table generated via coumnview containing the tree

* Sheet 2
** G1/S2/E1 (id G1-S2-E1)
** G2/S2/E2 (id G2-S2-E1)
** Table generated via coumnview containing the tree

But I would also have tables which are generated by a reordering of the
file such as

* Group1
** G1/S1/E1
** G1/S2/E1
** Table generated via coumnview containing the tree

* Group 2
** G2/S1/E2
** G2/S2/E2
** Table generated via coumnview containing the tree

Now it is a hassle to reorder the file in this way. 
Each subheader has a different id

So the best would be if I could do the following 

#+BEGIN: columnview  :hlines 1 :indent nil :format "%50id[G1-S1-E1,G1-S2-E2](Sheet) %7Status(Status){X/}"
| Sheet    | Status |
|----------+--------|
| Sheet1   | [2/2]  |
| G1-S1-E1 | [X]    |
| G2-S1-E2 | [X]    |
|          |        |
#+END

But this seems not to be possible.

Does anybody has an idea how to achieve my goal, producing tables via
columnview form sub-header that posses a distinct id?

Thanks and regards

Uwe Brauer

File:

* Sheet 1
   :PROPERTIES:
   :COLUMNS:  %10Sheet(Sheet Nr) %10Ub(Exercise Nr)  %7STATUS(Status){X/} 
   :ID:       Sheet1
   :END:
** G1/S1/E1
   :PROPERTIES:
   :ID:     G1-S1-E1
   :STATUS:   [X]
   :END:

** G2/S1/E2
   :PROPERTIES:
   :Id:     G2-S1-E2
   :STATUS:   [X]
   :END:

** DONE

#+BEGIN: columnview  :hlines 1 :indent nil :format "%50id(Sheet) %7Status(Status){X/}"
| Sheet    | Status |
|----------+--------|
| Sheet1   | [2/2]  |
| G1-S1-E1 | [X]    |
| G2-S1-E2 | [X]    |
|          |        |
#+END
* Sheet 2
   :PROPERTIES:
   :COLUMNS:  %10Sheet(Sheet Nr) %10Ub(Exercise Nr)  %7STATUS(Status){X/} 
   :ID:       Sheet2
   :END:
** G1/S2/E1
   :PROPERTIES:
   :ID:     G1-S2-E1
   :STATUS:   [X]
   :END:

** G2/S2/E2
   :PROPERTIES:
   :Id:     G2-S2-E2
   :STATUS:   [X]
   :END:

** DONE

#+BEGIN: columnview  :hlines 1 :indent nil :format "%50id(Sheet) %7Status(Status){X/}"
| Sheet    | Status |
|----------+--------|
| Sheet2   | [2/2]  |
| G1-S2-E1 | [X]    |
| G2-S2-E2 | [X]    |
|          |        |
#+END



* Group 1
   :PROPERTIES:
   :COLUMNS:  %10Group(Sheet Nr) %10Ub(Exercise Nr)  %7STATUS(Status){X/} 
   :ID:       Group1
   :END:
** G1/S1/E1
   :PROPERTIES:
   :ID:     G1-S1-E1
   :STATUS:   [X]
   :END:
** G1/S2/E1
   :PROPERTIES:
   :ID:     G1-S2-E1
   :STATUS:   [X]
   :END:
** DONE

#+BEGIN: columnview  :hlines 1 :indent nil :format "%50id(Group) %7Status(Status){X/}"
| Group    | Status |
|----------+--------|
| Group1   | [2/2]  |
| G1-S1-E1 | [X]    |
| G1-S2-E1 | [X]    |
|          |        |
#+END
* Group 2
   :PROPERTIES:
   :COLUMNS:  %10Group(Sheet Nr) %10Ub(Exercise Nr)  %7STATUS(Status){X/} 
   :ID:       Group2
   :END:

** G2/S1/E2
   :PROPERTIES:
   :Id:     G2-S1-E2
   :STATUS:   [X]
   :END:
** G2/S2/E2
   :PROPERTIES:
   :Id:     G2-S2-E2
   :STATUS:   [X]
   :END:
** DONE

#+BEGIN: columnview  :hlines 1 :indent nil :format "%50id(Group) %7Status(Status){X/}"
| Group    | Status |
|----------+--------|
| Group2   | [2/2]  |
| G2-S1-E2 | [X]    |
| G2-S2-E2 | [X]    |
|          |        |
#+END



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-25  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25  9:52 columnview: could «id» be a list of values? Uwe Brauer

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