emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] FR: Fontify links even when in comments


From: Nicolas Richard
Subject: Re: [O] FR: Fontify links even when in comments
Date: Tue, 24 Feb 2015 16:05:58 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Le 24/02/2015 15:37, Nicolas Goaziou a écrit :
> Nicolas Richard <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]