How to make Emacs sql-mode recognize MySQL #-style comments?
Posted
by Ken
on Stack Overflow
See other posts from Stack Overflow
or by Ken
Published on 2009-01-27T19:21:08Z
Indexed on
2010/04/04
12:43 UTC
Read the original article
Hit count: 348
I'm reading a bunch of MySQL files that use # (to end-of-line) comments, but my sql-mode doesn't support them. I found the syntax-table part of sql.el that defines /**/ and -- comments, but according to this, Emacs syntax tables support only 2 comment styles.
Is there a way to add support for # comments in sql.el easily?
© Stack Overflow or respective owner