From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Babel - display results in an overlay? Date: Tue, 3 Aug 2010 10:19:44 -0700 Message-ID: References: <871vafljbr.fsf@hydra.violetti.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=58192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgLSQ-0001IG-14 for emacs-orgmode@gnu.org; Tue, 03 Aug 2010 13:39:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgLSO-0001qQ-BF for emacs-orgmode@gnu.org; Tue, 03 Aug 2010 13:39:17 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:59803) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgLSO-0001pl-6v for emacs-orgmode@gnu.org; Tue, 03 Aug 2010 13:39:16 -0400 Received: by eydd26 with SMTP id d26so1885748eyd.0 for ; Tue, 03 Aug 2010 10:39:14 -0700 (PDT) In-Reply-To: <871vafljbr.fsf@hydra.violetti.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Taru Karttunen Cc: org-mode mailing list Calc allows something like this. On 2010-08-03, Taru Karttunen wrote: > Hello > > I am looking for an org-mode solution to storing a number of variables and > referencing them nicely in an org-mode buffer. > > I would like to write something like this: > "{foo:1+3} and {bar:foo+3}" > and have it displayed (with overlays) as: > "foo:4 and bar:7" > > Any ideas how to hack org and babel to do this. Simple numeric > operations suffice but I have a few dozen variables so an easy > an intuitive interface is the most important aspect. > > - Taru Karttunen > > > _______________________________________________ > 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 > -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] ========== Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE === PNAS must publish the original Lo and Alter NIH/FDA XMRV paper verbatim along with the new paper.