From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: james Newsgroups: gmane.emacs.help Subject: Re: how to import other programming language support on windows emacs ? Date: Wed, 9 Jul 2008 07:44:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5547444b-bf06-42db-8f21-d8750f7e3fc8@c58g2000hsc.googlegroups.com> References: <665eb87a0807052218sb39df6fqe235112e8b4175a9@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215618058 20267 80.91.229.12 (9 Jul 2008 15:40:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2008 15:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 09 17:41:45 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 1KGbnP-00059q-L6 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 17:41:31 +0200 Original-Received: from localhost ([127.0.0.1]:55812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGbmY-0004Q2-0n for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 11:40:38 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!postnews.google.com!c58g2000hsc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 131.146.149.88 Original-X-Trace: posting.google.com 1215614674 12057 127.0.0.1 (9 Jul 2008 14:44:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 9 Jul 2008 14:44:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c58g2000hsc.googlegroups.com; posting-host=131.146.149.88; posting-account=AV4RFwoAAACWWwc6_nSHwKjd2sVlDEwQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159995 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:55346 Archived-At: On Jul 7, 9:20=A0am, black wrote: > thanks. i tried ur method and > C:\Documents and Settings\Black Qin\Application Data\.emacs.d\auto-save-l= ist > is exaclty what i got from C-x C-f ~/.emacs. > > anyone who's experienced with emacs and windows could figure out how can = i > import my actionscript.el pls ? Do you have something loaded which does some sort of autocomplete at the find prompt (unlikely, I suppose)? If so, or if you're not sure, you can get around it by calling the function non-interactively like so: M-x eval-expression At the "Eval: " prompt enter: (find-file "~/.emacs") including the parentheses Like someone else mentioned, you can also try _emacs as a workaround that I've never found necessary under windows XP If you get the .emacs file open, first find a place to save the elisp file, perhaps ~/elisp M-x make-directory, then ~/elisp Copy the file to C:\Documents and Settings\Black Qin\Application Data \elisp using windows explorer Then you can follow rene's advice and to the .emacs file add: (add-to-list 'load-path "~/elisp") (require 'actionscript-mode) (setq auto-mode-alist (cons '("\\.as$" . actionscript-mode.el) auto- mode-alist)) Then M-x eval-buffer to try the settings out