From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brendan Miller Newsgroups: gmane.emacs.help Subject: asm mode doesn't recognize gas comments... Date: Sat, 23 Jan 2010 02:09:12 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1264241407 17987 80.91.229.12 (23 Jan 2010 10:10:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 10:10:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 23 11:10:00 2010 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 1NYcwJ-00029i-0z for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jan 2010 11:09:59 +0100 Original-Received: from localhost ([127.0.0.1]:46035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYcwJ-0001st-SH for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jan 2010 05:09:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYcvg-0001sl-Ne for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 05:09:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYcva-0001r8-EZ for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 05:09:18 -0500 Original-Received: from [199.232.76.173] (port=48578 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYcva-0001qs-2v for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 05:09:14 -0500 Original-Received: from mail-px0-f192.google.com ([209.85.216.192]:37091) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NYcvZ-0005ON-OZ for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 05:09:13 -0500 Original-Received: by pxi30 with SMTP id 30so1297787pxi.14 for ; Sat, 23 Jan 2010 02:09:12 -0800 (PST) Original-Received: by 10.143.84.7 with SMTP id m7mr2744069wfl.179.1264241352396; Sat, 23 Jan 2010 02:09:12 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:71394 Archived-At: By default it seems that asm mode recognizes MASM style comments (starting with ;), but not gas style comments (starting with #). A little weird for a GNU program running on Linux... Anyway, according to asm modes docs: http://www.phys.ufl.edu/docs/emacs/emacs_299.html asm-comment-char can be set. So I added this to my .emacs: (set 'asm-comment-char "#") This makes ; stop highlighting like a comment, but doesn't make # do anything. Am I doing anything obviously wrong? Is there some mode file somewhere that actually handles the GNU assembler syntax? Brendan