Commit 9fc3156d2ed3

Vincent Demeester <vincent.demeester@eileo.com>
2014-10-17 15:47:44
Add SQL mode :)
1 parent c1f0071
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -1291,6 +1291,21 @@
 
 *** TODO Go
 
+*** PROGRESS SQL
+
+    Emacs is really more than an editor. The SQL mode is quick cool to
+    used (and do not eat my memory like mysql-workbench for
+    example).
+
+    By default, Emacs does not automatically truncate long lines in
+    SQL(i) mode, let's change that.
+
+    #+BEGIN_SRC emacs-lisp
+      (add-hook 'sql-interactive-mode-hook
+                (lambda ()
+                  (toggle-truncate-lines t)))
+    #+END_SRC
+
 *** TODO Docker
 
 *** TODO fic-mode