From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: [AUCTeX] Background face for block Date: Fri, 01 Oct 2010 15:36:15 +0200 Organization: Sebastien Vauban Message-ID: <87sk0qvxv4.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291873754 24640 80.91.229.12 (9 Dec 2010 05:49:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 05:49:14 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Dec 09 06:49:11 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQZNO-0004KM-JF for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 06:49:10 +0100 Original-Received: from localhost ([127.0.0.1]:47450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQXhq-0004u0-Bj for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:02:10 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Injection-Date: Fri, 1 Oct 2010 13:36:15 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="No+jx9xcG75RY5G9Zb0asg"; logging-data="7349"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX19t83xpQzWuJR9WdrZAjhfr" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Archive: encrypt Cancel-Lock: sha1:rjCCjhXM8MpkpxUZlZJKH7q4oYo= sha1:CNpCnDnxqHn9UZw695nF9HmEjro= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:181586 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:76758 Archived-At: Hi, Under AUCTeX, is it possible to fontify such a block with a special face? --8<---------------cut here---------------start------------->8--- \lstset{language=3DSQL} \begin{lstlisting} SELECT * FROM table WHERE condition \end{lstlisting} --8<---------------cut here---------------end--------------->8--- I don't ask for (multiple) major mode fontification -- nothing specific for SQL, in this case --, just for a way to make that block of code stand up in= my LaTeX buffer, by putting it in a face with a yellow background (for example= ). Best regards, Seb --=20 S=C3=A9bastien Vauban