From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steve Duran Newsgroups: gmane.emacs.help Subject: Re: question about emacs coloration Date: Wed, 21 Aug 2002 08:24:45 -0600 Organization: New Mexico Mutual Casualty Company Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D63A2AD.1EA4D43D@nmmcc.com> References: <3D625EF5.13658B09@nmmcc.com> <15715.6683.357930.223359@henrietta-szold.lerner.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1029939857 32667 127.0.0.1 (21 Aug 2002 14:24:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2002 14:24:17 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hWP9-0008Ul-00 for ; Wed, 21 Aug 2002 16:24:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hWQ2-0001xw-00; Wed, 21 Aug 2002 10:25:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hWPj-0001ud-00 for help-gnu-emacs@gnu.org; Wed, 21 Aug 2002 10:24:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hWPh-0001uR-00 for help-gnu-emacs@gnu.org; Wed, 21 Aug 2002 10:24:50 -0400 Original-Received: from neptune.nmmcc.com ([198.99.125.100]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hWPg-0001uK-00 for help-gnu-emacs@gnu.org; Wed, 21 Aug 2002 10:24:48 -0400 Original-Received: from dopey.nmmcc.com (dopey [192.168.4.29]) by neptune.nmmcc.com (8.11.6+Sun/8.11.2) with ESMTP id g7LEOkM16593 for ; Wed, 21 Aug 2002 08:24:46 -0600 (MDT) Original-Received: from nmmcc.com (saturn [192.168.4.240]) by dopey.nmmcc.com (8.8.8+Sun/8.8.8) with ESMTP id IAA11367 for ; Wed, 21 Aug 2002 08:24:45 -0600 (MDT) X-Mailer: Mozilla 4.6 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:847 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:847 "Reuven M. Lerner" wrote: > >>>>> You wrote: > > Steve> How can I get Emacs to colorize the text of xml files, the > Steve> same way it does for java and perl? > > Emacs colorizes buffers via font-lock-mode, which is a minor mode. To > turn on font-lock-mode in a particular buffer, you type > > M-x font-lock-mode RET Where do I type this at? > (global-font-lock-mode 1) I set this in the .emacs file, and selected the menu option "Byte-Compile and Load" but it had no effect. Does Emacs require a data file that tells it how to colorize xml files? This is GNU Emacs 20.7.1 Thanks, Steve