From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Frayja Newsgroups: gmane.emacs.help Subject: Re: how to import other programming language support on windows emacs ? Date: Sun, 06 Jul 2008 09:30:27 +0200 (CEST) Message-ID: <20080706.093027.78729632.boudewijn@frayja.com> References: <665eb87a0807052218sb39df6fqe235112e8b4175a9@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215360748 5052 80.91.229.12 (6 Jul 2008 16:12:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 16:12:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: quiteblack@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 06 18:13:14 2008 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 1KFWrM-0008Pa-BV for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jul 2008 18:13:08 +0200 Original-Received: from localhost ([127.0.0.1]:50742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFWqV-0003Wl-9M for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jul 2008 12:12:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFOhf-0007FZ-5H for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 03:30:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFOhc-0007FN-QV for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 03:30:33 -0400 Original-Received: from [199.232.76.173] (port=44226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFOhc-0007FK-JR for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 03:30:32 -0400 Original-Received: from smtp-vbr4.xs4all.nl ([194.109.24.24]:1742) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFOhc-0001Bb-26 for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 03:30:32 -0400 Original-Received: from localhost (frayja.com [83.161.19.24]) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id m667USIk052724; Sun, 6 Jul 2008 09:30:29 +0200 (CEST) (envelope-from emacs@frayja.com) In-Reply-To: <665eb87a0807052218sb39df6fqe235112e8b4175a9@mail.gmail.com> X-Mailer: Mew version 6.1 on Emacs 21.4 / Mule 5.0 (SAKAKI) X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-Mailman-Approved-At: Sun, 06 Jul 2008 12:11:04 -0400 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:55272 Archived-At: Hello, If the actionscript-mode behaves like most other modes you should be able to use it when you insert the following code in your .emacs file: (require 'actionscript-mode) (add-to-list 'auto-mode-alist '("\\.as$" . actionscript-mode))) This will look for the actionscript-mode.el file in the known directories and assign .as files to the actionscript-mode. Assuming you are using XEmacs, then you can put the actionscript-mode.el file in the XEmacs/site-packages/lisp directory. I hope that this is what you're looking for. Regards, Frayja From: black Date: : Sun, 6 Jul 2008 13:18:21 +0800 > hi folks, > i'm using emacs under windows and it looks cool. however i need emacs > to recognize Flash ActionScript files(.as files) and support its > syntax highlighting. i downloaded a "actionscript-mode.el" from > another guy's website, however i still dont know how to install > this .el to make it work with emacs. any help pls ? > > -- > Never end on learning~