[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.
- [O] FR: Fontify links even when in comments, Ken Mankoff, 2015/02/23
- Re: [O] FR: Fontify links even when in comments, Nicolas Goaziou, 2015/02/23
- Re: [O] FR: Fontify links even when in comments, Ken Mankoff, 2015/02/23
- Re: [O] FR: Fontify links even when in comments, Nicolas Goaziou, 2015/02/24
- Re: [O] FR: Fontify links even when in comments,
Nicolas Richard <=
- Re: [O] FR: Fontify links even when in comments, Ken Mankoff, 2015/02/24
- Re: [O] FR: Fontify links even when in comments, Nicolas Goaziou, 2015/02/24
- Re: [O] FR: Fontify links even when in comments, Nicolas Richard, 2015/02/24
- Re: [O] FR: Fontify links even when in comments, Samuel Wales, 2015/02/24
- Re: [O] FR: Fontify links even when in comments, Samuel Wales, 2015/02/24
- Re: [O] FR: Fontify links even when in comments, Nicolas Goaziou, 2015/02/24
- Re: [O] FR: Fontify links even when in comments, Samuel Wales, 2015/02/24