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 13:53:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:
> They cannot contain link, nor anything else. However, the feature you
> describe above was deemed useful enough that `org-open-at-point'
> sloppily opens anything looking like a link (or a timestamp) within
> a comment.
>
> However, there is, per syntax, no link there, and I don't think it
> should be fontified.

AUCTeX has a variable named `LaTeX-syntactic-comments' :
,----
| User option: If non-nil comments will be handled according to LaTeX
|                syntax.
`----
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.

Would that be acceptable ? It could be made a minor mode.

-- 
Nicolas Richard.



reply via email to

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