all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daryl Manning <dwm+orgmode@wakatara.com>
To: emacs-orgmode@gnu.org
Subject: Re: Creating table of summarized org-mode result fields in column view "report"
Date: Thu, 12 Mar 2020 15:23:48 +0800	[thread overview]
Message-ID: <CAL9aZkszafzP4JW5EwY5Gex=4h-7ZRdwZHq7xPkr06SBrvrnOA@mail.gmail.com> (raw)
In-Reply-To: <871rpyvza3.fsf@ucl.ac.uk>

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

Thanks for the response. Very helpful.

I figured out since writing it rom light research on column view and the
helpful column view video on the emacs site):

1. Parse the daily files to AST  (can do this now via a function)
2. Convert the "yaml-ed" fields to :PROPERTY: "drawer" fields (after
looking at the Column video on the emacs website)
3. Dump to a temp buffer with the column definition somewhat like what you
outlined ahead of it to render (though was not sure how to pass the fields
dynamically, but figured could start with fixed)

However, I figured this has to be a common enough(ish) thing that people
need to do that it might already been a code snippet function (or even a
package) floating around. So, this was more a "does this look like a
problem someone has already solved" and where is that package/code kinda
question. =]   #lazyweb

Otherwise, I'll just wander off and attempt coding it myself over le
weekend. =]

thanks!
Daryl.





On Thu, Mar 12, 2020 at 2:54 PM Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> On Thursday, 12 Mar 2020 at 12:46, Daryl Manning wrote:
> > Can anyone point me to something similar already? (and is this even
> > possible with column view instead of say, turning it into an org-table
> > within a buffer.
>
> This would be straightforward if each of those entries were a
> PROPERTY.  Then you can specify the properties to display in column view
> along with their widths.  I do this for my todo list which is all in a
> single org file.
>
> You could define the columns along these lines:
>
> #+columns: %60ITEM %this %that %50highlights
>
> to show the contents.
>
> HTH,
> eric
>
> --
> : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-412-ge18415
>

[-- Attachment #2: Type: text/html, Size: 2351 bytes --]

  reply	other threads:[~2020-03-12  7:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12  4:46 Creating table of summarized org-mode result fields in column view "report" Daryl Manning
2020-03-12  6:54 ` Eric S Fraga
2020-03-12  7:23   ` Daryl Manning [this message]
2020-03-12  8:39     ` Eric S Fraga
2020-03-12  8:44       ` Daryl Manning

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL9aZkszafzP4JW5EwY5Gex=4h-7ZRdwZHq7xPkr06SBrvrnOA@mail.gmail.com' \
    --to=dwm+orgmode@wakatara.com \
    --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 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.