From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Jeffrey Miesen Newsgroups: gmane.emacs.help Subject: How do you customize a Major Mode? Date: Tue, 13 Jun 2006 23:22:03 -0700 Message-ID: <200606132322.03504.bobby_miesen@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150266108 2168 80.91.229.2 (14 Jun 2006 06:21:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Jun 2006 06:21:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 14 08:21:46 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FqOl7-0002Ja-LD for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jun 2006 08:21:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FqOl6-0005AI-FE for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jun 2006 02:21:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FqOkt-00059q-BC for help-gnu-emacs@gnu.org; Wed, 14 Jun 2006 02:21:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FqOkr-00059e-M5 for help-gnu-emacs@gnu.org; Wed, 14 Jun 2006 02:21:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FqOkr-00059b-Hj for help-gnu-emacs@gnu.org; Wed, 14 Jun 2006 02:21:29 -0400 Original-Received: from [68.142.206.234] (helo=smtp101.plus.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1FqOty-0007yQ-Dn for help-gnu-emacs@gnu.org; Wed, 14 Jun 2006 02:30:54 -0400 Original-Received: (qmail 25708 invoked from network); 14 Jun 2006 06:21:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=roxlX8u78WRF/ixl0QdNGPjDq3UqWLAt0M4JUMkWMqTtvM2MVystUpKpoRzTlh0UlYk863GALHAY89B2qUE9FGeukfCxAXpyYpAjPjgCLEAfGs+uoOGoyNrEIo8vXU1uJYX0O/kK4tRN9uGt/PAJC6Sg9LVD/eXG6+9AJl1h3Y4= ; Original-Received: from unknown (HELO ?192.168.2.182?) (bobby?miesen@71.97.246.105 with plain) by smtp101.plus.mail.mud.yahoo.com with SMTP; 14 Jun 2006 06:21:27 -0000 Original-To: "help-gnu-emacs, " User-Agent: KMail/1.9.1 Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.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@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35448 Archived-At: Hi all. I would like to customize how a couple of major mode work (such as CSS mode and HTML mode (NOT "HTML helper" mode). How would one go about doing such a thing? Also, how would one set the default major mode for a certain class of files? Thanks in advance. -- In Him