From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: newbie question: How do I make emacs load my own mode? Date: Mon, 5 Nov 2007 12:49:40 +0100 Message-ID: <7A2612A2-152F-4C36-8EAD-8DE915EDF835@Web.DE> References: <13583059.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194263413 6443 80.91.229.12 (5 Nov 2007 11:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2007 11:50:13 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: David E Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 05 12:50:15 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ip0T6-000703-Eq for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Nov 2007 12:50:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip0Sv-0001EQ-Tc for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Nov 2007 06:50:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ip0Sg-0001DN-JH for help-gnu-emacs@gnu.org; Mon, 05 Nov 2007 06:49:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ip0Sf-0001DB-3c for Help-gnu-emacs@gnu.org; Mon, 05 Nov 2007 06:49:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip0Se-0001D8-V5 for Help-gnu-emacs@gnu.org; Mon, 05 Nov 2007 06:49:44 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ip0Se-0000yq-SY for Help-gnu-emacs@gnu.org; Mon, 05 Nov 2007 06:49:45 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 1D64DAD9A79F; Mon, 5 Nov 2007 12:49:43 +0100 (CET) Original-Received: from [195.4.206.195] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1Ip0Sc-00077t-00; Mon, 05 Nov 2007 12:49:43 +0100 In-Reply-To: <13583059.post@talk.nabble.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/tloUZOPzj4MazDhnckqyhaARwdiLukMX2+fw+ 4ejg3TYPI03I4tUAdQhNe1oHGiSetu0nr8blp7hjn9TIHRL0Sa GS1S5HR97VUBRhHZasQg== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:49026 Archived-At: Am 05.11.2007 um 09:47 schrieb David E: > ;; Optisim mode > > ;(setq auto-mode-alist (cons '("\\.optisim$" . optisim-mode) > auto-mode-alist)) > ;(autoload 'optisim-mode "optisim-mode" "Optisim editing mode." t) It has beed switched off! Commented. When your ELisp is in load-path, you can also try to use provide and require. -- Greetings Pete The box said "Use Windows 95 or better," so I got a Macintosh.