Commits

Anonymous committed 50f6094

* got rid of textmate and wrap-region

Comments (0)

Files changed (6)

       '(
         kill-region
         kill-visual-line
-        tm/pair-backspace
-        tm/pair-insert
         typopunct-insert-ellipsis-or-middot
         typopunct-insert-typographical-dashes
         ))
 (require 'cl)
 
 (defvar prelude-packages
-  '(dired+
+  '(
+    dash
+    dired+
     expand-region
     helm
     ido-ubiquitous
           (progn (forward-char 1)
                  (just-one-space 0)
                  (backward-char 1)))))
+
+(defadvice message (after message-tail activate)
+  "goto point max after a message"
+  (with-current-buffer "*Messages*"
+    (goto-char (point-max))
+    (let ((windows (get-buffer-window-list (current-buffer) nil t)))
+      (while windows
+        (set-window-point (car windows) (point-max))
+        (setq windows (cdr windows))))))
 
 ;; Indenting and alignment
 (global-set-key [(f8)]         'indent-region)
-(global-set-key [(control f8)] 'align)
+(global-set-key [(control f8)] 'indent-buffer)
 (global-set-key [(shift f8)]   'align-current)
 (global-set-key [(meta f8)]    'align-regexp)
 
 (vendor 'golden-ratio)
 (vendor 'multiple-cursors)
 (vendor 'iy-go-to-char)
-(vendor 'textmate)    ;; we need to call textmate before wrap-region, so the fallback works properly
-(vendor 'wrap-region)
 (vendor 'sunrise-commander)
 (vendor 'change-inner)
 (vendor 'smart-forward)
+(vendor 'smartparens)
 
 (require 'parenface)
 
 ;; TEX
 (require 'tildify)
 
-(setq load-path (cons "/packages/run.64/sicstus-4.0.8/lib/sicstus-4.0.8/emacs" load-path))
-(autoload 'run-prolog "prolog" "Start a Prolog sub-process." t)
-(autoload 'prolog-mode "prolog" "Major mode for editing Prolog programs." t)
-(setq prolog-system 'sicstus)
-(setq auto-mode-alist (cons '("\\.pl$" . prolog-mode) auto-mode-alist))
-
 ;; autoopen files
 (find-file "~/.emacs.d/init.el")
 
  '(fringe ((((class color) (background light)) (:background "grey95" :foreground "black"))))
  '(highlight ((((class color) (min-colors 88) (background light)) (:background "darkseagreen2" :foreground "black"))))
  '(hl-line ((t (:background "gray12"))))
+ '(markdown-pre-face ((t (:inherit font-lock-constant-face :family "Consolas"))))
  '(minibuffer-prompt ((t (:foreground "cyan"))))
  '(org-table ((t (:inherit fixed-pitch :foreground "LightSkyBlue"))))
  '(paren-face ((t (:foreground "thistle4"))))

vendor/textmate/textmate.el

 
 (defcustom tm/ignore-modes-list ()
   "Modes where tm mode is not activated"
-  :type 'list
+  :type '(repeat symbol)
   :group 'textmate)
 
 (defun get-buffer-mode ()