Le 24/02/2015 15:37, Nicolas Goaziou a écrit : > Nicolas Richard <theonewiththeevill...@yahoo.fr> writes: > >> In AUCTeX, it is mainly about filling and indentation, but in Org it >> could mean "let the usual (interactive) commands pretend we're not in a >> comment". If Org is to adopt such a variable, it could fontify >> according to what the interactive commands will do. > > This is orthogonal to the current problem. `org-open-at-point' already > pretends it is not in a comment, but the OP is asking for special > fontification.
I was suggesting to put these two worms in the same can, which could be opened by turning org-syntactic-comments-mode on, where all the hideous special-casing could be done instead of the org core. >> Would that be acceptable ? It could be made a minor mode. > > I don't know what are "the usual (interactive) commands", so I cannot > tell. Tbh, I'm not sure what the others are either. Maybe links are the only syntactic elements which make sense inside comments, so there isn't anything else beyond org-open-at-point. If that is the case, I'm just making noise for no reason -- sorry about that. Nicolas.