From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [bug?] Copy content from one to another table changes the content Date: Sat, 13 Jul 2013 23:29:45 -0400 Message-ID: <874nbxizti.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyD0h-0003VA-Kt for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 23:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyD0g-00067T-NX for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 23:30:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:45492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyD0g-000663-HZ for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 23:30:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UyD0d-0007oB-8s for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 05:30:03 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Jul 2013 05:30:03 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Jul 2013 05:30:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Torsten Wagner 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