Hello, Juan Manuel Macías <maciasch...@posteo.net> writes:
> I think it's a very interesting idea. I've made this sketch (at least > as a proof of concept), what do you think of the approach? I think there are a few things to fix. For example, the separator may need to be stored in the properties of the macro. Otherwise, interpreting data back would return to comma-separated arguments, which may not be desirable, although correct. Also, I would limit separator to a single character. You also need to exclude space characters. > Example (and code below): > > #+macro: foo (eval (format "%s and %s" $1 $2)) > > {{{foo(xxx,zzz\, yyy)}}} > > {{{foo|(xxx|zzz, aaa)}}} > > {{{foo@(xxx@zzz, sss)}}} > > {{{foo|(xxx|zzz\| aaa)}}} > > {{{foo@(xxx@zzz\@ sss)}}} This change will need to be tested extensively in "test-org-element.el" and "test-org-macro.el". However, as a start, I suggest starting a new thread about a suggested change in the syntax, with a clear title, examples, and code. Then we can leave time for users to react to it. Do you want to take care of it? Regards, -- Nicolas Goaziou