From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: macro replacement in code block? Date: Wed, 01 Nov 2017 00:32:33 +0000 Message-ID: References: <17470BC7-0FB7-458A-AE92-30EC6A7A303F@therogoffs.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c13b3a8a8a5f5055ce10224" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9gxd-0003zF-Bq for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 20:32:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9gxa-00080U-KK for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 20:32:47 -0400 Received: from mail-yw0-x233.google.com ([2607:f8b0:4002:c05::233]:52663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9gxa-00080L-F1 for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 20:32:46 -0400 Received: by mail-yw0-x233.google.com with SMTP id w2so601241ywa.9 for ; Tue, 31 Oct 2017 17:32:46 -0700 (PDT) In-Reply-To: <17470BC7-0FB7-458A-AE92-30EC6A7A303F@therogoffs.com> 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: David Rogoff Cc: emacs-org list --94eb2c13b3a8a8a5f5055ce10224 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 31, 2017, 7:14 PM David Rogoff wrote: > Hi. > Hello. I=E2=80=99m trying to clean it up by using orgmode macros. However, it se= ems like > these are not replaced when inside code blocks. > Do you have a minimal example of what you'd like to "macrofy" in the verilog code blocks? Probably the solution is to use noweb references with arguments? See the Org manual. > -- Kaushal Modi --94eb2c13b3a8a8a5f5055ce10224 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 31, 2017, 7:14 PM D= avid Rogoff <david@therogoffs.co= m> wrote:
Hi.

Hello.=C2=A0

=C2=A0I=E2=80=99m trying to cle= an it up by using orgmode macros.=C2=A0 However, it seems like these are no= t replaced when inside code blocks.=C2=A0

Do you have a minimal example of what you'd like to "macr= ofy" in the verilog code blocks?

Probably the= solution is to use noweb references with arguments? See the Org manual.=C2= =A0
--

Kaushal Modi

--94eb2c13b3a8a8a5f5055ce10224--