From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marco Grazzi Newsgroups: gmane.emacs.help Subject: Re: emacs latex mode, color highlighting only Date: Thu, 22 Sep 2011 10:09:58 +0200 Organization: Scuola Superiore Sant'Anna Message-ID: <20110922100958.0b969605.marco.grazzi@sssup.it> References: <20110920132203.5a5baacd.marco.grazzi@sssup.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316679015 32738 80.91.229.12 (22 Sep 2011 08:10:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2011 08:10:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 22 10:10:10 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R6eMD-0006so-Ui for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 10:10:10 +0200 Original-Received: from localhost ([::1]:32843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6eMD-0005eR-6M for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 04:10:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6eM6-0005dC-MA for help-gnu-emacs@gnu.org; Thu, 22 Sep 2011 04:10:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6eM4-000821-UY for help-gnu-emacs@gnu.org; Thu, 22 Sep 2011 04:10:02 -0400 Original-Received: from ms01.sssup.it ([193.205.80.99]:37389 helo=sssup.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6eM4-00081j-JC for help-gnu-emacs@gnu.org; Thu, 22 Sep 2011 04:10:00 -0400 Original-Received: from [10.1.62.136] (HELO shuttle) by sssup.it (CommuniGate Pro SMTP 5.3.14) with ESMTPS id 71862483 for help-gnu-emacs@gnu.org; Thu, 22 Sep 2011 10:09:58 +0200 In-Reply-To: X-Mailer: Sylpheed 2.6.0 (GTK+ 2.24.4; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 193.205.80.99 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82289 Archived-At: Many thanks. Are there some lines of code that do the same and which I can add to .emacs for permanent configuration? marco On Wed, 21 Sep 2011 04:55:19 -0400 Eli Zaretskii wrote: > > Date: Tue, 20 Sep 2011 13:22:03 +0200 > > From: Marco Grazzi > > > > On Xemacs, it was possible to get color only highlighting (no font), > > for instance with the mouse > > Options -> Syntax highlighting -> (selecting color only, and not font) > > > > So far I could only enable/disable the fonts&color highlighting jointly, > > with M-x font-lock-mode or global-font-lock-mode > > > > I would really like to have color only highlighting in Latex (for > > rectangular pasting it is pretty useful not have the characters > > changing size). > > > > Is it possible? Also through customization of the .emacs would much useful > > Yes, it is possible, but only through face customization. > > Type "M-x list-faces-display RET". Emacs will show the faces it knows > about. (If you want to customize faces used by a certain mode, be > sure to visit at least one file that triggers that mode.) Each face > has a clickable link that will show a customization buffer, where you > can reset the font to the default one and leave the rest. Then save > the customizations for future sessions and restart Emacs. > -- Marco Grazzi ----- LEM - Scuola Superiore Sant'Anna Piazza Martiri della Liberta', 33 56127 Pisa, Italy Tel. +39-050-883341 Fax +39-050-883344 Web site: http://www.cafed.sssup.it/~marco/