all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brendan Miller <catphive@catphive.net>
To: help-gnu-emacs@gnu.org
Subject: asm mode doesn't recognize gas comments...
Date: Sat, 23 Jan 2010 02:09:12 -0800	[thread overview]
Message-ID: <ef38762f1001230209r25c354ceo1708880d9fd2105d@mail.gmail.com> (raw)

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




             reply	other threads:[~2010-01-23 10:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-23 10:09 Brendan Miller [this message]
2010-01-23 14:15 ` asm mode doesn't recognize gas comments Andreas Politz
2010-01-23 14:18   ` Andreas Politz
2010-01-23 18:22     ` Brendan Miller
     [not found] <mailman.57.1264241362.14305.help-gnu-emacs@gnu.org>
2010-01-26  3:14 ` rustom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef38762f1001230209r25c354ceo1708880d9fd2105d@mail.gmail.com \
    --to=catphive@catphive.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.