emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Ken Mankoff <mankoff@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: FR: Fontify links even when in comments
Date: Tue, 24 Feb 2015 13:53:09 +0100	[thread overview]
Message-ID: <87twybeaiy.fsf@yahoo.fr> (raw)
In-Reply-To: <87pp8z4tij.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 24 Feb 2015 09:13:08 +0100")

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.

-- 
Nicolas Richard.

  reply	other threads:[~2015-02-24 12:52 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 [this message]
2015-02-24 14:10         ` Ken Mankoff
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=87twybeaiy.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mankoff@gmail.com \
    /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).