Commits

Taylor Venable committed 4550e72

Too many changes to document them all

Comments (0)

Files changed (1)

    (sml-mode       "Standard ML"             "\\.sml$")
    (markdown-mode  "Markdown"                "\\.text$")
    (wikipedia-mode "Wikipedia"               "\\.wiki$")
-   (js2-mode       "JavaScript"              "\\.js$")
+   (js3-mode       "JavaScript"              "\\.js$")
    (yaml-mode      "YAML"                    "\\.ya?ml$")
    ((logo-mode     "logo")    "Logo"         "\\.logo$")
    ((org-mode      "org")     "Org"          "\\.org$")
 
 (defvar tcv-every-mode '(ada-mode awk-mode c-mode c++-mode
   clojure-mode cperl-mode css-mode emacs-lisp-mode erlang-mode
-  groovy-mode java-mode js2-mode haskell-mode html-mode lisp-mode
-  lua-mode perl-mode php-mode prolog-mode python-mode ruby-mode
-  scala-mode scheme-mode sgml-mode sh-mode shell-script-mode
-  sml-mode sql-mode tcl-mode tuareg-mode xml-mode)
+  groovy-mode java-mode js-mode js2-mode js3-mode haskell-mode
+  html-mode lisp-mode lua-mode perl-mode php-mode prolog-mode
+  python-mode ruby-mode scala-mode scheme-mode sgml-mode sh-mode
+  shell-script-mode sml-mode sql-mode tcl-mode tuareg-mode
+  xml-mode)
   "Every single mode.")
 
 (defvar tcv-adjust-colors nil)
 
 ; (setq-default show-trailing-whitespace t)    ; highlight trailing whitespace
 (delete-selection-mode t)              ; delete text in marked region
-(global-auto-revert-mode 1)            ; enable auto-revert-mode globally
+;(global-auto-revert-mode 1)            ; enable auto-revert-mode globally
 (global-font-lock-mode t)              ; enable syntax highlighting
 (mouse-wheel-mode t)                   ; allow scrolling with mouse wheel
 (set-language-environment "UTF-8")     ; use UTF-8 for default input
 		      (arglist-close
 		       c-lineup-close-paren
 		       c-lineup-arglist)
+
+		      ;; (brace-list-intro . +)
+		      ;; (brace-list-entry . /)
 		      )
 		     ))
 
 
 (defun tcv/highlight-sql-keywords ()
   (sql-product-font-lock nil nil))
+(defun tcv/no-fancy-indent ()
+  (set (make-local-variable 'indent-line-function) #'insert-tab))
+(defun tcv/sql-indent-settings ()
+  (tcv/no-fancy-indent)
+  (setq tab-width 2))
 (add-hook 'sql-mode-hook #'tcv/highlight-sql-keywords)
+;(add-hook 'sql-mode-hook #'tcv/sql-indent-settings)
 
 ; (setq org-export-html-style "<link rel='stylesheet' type='text/css' href='http://metasyntax.net/unifraktur/style.css'/>\n<link rel='stylesheet' type='text/css' href='org-mode.css'/>")
 ; (setq org-export-html-postamble "<p class='tagline'>by <span style='vertical-align: middle' id='name'>Taylor Chriſtopher Venable</span> (λx.xx)(λx.xx)</p>")
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
+ '(align-to-tab-stop nil)
  '(bmkp-last-as-first-bookmark-file "~/.emacs.d/bookmarks")
  '(compilation-ask-about-save nil)
  '(compilation-scroll-output (quote first-error))
  '(custom-safe-themes
    (quote
     ("9bd4b7c9a6f047aa4d08a1eef69e1265fbef111bf1e601367dbaabb672d90bca" "06f5145c01ec774a0abb49eeffa3980743ce2f997112b537effeb188b7c51caf" "628278136f88aa1a151bb2d6c8a86bf2b7631fbea5f0f76cba2a0079cd910f7d" default)))
+ '(ede-project-directories (quote ("/home/tvenable/prj/master/webchart")))
  '(ediff-window-setup-function (quote ediff-setup-windows-plain))
  '(find-file-suppress-same-file-warnings t)
+ '(js3-auto-indent-p t)
+ '(js3-global-externs (quote ("jQuery" "console")))
+ '(js3-indent-dots t)
+ '(js3-strict-missing-semi-warning t)
  '(org-list-description-max-indent 0)
  '(replace-lax-whitespace t)
  '(safe-local-variable-values
    (quote
-    ((font-lock-maximum-decoration
+    ((ack-and-a-half-arguments "--ignore-dir=doc" "--ignore-dir=webchartdb" "--ignore-dir=wc_test/wcbaseline" "--ignore-dir=wc_test/statsdir" "--ignore-dir=wc_test/testdir")
+     (font-lock-maximum-decoration
+      (quote
+       ((c-mode . 1))))
+     (ack-and-a-half-executable . "ack")
+     (font-lock-maximum-decoration
       (quote
        ((c-mode . 2))))
-     (comment-fill-column . 120)
-     (ack-and-a-half-executable . "~/perl5/perlbrew/perls/perl-5.16.2/bin/ack"))))
+     (comment-fill-column . 120))))
+ '(speedbar-tag-hierarchy-method nil)
+ '(split-width-threshold nil)
  '(which-function-mode t)
- '(whitespace-line-column nil))
+ '(whitespace-line-column nil)
+ '(woman-fill-frame t))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
 ;; mode: emacs-lisp
 ;; End:
 (put 'narrow-to-region 'disabled nil)
+
+(require 'align)
+(require 'smart-tabs-mode)
+(smart-tabs-insinuate 'c)
+