From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: columnview: could «id» be a list of values?
Date: Wed, 25 Nov 2020 10:52:13 +0100 [thread overview]
Message-ID: <87lfepahma.fsf@mat.ucm.es> (raw)
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
reply other threads:[~2020-11-25 9:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87lfepahma.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--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).