all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Rogoff <david@therogoffs.com>
To: emacs-orgmode@gnu.org
Subject: macro replacement in code block?
Date: Tue, 31 Oct 2017 16:13:00 -0700	[thread overview]
Message-ID: <17470BC7-0FB7-458A-AE92-30EC6A7A303F@therogoffs.com> (raw)

Hi.

Trying to set up a large orgmode file with source code for several files that is extracted using tangle and also exported to HTML for documentation (source is verilog-mode).  It works but I’m trying to clean it up by using orgmode macros.  However, it seems like these are not replaced when inside code blocks.  I found a couple of references to this by searching Google but they were very terse and also referenced from orgmode function that doesn’t exist.  Can anyone point me to some documentation or example?

Thanks,

 David 

using gnu emacs 25.2 Linux / orgmode 9.1.2

             reply	other threads:[~2017-10-31 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31 23:13 David Rogoff [this message]
2017-11-01  0:32 ` macro replacement in code block? Kaushal Modi
2017-11-01  3:21   ` David Rogoff
2017-11-01 15:51     ` Kaushal Modi
2017-11-01 16:04       ` Multi-line noweb expansion in elisp insert form (Was Re: macro replacement in code block?) Kaushal Modi
2017-11-01 16:17       ` macro replacement in code block? Kaushal Modi
2017-11-01 17:32         ` David Rogoff
2017-11-01 18:48           ` Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17470BC7-0FB7-458A-AE92-30EC6A7A303F@therogoffs.com \
    --to=david@therogoffs.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.