Jens Schmidt <jschmidt4...@vodafonemail.de> writes: >> When "TAG1-TAG2" is an actual tag name with dash, we may allow escaping. > > But I'd like to clarify that. From the Org syntax > > https://orgmode.org/worg/org-syntax.html#Headings > > I understood that tag names cannot contain minus characters, > and `org-tag-re' does not match any, either. So we are talking > about property names only, right?
You are right. > Then the question is what quoting scheme to use for property > names. The previous one used before my commit f689eb4 > > (A) "\\-" => "-" > > never has been documented and never has been working properly, > since the *matching* of these was done on *prop* names, but > the *unescaping* on *tag* names. So we are basically free to > come up with something new. > > Some obvious choice would be a simpler single backslash > > (B) "\-" => "-" I prefer (B). And we will need to allow escaping of the "\" itself. Like \\. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>