Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-24 Thread Timothy
As you have said you'll start a new thread for your revised proposal, I'll mark this as closed on updates.orgmode.org via the X-Woof-Patch header. Juan Manuel Macías writes: > Ok, I agree. Next week I will start a new thread for submit this new > proposal. > > Best regards, > > Juan Manuel

Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-22 Thread Juan Manuel Macías
Hi Nicolas, Thank you very much for your suggestions. Nicolas Goaziou writes: > 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

Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-22 Thread Nicolas Goaziou
Hello, Juan Manuel Macías 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. Otherwis

Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-21 Thread Juan Manuel Macías
Hello again. I forgot to answer this question on your previous message, sorry... Nicolas Goaziou writes: > That being said, we can discuss syntax that is not depending upon some > variable. For example macro names are written with a limited set of > characters (alphanumeric, dash, underscore). W

Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-20 Thread Juan Manuel Macías
Hi Nicolas Nicolas Goaziou writes: > Even though Org syntax partly is, I don't think parameterizable syntax > is a way to go. I'd rather have less variables controlling it. (I'm > looking at you `org-list-allow-alphabetical', and > `org-plain-list-ordered-item-terminator'.) Thanks for your expla

Re: [PATCH] Startup option to separate macros arguments with an alternative string

2021-04-19 Thread Nicolas Goaziou
Hello, Juan Manuel Macías writes: > I would like to propose this (possible) patch. > > With `#+STARTUP: macro-arg-sep-other' the macros arguments can be > separated by a string other than comma, whose value is defined in > `org-macro-arg-sep-other' (by default it is "'@"). Even though Org synta

[PATCH] Startup option to separate macros arguments with an alternative string

2021-02-18 Thread Juan Manuel Macías
Hi, I would like to propose this (possible) patch. With `#+STARTUP: macro-arg-sep-other' the macros arguments can be separated by a string other than comma, whose value is defined in `org-macro-arg-sep-other' (by default it is "'@"). Rationale for this patch: There are many contexts where the co