emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Gauland <mikelygee@no8wireless.co.nz>
To: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Help with babel results
Date: Sun, 10 Mar 2013 14:32:13 +1300	[thread overview]
Message-ID: <513BE29D.20208@no8wireless.co.nz> (raw)

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

I'm working with an sqlite database of songs, and I've run into trouble
with titles that start with a '(' (for example,
(I Can't Get No) Satisfaction). 'Verbatim' results work:

    #+BEGIN_SRC sqlite :db test-db :results verbatim
    .mode csv
    .separator |
    drop table playlist;
    create table playlist (title varchar, artist varchar);
    insert into playlist values("(I Can't Get No) Satisfaction",
"Rolling Stones");
    select * from playlist;
    #+END_SRC

    #+RESULTS:
    : "(I Can't Get No) Satisfaction"|"Rolling Stones"

But :results table' reports:

    eval: Symbol's function definition is void: I

It looks to me like org is trying to interpret (I Can't Get No) as emacs
lisp, but I haven't been able to figure out how to prevent that.

Advice would be greatly appreciated.

Kind Regards,
Mike


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

             reply	other threads:[~2013-03-10  1:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10  1:32 Michael Gauland [this message]
2013-03-10 21:37 ` Help with babel results Eric Schulte
2013-03-10 23:48   ` Eric Schulte
2013-03-11 17:43     ` Michael Gauland

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=513BE29D.20208@no8wireless.co.nz \
    --to=mikelygee@no8wireless.co.nz \
    --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).