From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gilles Charron Newsgroups: gmane.emacs.devel Subject: Exchanging variables between Calc and Embedded Calc Date: Mon, 27 Aug 2012 19:35:07 +0000 (UTC) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346097323 9032 80.91.229.3 (27 Aug 2012 19:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2012 19:55:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 27 21:55:24 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T65P8-0001fb-Qo for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2012 21:55:22 +0200 Original-Received: from localhost ([::1]:45783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T65P6-0000Pt-RK for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2012 15:55:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T65P0-0000Pd-WF for emacs-devel@gnu.org; Mon, 27 Aug 2012 15:55:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T65Ow-0000gn-RO for emacs-devel@gnu.org; Mon, 27 Aug 2012 15:55:14 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T65Ow-0000eo-KM for emacs-devel@gnu.org; Mon, 27 Aug 2012 15:55:10 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T65Op-0001UO-QU for emacs-devel@gnu.org; Mon, 27 Aug 2012 21:55:04 +0200 Original-Received: from modemcable051.25-82-70.mc.videotron.ca ([70.82.25.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Aug 2012 21:55:03 +0200 Original-Received: from gilles.charron by modemcable051.25-82-70.mc.videotron.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Aug 2012 21:55:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 70.82.25.51 (Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152868 Archived-At: Hi, I've been using embedded calc for some time now and have been looking for an answer to the following: Is it possible, from "calc" to read embedded calc variables? Suppose I have the following in a file: myVariable := 1.5 + 13 => 14.5 Hitting C-x * u will refresh "14.5" and now embedded calc knowns about "myVariable". If I switch to "calc mode" (C-x * c), how can I get access to "myVariable"? >From the embedded calc manual: "The assignment operator `a := 17' does not actually do anything by itself. But Embedded Mode recognizes it and marks it as a sort of file-local definition of the variable." How can I access these "file-local definitions"? Also, is it possible to set "embedded" calc variables from calc? Thanks! Regards, Gilles