From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Table formula reference and macro replacement Date: Fri, 18 Aug 2017 05:55:25 +0530 Message-ID: References: <639FAF5A-D151-409F-867A-922029806BC0@agrarianresearch.org> <87fucqp925.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diV6T-0004o4-R5 for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 20:25:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diV6Q-0007b3-Nj for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 20:25:33 -0400 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]:36455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1diV6Q-0007ai-FX for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 20:25:30 -0400 Received: by mail-pg0-x235.google.com with SMTP id i12so53021917pgr.3 for ; Thu, 17 Aug 2017 17:25:30 -0700 (PDT) In-Reply-To: <87fucqp925.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: org-mode mailing list >=20 > You could try: >=20 > --8<---------------cut here---------------start------------->8--- > #+macro: remote src_emacs-lisp{(org-table-get-remote-range "$1" "$2")} >=20 > Example: >=20 > #+name: foo > | 1 | 2 | > | 3 | 4 | >=20 > The macro call: {{{remote(foo, @1$2)}}} > --8<---------------cut here---------------end--------------->8=E2=80=94 >=20 Beautiful! Vikas