From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [RFC] Syntax for macros
Date: Wed, 29 Jan 2014 09:49:21 +0100 [thread overview]
Message-ID: <86ha8n6ulq.fsf@somewhere.org> (raw)
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
next reply other threads:[~2014-01-29 8:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-29 8:49 Sebastien Vauban [this message]
2014-01-29 9:25 ` [RFC] Syntax for macros Bastien
2014-01-30 10:29 ` Sebastien Vauban
2014-01-30 10:41 ` Bastien
2014-01-30 10:48 ` Sebastien Vauban
2014-01-30 14:08 ` Nick Dokos
2014-01-30 14:56 ` Sebastien Vauban
2014-01-30 16:59 ` Nick Dokos
2014-01-30 17:22 ` Thorsten Jolitz
2014-01-30 18:03 ` Bastien
2014-01-31 22:13 ` [PATCH] Font-lock: allow hiding of brackets surrounding macros Florian Beck
2014-02-01 0:22 ` Bastien
2014-02-05 10:14 ` Bastien
2014-02-05 13:07 ` Sebastien Vauban
2014-02-05 13:12 ` Bastien
2014-01-30 19:25 ` [RFC] Syntax for macros Florian Beck
2014-01-30 21:11 ` Thomas S. Dye
2014-01-30 18:24 ` Achim Gratz
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=86ha8n6ulq.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).