From: Ken Mankoff <mankoff@gmail.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: FR: Fontify links even when in comments
Date: Tue, 24 Feb 2015 09:10:02 -0500 [thread overview]
Message-ID: <m2bnkjqu2t.fsf@gmail.com> (raw)
In-Reply-To: <87twybeaiy.fsf@yahoo.fr>
On 2015-02-24 at 07:53, Nicolas Richard
<theonewiththeevillook@yahoo.fr> wrote:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> 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.
It would certainly be acceptable to me...
-k.
next prev parent reply other threads:[~2015-02-24 14:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-23 18:48 FR: Fontify links even when in comments Ken Mankoff
2015-02-23 19:32 ` Nicolas Goaziou
2015-02-23 19:46 ` Ken Mankoff
2015-02-24 8:13 ` Nicolas Goaziou
2015-02-24 12:53 ` Nicolas Richard
2015-02-24 14:10 ` Ken Mankoff [this message]
2015-02-24 14:37 ` Nicolas Goaziou
2015-02-24 15:05 ` Nicolas Richard
2015-02-24 19:57 ` Samuel Wales
2015-02-24 19:57 ` Samuel Wales
2015-02-24 20:02 ` Nicolas Goaziou
2015-02-24 20:26 ` Samuel Wales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bnkjqu2t.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=theonewiththeevillook@yahoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).