emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Charles Millar <millarc@verizon.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: :export results does not replace previous results designated block
Date: Mon, 22 Feb 2016 21:17:41 +0100	[thread overview]
Message-ID: <871t845wka.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <56CB67F0.9070204@verizon.net> (Charles Millar's message of "Mon, 22 Feb 2016 14:56:32 -0500")

Hello,

Charles Millar <millarc@verizon.net> 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	other threads:[~2016-02-22 20:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 19:56 Bug: :export results does not replace previous results designated block Charles Millar
2016-02-22 20:17 ` Nicolas Goaziou [this message]
2016-02-23 14:15   ` Charles Millar
2016-02-23 14:44     ` Nicolas Goaziou
2016-02-23 17:34       ` Charles Millar

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=871t845wka.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=millarc@verizon.net \
    /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).