From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: #+call split into multiple lines? Date: Fri, 29 Mar 2013 08:18:43 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULTZU-0000e7-0o for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 03:17:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULTZS-00063E-LC for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 03:17:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:38517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULTZS-00062y-EZ for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 03:17:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ULTZm-0002WV-Io for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 08:18:14 +0100 Received: from p5b14df1e.dip.t-dialin.net ([91.20.223.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Mar 2013 08:18:14 +0100 Received: from Stromeko by p5b14df1e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Mar 2013 08:18:14 +0100 In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Am 28.03.2013 21:49, schrieb Stefan Vollmar: > (1) "natural" multi-line > > #+call: mhead-hcard( > cname="Dr. Stefan Vollmar", # full name for title > gname="Stefan", # given name > photo="stefan-vollmar.jpg", # can be jpg or png > ...) This doesn't parse well, so I venture to guess that Nicolas wouldn't like that. > (2) Attempt in keeping with a multi-line #+header construct > > #+call: mhead-hcard( > #+call: cname="Dr. Stefan Vollmar", # full name for headline > #+call: gname="Stefan", # given name > #+call: photo="stefan-vollmar.jpg", # can be jpg or png > ... See perhaps http://permalink.gmane.org/gmane.emacs.orgmode/68027 (unanswered so far and was actually meant to solve a different cosmetic problem). > (3) Using a "line continuation marker" > > #+call: mhead-hcard( > cname="Dr. Stefan Vollmar",\ > gname="Stefan",\ > photo="stefan-vollmar.jpg",\ > ...) See (1). > Maybe even with optional comments: > > #+call: mhead-hcard( > cname="Dr. Stefan Vollmar",\ # full name for headline > gname="Stefan",\ # given name > photo="stefan-vollmar.jpg",\ # can be jpg or png > ...) The comments would still be part of the arguments, so a special form of trimming would be needed. > Maybe there already is a good solution to increase readability? > Maybe the "line continuation marker" (3) would be a general > solution for all cases in org where now no line breaks are possible? Line continuation markers are only really useful with line-by-line evaluation or if the whole buffer gets preprocessed, so they are not a good solution for Org, IMHO. Regards, -- Achim. (on the road :-)