emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] org-collector.el broken by 8.3 beta


From: Charles Millar
Subject: Re: [O] [BUG] org-collector.el broken by 8.3 beta
Date: Thu, 06 Aug 2015 08:19:06 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Hi Bastien,
On 08/04/2015 08:01 PM, Bastien Guerry wrote:
Hi Charles,

Charles Millar <address@hidden> writes:

org-collector works as expected using

GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5)
of 2015-03-07 on binet, modified by Debian
Org: 8.2.10 release_8.2.10

but fails if

GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5)
of 2015-03-07 on binet, modified by Debian
Org: 8.3beta release_8.3beta-1030-g65bbb1
Can you be more specific on the kind of failure do you have?

To start off -

Linux Mint Mate 17.1

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian

Org-mode version 8.3.1 (release_8.3.1-1-gb5f5d6.dirty @ /usr/share/emacs/site-lisp/org-mode/lisp/)

If I copy the code blocks that are in Eric's explanation at

http://orgmode.org/worg/org-contrib/org-collector.html

into my org-collector-example.org file and then evaluate (execute?) the src blocks the results are

#+BEGIN: propview :id "december" :conds ((string= spendtype "food")) :cols (ITEM amount)
| ITEM | amount |
|------+--------|
|------+--------|
|      |        |
#+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 Mon]" |              0 |
| "**** Athletic club [2008-12-02 Tue]" |              0 |
| "*** Week Two"                        |              0 |
| "**** Restaurant [2008-12-08 Mon]"    |              0 |
|---------------------------------------+----------------|
|                                       |                |
#+END:

This happens both in Lint mate 17.1 environment as well as in terminal if simply load emacs, i.e. click on the icon, call emacs in the command line, etc.

On the other hand if I go to a terminal and load emacs -q and then load org-collector.org I get the expected results, i.e.

#+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:

#+BEGIN: propview :cols (ITEM (+ 400 amount)) :scope tree :match "example"
| ITEM                             | (+ 400 amount) |
|----------------------------------+----------------|
| "December Spending"              |              0 |
| "Week One"                       |              0 |
| "Grocery Store [2008-12-01 Mon]" |         456.77 |
| "Athletic club [2008-12-02 Tue]" |          475.0 |
| "Week Two"                       |              0 |
| "Restaurant [2008-12-08 Mon]"    |         430.67 |
|----------------------------------+----------------|
|                                  |                |
#+END:

Just in case I attach a copy of my init file which is a mess.

Also, version 8.2.10 appears to have no problem.

Charlie

Attachment: init.el
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]