From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Breton Newsgroups: gmane.emacs.help Subject: Re: Using a Custom Emacs mode Date: 08 Aug 2005 17:39:58 -0400 Organization: Dis Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123543705 27380 80.91.229.2 (8 Aug 2005 23:28:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 23:28:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 01:28:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2H1u-0007VY-JO for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2005 01:27:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2H4w-0007OG-Le for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 19:30:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.sources,gnu.emacs.help Original-Followup-To: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 04-143.158.popsite.net Original-X-Trace: reader2.panix.com 1123543421 5209 66.19.202.143 (8 Aug 2005 23:23:41 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 8 Aug 2005 23:23:41 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 Original-Xref: shelby.stanford.edu gnu.emacs.sources:11133 gnu.emacs.help:133052 Original-To: help-gnu-emacs@gnu.org 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:28571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28571 [F'ups to gnu.emacs.help] Zach Flynn writes: > Ok, so I have an emacs mode that I'd like to use but I don't know how to > actually use it in emacs. For some strange reason, I can't find that > explained anywhere. Can someone tell me how to use a mode that's > written for emacs? It's not one of those ones that emacs comes with. > > -Zach In the buffer you want to use it in, you can call it like any other emacs command. Like: M-x zachs-mode You should also look at the Elisp docs under "Modes". Especially read about the variable auto-mode-alist. -- Tom Breton, the calm-eyed visionary