emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [RFC] Syntax for macros


From: Sebastien Vauban
Subject: [O] [RFC] Syntax for macros
Date: Wed, 29 Jan 2014 09:49:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello,

I know this question can be a sensible one, but I wonder whether we
couldn't "remove some fat" from the macro "call" syntax?

When trying to convince colleagues and friends to use macros, I get
kind of allergic reactions because of the many accolades.

Example:

--8<---------------cut here---------------start------------->8---
  #+MACRO: hlt @@html:<span style="background-color: yellow;">$1</span>@@

  This {{{hlt(information)}}} is important.
--8<---------------cut here---------------end--------------->8---

I wondered whether we could reduce the number of accolades to 2 or 1?

This would be much more easy to read, IMO:

--8<---------------cut here---------------start------------->8---
  This {hlt(information)} is important.
--8<---------------cut here---------------end--------------->8---

Would this be possible?  If so, would you want that as well?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]