From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Multi-line macros (again) Date: Wed, 12 Oct 2016 12:29:26 +0200 Message-ID: <8760oxq2rd.fsf@gmx.us> References: <87int49z1k.fsf@iki.fi> <87y41xkh77.fsf@nicolasgoaziou.fr> <87k2ddq4a8.fsf@gmx.us> <874m4hq32c.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buGnZ-0005YP-2L for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 06:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buGnW-0004yE-0e for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 06:30:07 -0400 Received: from [195.159.176.226] (port=33107 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buGnV-0004wR-QT for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 06:30:05 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1buGn6-00035g-PS for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 12:29:40 +0200 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: emacs-orgmode@gnu.org Hi, >> To me, the syntax is a bit tiresome for inline calls, >> >> call_[]()[] > > 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