all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* asm mode doesn't recognize gas comments...
@ 2010-01-23 10:09 Brendan Miller
  2010-01-23 14:15 ` Andreas Politz
  0 siblings, 1 reply; 5+ messages in thread
From: Brendan Miller @ 2010-01-23 10:09 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.57.1264241362.14305.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-01-26  3:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23 10:09 asm mode doesn't recognize gas comments Brendan Miller
2010-01-23 14:15 ` 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

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.