From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: FR: Fontify links even when in comments Date: Tue, 24 Feb 2015 16:05:58 +0100 Message-ID: <54EC9356.6020204@yahoo.fr> References: <874mqc5spp.fsf@nicolasgoaziou.fr> <87pp8z4tij.fsf@nicolasgoaziou.fr> <87twybeaiy.fsf@yahoo.fr> <87lhjn4bqj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQH37-0003Tm-Bc for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 10:05:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQH31-0005RV-MJ for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 10:05:25 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:34553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQH31-0005RO-GE for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 10:05:19 -0500 In-Reply-To: <87lhjn4bqj.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Mankoff , Org-mode Le 24/02/2015 15:37, Nicolas Goaziou a écrit : > Nicolas Richard 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.