emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: :export results does not replace previous results designate


From: Nicolas Goaziou
Subject: Re: [O] Bug: :export results does not replace previous results designated block
Date: Mon, 22 Feb 2016 21:17:41 +0100

Hello,

Charles Millar <address@hidden> writes:

> The last time (last Wednesday or so) I executed the following code
>
> ** Some subheading
> #+NAME: SCHEDAP
> #+begin_src rec :data foo.rec :type Finance :fields 
> AssetDate,Description,Basis :results silent
>   (File = 'Estate' && AccountSchedule = 'A')
> #+end_src
> #+RESULTS: SCHEDAP
> #+NAME: SCHEDA
> #+begin_src emacs-lisp :var table=SCHEDAP :exports results
>    (setq table (cons 'hline table))
>    (setq table (cons '("Date" "Description" "Inventory Value") table))
>    (setq table (append table '(("|Total Schedule A"))))
>    (setq table (append table '(("\n#+TBLFM: 
> @>$>=vsum(@I$>..@>>$>);%.2f::"))))
>    table
> #+end_src
> #+ATTR_LATEX: :mode table :environment longtable :align 
> p{60pt}p{300pt}N{8}{2}
> #+TBLNAME: SCHEDA

[...]

> Should I change the code blocks or is this a bug? All of tables 
> generated by the same or similar code behave the same way - a table 
> after #+RESULTS: foobar is , but nothing for #+TBLNAME: foobar.

What happens if you replace TBLNAME with NAME?

Regards,

-- 
Nicolas Goaziou



reply via email to

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