Re: Is there an Emacs SQL mode that is compatible with Informix SQL?
Posted in 1998
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Some time ago Harry Bochner post a 4gl-mode form emacs. It's easy to customize it for SQL. Hope this help Mario R. Canto mcanto@intec.unl.edu.ar http://www.intec.unl.edu.ar/~mcanto ----------------4lg-mode.el---------------- ;; sketchy 4gl-mode for gnu emacs ;; by Harry Bochner, copyright 1991 ;; This code may be distributed freely, as long as this notice is not removed. (defvar 4gl-mode-map () "Keymap used in 4GL mode.") (if 4gl-mode-map () (setq 4gl-mode-map (make-sparse-keymap)) (define-key 4gl-mode-map "\\177" 'backward-delete-char-untabify) (define-key 4gl-mode-map "\\t" '4gl-tab) (define-key 4gl-mode-map "\\C-c\\t" '4gl-unindent) (define-key 4gl-mode-map "\\ej" '4gl-close-stat) ) (defvar 4gl-mode-abbrev-table nil "Abbrev table in use in 4gl-mode buffers.") (define-abbrev-table '4gl-mode-abbrev-table '( ("repo" "report" nil 0) ("sele" "select" nil 0) ("func" "function" nil 0) ("def" "define" nil 0) )) Thomas Tatum wrote: > > Has anyone ever written an SQL-mode for emacs that is compatible with > Informix SQL? > > Is there interest in one? (other than myself?) > > The sql-mode that exist now with emacs seems to be Oracle-friendly. > > -- > Thomas Tatum > thomas@rtp.koz.com > 919-489-5662 x2129 > 919-602-6521