emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Multi-line macros (again)
Date: Wed, 12 Oct 2016 12:29:26 +0200	[thread overview]
Message-ID: <8760oxq2rd.fsf@gmx.us> (raw)
In-Reply-To: 874m4hq32c.fsf@nicolasgoaziou.fr

Hi,

>> To me, the syntax is a bit tiresome for inline calls,
>>
>>      call_<name>[<inside header arguments>](<arguments>)[<end header arguments>]
>
> This is where macros can shine. You can define a macro expanding to this
> template.

Sure.

>> I wonder if we could allow remote editing of macros like with table
>> formulas.
>
> This is orthogonal to the issue. Once edited, it sill have to be
> inserted in the document as a multi-line macro, which is not possible.

Not if we can automatically format lines, which is not at all obvious.  It
might be possible with lispy macros, but might not be possible in general.
(Table formula lines can be long, but it's not a problem since they can be
edited in a separate window).

Rasmus

-- 
To err is human. To screw up 10⁶ times per second, you need a computer

      reply	other threads:[~2016-10-12 10:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-07 11:30 Multi-line macros (again) Jarmo Hurri
2016-10-09  9:25 ` Nicolas Goaziou
2016-10-12  9:56   ` Rasmus
2016-10-12 10:22     ` Nicolas Goaziou
2016-10-12 10:29       ` Rasmus [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=8760oxq2rd.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).