From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David O'Toole" Subject: Re: Fontification of blocks Date: Fri, 10 Dec 2010 06:12:20 -0500 Message-ID: References: <80aakevw4w.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=34525 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR0to-0004cc-5L for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 06:12:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PR0tj-0000G9-6C for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 06:12:27 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:41522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PR0tj-0000Fs-1C for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 06:12:23 -0500 Received: by ywj3 with SMTP id 3so2290763ywj.0 for ; Fri, 10 Dec 2010 03:12:22 -0800 (PST) In-Reply-To: <80aakevw4w.fsf@missioncriticalit.com> 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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org Hi Sebastien, I give a definite Vote++ to this feature! 2010/12/10 S=E9bastien Vauban : > Hi, > > In order to make the blocks stand out more clearly in the mix of prose, c= ode > and table results of many Babel Org files, I've added 2 new faces: > > - org-block-begin-line > - org-block-end-line > > These apply to the line just before and after the block's body: > > #+srcname: top-10-dossiers-with-many-prestations > #+begin_src sql =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 <<< org-block-begin-line > SELECT TOP 10 prsPfiID_fk, COUNT(*) AS '# Prestations' > FROM prestations > GROUP BY prsPfiID_fk > ORDER BY COUNT(*) DESC > #+end_src =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 <<< org-block-end-line > > Not only for =3Dsrc=3D, but also for =3Dverse=3D, =3Dquote=3D, etc. > > This patch takes care of the correct fontification, both in native style,= and > in the "no native fontification" style: > > > > Best regards, > =A0Seb > > -- > S=E9bastien Vauban > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > >