From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paminu Newsgroups: gmane.emacs.help Subject: Re: asm mode for emacs? Date: Mon, 21 Nov 2005 23:27:32 +0100 Organization: UNI-C Message-ID: References: <87mzjxwvam.fsf@thalassa.informatimago.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 1132612983 26221 80.91.229.2 (21 Nov 2005 22:43:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2005 22:43:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 23:42:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EeKLV-0000In-J5 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 23:41:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EeKLU-0007OF-Lb for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 17:41:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news0.de.colt.net!newsfeed.cw.net!news-FFM2.ecrc.de!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1132612075 13687 130.225.245.182 (21 Nov 2005 22:27:55 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Mon, 21 Nov 2005 22:27:55 +0000 (UTC) User-Agent: KNode/0.9.0 Original-Xref: shelby.stanford.edu gnu.emacs.help:135633 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:31236 Archived-At: Pascal Bourguignon wrote: > Paminu writes: > >> I am starting to write some .asm files in emacs and was wondering if >> there exist an asm mode for emacs. I have tried to google one, but I only >> find other people asking the same question without any answers. Hope >> somone can help! > > Why, there's an asm-mode delivered with emacs. > > Perhaps the your auto-mode-alist doesn't map '.asm' to asm-mode? By > default on unix, asm files are named with: '.s'. > Or you can prepend a first line: ;; -*- mode: asm -*- > > For some reason it uses NASM mode instead and it only makes labels in colors everything else just acts as in normal textmode.