From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Gian Uberto Lauri" Newsgroups: gmane.emacs.help Subject: Re: Is there a way to make emacs display different functions in different colors? Date: Wed, 17 Sep 2014 14:15:21 +0200 Message-ID: <21529.31577.367248.530464@mail.eng.it> References: Reply-To: Gian Uberto Lauri NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410956176 9815 80.91.229.3 (17 Sep 2014 12:16:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2014 12:16:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: yoyobeermam@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 17 14:16:09 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUE9Z-0005j0-1t for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 14:16:09 +0200 Original-Received: from localhost ([::1]:44756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUE9Y-0008U1-0N for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 08:16:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUE9H-0008Tt-Sr for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 08:15:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUE9B-0004lj-OW for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 08:15:51 -0400 Original-Received: from relay.eng.it ([91.109.60.38]:39968 helo=mail.eng.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUE9B-0004ko-EO for help-gnu-emacs@gnu.org; Wed, 17 Sep 2014 08:15:45 -0400 Original-Received: from bms1.eng.it (unknown [192.168.10.42]) by deliver.antivirus (Postfix) with ESMTP id 932B540006; Wed, 17 Sep 2014 14:15:29 +0200 (CEST) X-AuditID: c0a80a2a-f79406d000000d05-44-54197b61f3d3 Original-Received: from mail.eng.it (Unknown_Domain [192.168.10.31]) by bms1.eng.it (Symantec Messaging Gateway) with SMTP id 02.A9.03333.16B79145; Wed, 17 Sep 2014 14:15:29 +0200 (CEST) Original-Received: from quigley (unknown [172.27.7.115]) by mail.eng.it (Postfix) with ESMTP id D665B40006; Wed, 17 Sep 2014 14:15:28 +0200 (CEST) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 8.1.1 under 24.3.92.1 (x86_64-unknown-linux-gnu) X-attribution: CC X-echelon-food: USCODE class struggle Customs and Border Protection Transportation security Abu Ghraib SERT utopia NRC HIC GRU BATF S.A.I.C. CUD Power outage SEAL Team 6 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsVyYAWXvG5itWSIwZO3yhY7b75hs1j1/QKj A5PHzll32T3appkFMEVx2aSk5mSWpRbp2yVwZWyYvp6t4BNHxYKLu1gbGLexdTFyckgImEi8 OdXPDmGLSVy4tx4ozsUhJLCZUeJ92xZ2CKeXUeLKzU6wKl4BQYmTM5+wgNjMAjoSO7feYYOw tSWWLXzNDFFjLHF/6mcmEJtFQFXi4u+5YLaIgKTE9AvfmCDqpSSWb9wHNkdYIEZi7eX1rCA2 H1D81/N9YDM5BVwkDvzeDFYjJOAssWjPDqirbSXa109jgojrSDx+thIsziagKdH5HOIGCaA7 Xx6bxgjygITAekaJzdt2MU5gFJmF5IdZSH6YheSHBYzMqxi5k3KLDfVS89L1Mks2MUKCXGsH 48FpqocYpTlYlMR553394i0kkJ5YkpqdmlqQWhRfVJqTWnyIkYmDU6qB8eFlsYj/X1iZov6E zzTm/8z8/VC95wHZymyt1Qd+rOKO5shXDMw983Z1pAV77ONr64SundE/UPr3WXblxj0b+Kqf mP4I12p8YZ9l3PYhJp1b/N3un29+t2XHLfr4/cnnnT5Ler0nJDplPpmV7nOPrT1s0/ZV2uJm fC/avOcFJL0zPhfykP/nfiWW4oxEQy3mouJEAAWkANNAAgAA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.109.60.38 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:99979 Archived-At: yoyobeermam@gmail.com writes: > For example, in Monodevelop, when you make a comment in your script = like this >=20 > //This text is only a filler >=20 > it will turn it green. Try putting (global-font-lock-mode t) (setq font-lock-maximum-decoration t) in the .emacs file in your home directory (create a new .emacs file if it does not exist). If it does what you need type ESC-x and list-faces-display at the prompt. The faces whose name starts by font-lock can be customized for color an weight (move the cursor on the face and hit return). For a color list, type ESC-x and list-colors-display at the prompt. I hope this helps. --=20 /\ =5F=5F=5F Ubuntu: anci= ent /=5F=5F=5F/\=5F|=5F|\=5F|=5F=5F|=5F=5F=5FGian Uberto Lauri=5F=5F=5F=5F=5F= African word //--\| | \| | Integralista GNUslamico meaning "I can \/ coltivatore diretto di software not install gi=E0 sistemista a tempo (altrui) perso... Debian" Warning: gnome-config-daemon considered more dangerous than GOTO