From: Chris Malone <chris.m.malone@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Working with =src= blocks :results header argument
Date: Sun, 5 Dec 2010 15:51:06 -0500 [thread overview]
Message-ID: <AANLkTim45G6W2YtsqcZrAqhPA9TeESh8+mE7AbEae88M@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 815 bytes --]
Hi,
I've been looking through the manual to get more familiar with Babel and
using source code in general. Below is a simple example, which I'm not sure
is working as intended.
#+tblname:
example-table
| 1 | a
|
| 2 | b
|
| 3 | c
|
| 4 | d
|
#+begin_src emacs-lisp :var data=example-table[-3,1] :results value raw
data
#+end_src
Upon =C-c C-c= this produces the expected result:
#+results:
b
=C-c C-c= /again/, however, results in:
#+results:
b
b
In other words, the default results handling of =replace= appears to not
work with a =raw= results type. I tried explicitly adding the handling via
a =:results value raw replace= header argument but again this didn't seem to
fix things.
Is this what is intended for the =raw= type of results - no replacement
effect at all - or is this a bug?
Chris
[-- Attachment #1.2: Type: text/html, Size: 1643 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2010-12-05 20:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 20:51 Chris Malone [this message]
2010-12-05 23:23 ` Working with =src= blocks :results header argument Eric Schulte
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=AANLkTim45G6W2YtsqcZrAqhPA9TeESh8+mE7AbEae88M@mail.gmail.com \
--to=chris.m.malone@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 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.