From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Ken Mankoff <mankoff@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: FR: Fontify links even when in comments
Date: Tue, 24 Feb 2015 16:05:58 +0100 [thread overview]
Message-ID: <54EC9356.6020204@yahoo.fr> (raw)
In-Reply-To: <87lhjn4bqj.fsf@nicolasgoaziou.fr>
Le 24/02/2015 15:37, Nicolas Goaziou a écrit :
> Nicolas Richard <theonewiththeevillook@yahoo.fr> 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.
next prev parent reply other threads:[~2015-02-24 15:05 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
2015-02-24 14:37 ` Nicolas Goaziou
2015-02-24 15:05 ` Nicolas Richard [this message]
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=54EC9356.6020204@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).