emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [bug?] Copy content from one to another table changes the content
Date: Sat, 13 Jul 2013 23:29:45 -0400	[thread overview]
Message-ID: <874nbxizti.fsf@gmail.com> (raw)
In-Reply-To: CAPaq-gNciOhd8e67aS7WLGY3ezE9CYC24Jnz2ALVs2mh2xN2aQ@mail.gmail.com

Torsten Wagner <torsten.wagner@gmail.com> writes:

> I just notice a strange behaviour within tables. I want to copy a
> column of one table into another... using $1=remote(prf94120_orig,
> @@#$6). The original content consist of names in the form
> "lastname,firstnames". However, executing the above formular I receive
> "lastname + firstnames i"
>
> I have totally no clue what is the reason for that.... a bug?!
> Happens within Org-mode version 8.0.3
>

I tried it (on a single table too - no remote) and I get the same
behavior. I can't pretend to understand how anything in org-table.el
works, but I think this is a clue: on line 2678,
org-table-make-reference is called. If I call it by hand like this

  (org-table-make-reference "a, b" nil nil nil) --> "(a, b)"

Then on line 2706, calc-eval is called. If I call it by hand on the
value above

  (calc-eval "(a, b)") --> "a + b i"

I think it's trying to do arithmetic on complex numbers...
-- 
Nick

  reply	other threads:[~2013-07-14  3:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-13 20:47 [bug?] Copy content from one to another table changes the content Torsten Wagner
2013-07-14  3:29 ` Nick Dokos [this message]
2013-07-15  9:43   ` Torsten Wagner
2013-07-15 13:27     ` Torsten Wagner
2013-07-15 13:36       ` Nick Dokos
2013-07-16 10:24         ` Torsten Wagner
2013-07-16 14:09           ` Michael Brand

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=874nbxizti.fsf@gmail.com \
    --to=ndokos@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 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).