From: dche <dchechin92@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-collector - propview display problems
Date: Thu, 3 Mar 2016 13:15:26 +0000 (UTC) [thread overview]
Message-ID: <loom.20160303T135435-857@post.gmane.org> (raw)
In-Reply-To: 87oaavq0rd.fsf@nicolasgoaziou.fr
Thank you.
In the first post I used the example proposed in the description of
org-collector that is accessible at this link.
http://orgmode.org/worg/sources/org-contrib/org-collector-example.org
With this example org-collector is able to gather in a table with the use
of propview in a #+BEGIN #+END block. To display the table, you have to use
C-c C-c in front of the #+BEGIN: instruction.
With the example proposed in the link the following results are displayed :
#+BEGIN: propview :id "december" :conds ((string= spendtype "food")) :cols
(ITEM amount)
| "ITEM" | "amount" |
|----------------------------------+----------|
| "Grocery Store [2008-12-01 Mon]" | 56.77 |
| "Restaurant [2008-12-08 Mon]" | 30.67 |
|----------------------------------+----------|
| | |
#+END:
With my actual configuration Org-mode 8.3.4 and GNU Emacs 24.3.1
(i386-mingw-nt6.1.7601), I get the following output :
#+BEGIN: propview :id "december" :conds ((string= spendtype "food")) :cols
#+END:
#+BEGIN: propview :cols (ITEM (+ 400 amount)) :scope tree :match "example"
| ITEM | (+ 400 amount) |
|----------------------------------------+----------------|
| "** December Spending" | 0 |
| "*** Week One" | 0 |
| "**** Grocery Store [2008-12-01 lun.]" | 0 |
| "**** Athletic club [2008-12-02 mar.]" | 0 |
| "*** Week Two" | 0 |
| "**** Restaurant [2008-12-08 lun.]" | 0 |
|----------------------------------------+----------------|
| | |
#+END:
The org-collector function is previously loaded with (require 'org-collector)
Regards
next prev parent reply other threads:[~2016-03-03 13:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 18:04 org-collector - propview display problems dche
2016-03-02 1:30 ` Charles Millar
2016-03-02 14:11 ` dche
2016-03-03 11:06 ` Nicolas Goaziou
2016-03-03 13:15 ` dche [this message]
2016-03-13 19:41 ` Nicolas Goaziou
2016-03-14 9:26 ` dche
2016-03-14 12:36 ` Nicolas Goaziou
2016-03-14 15:08 ` Charles Millar
2016-03-14 17:57 ` Charles Millar
2016-03-15 9:09 ` dche
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=loom.20160303T135435-857@post.gmane.org \
--to=dchechin92@gmail.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 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).