From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: How to add comments in a plain list Date: Fri, 25 Sep 2009 11:10:00 +0100 Message-ID: <87my4j49on.wl%ucecesf@ucl.ac.uk> References: <87r5tzhawh.fsf@gollum.intra.norang.ca> <87my4n9qfp.wl%ucecesf@ucl.ac.uk> <87my4ngn0i.fsf@gollum.intra.norang.ca> <87d45j9kvj.wl%ucecesf@ucl.ac.uk> <877hvrgjdq.fsf@gollum.intra.norang.ca> <874oqv9dsi.wl%ucecesf@ucl.ac.uk> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr7ko-0007mE-NB for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 06:10:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr7ki-0007kF-Mg for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 06:10:17 -0400 Received: from [199.232.76.173] (port=35631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr7ki-0007kC-FQ for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 06:10:12 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:39107) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mr7ki-0007FY-2G for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 06:10:12 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org At Thu, 24 Sep 2009 10:27:57 +0100, Carsten Dominik wrote: > On Sep 22, 2009, at 7:30 PM, Ren=C3=A9 wrote: > > Unfortunately, in this case Emacs doesn't fontify those lines as if > > they were comments. >=20 > It does now. >=20 > - Carsten Carsten, thanks for this. It works perfectly. But this leads to me a more general question for all of you emacs experts: comments in my org files typically consist of /less important/ text and so I like to de-emphasise the text by changing the face used (to a light gray, in my case, compared with the default of firebrick). However, for programming, I prefer the default. Can somebody suggest how I can have a different font-lock-comment-face for org-mode files without making a global change? Should I put something in the org-mode hook? Or even on a per-file basis? I've tried using Emacs local variables but haven't found the right incantation... :( Any suggestions more than welcome! Thanks, eric