[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Special SQL mode?
From: |
Doug Lewan |
Subject: |
Special SQL mode? |
Date: |
Tue, 20 Nov 2012 21:29:09 +0000 |
I work with a non-standard variant of SQL. (Don't ask.) I have, accordingly, a
non-standard variant of SQL mode, defined via `(define-derived-mode pp-sql-mode
sql-mode "PP sql" ...)'.
The stock SQL mode entry has been replaced in auto-mode-alist by `("\\.sql\\'"
. pp-sql-mode)'. There is no other even remotely SQL-ish entry in
auto-mode-alist. The variable magic-mode-alist is NIL, and there are no local
file variables. Finally, there is no '#!'.
Nonetheless, my *.sql files automatically get SQL[ANSI] mode.
If the info about Choosing Major Modes is right, then I should not (if I'm
smart enough to understand it). Apparently I'm not. Does anyone have a hint
about what I might have missed?
Thanks.
,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224
There is no national science just as there is no national multiplication table;
what is national is no longer science. - Anton Chekov
- Special SQL mode?,
Doug Lewan <=