From c348bcfd1c37f1986a9506d9ef8fbdec29dc4d7d Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 16 Aug 2011 16:49:35 +0200 Subject: [PATCH] Turn off bidi-display-reordering and add some page seperators --- .emacs.d/init.el | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 11fc8d8..5319926 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1,7 +1,7 @@ ;; -*- mode: Emacs-Lisp; -*- (load "~/.emacs.d/ryuslash-load-path") (load-file "~/.emacs.d/functions.el") - + ;;; Autopair (require 'autopair) (autopair-global-mode t) ; automatically add the other delimiter @@ -9,7 +9,7 @@ autopair-autowrap t autopair-blink nil) (setq-default autopair-dont-pair '(:string (?\' ?\") :comment (?\'))) - + ;; Column marker (defun set-column-markers (cm1 cm2) (column-marker-1 cm1) @@ -25,7 +25,7 @@ (add-hook 'php-mode-hook (lambda () (set-column-markers 76 81))) - + ;;; Org mode (require 'org-crypt) (require 'org-publish) @@ -61,15 +61,15 @@ (flyspell-mode t) (auto-fill-mode t))) (org-crypt-use-before-save-magic) - + ;;; Rainbow delimiters (require 'rainbow-delimiters) (setq rainbow-delimiters-max-face-count 8) - + ;;; Uniquify (require 'uniquify) (setq uniquify-buffer-name-style 'post-forward) - + ;;; Go (autoload 'go-mode "go-mode" "Major mode for google go" t) (autoload 'gofmt "go-mode" "" t) @@ -79,14 +79,14 @@ (lambda () (turn-off-auto-fill) (column-marker-1 -1))) - + ;;; Htmlize (require 'htmlize) (setq htmlize-output-type 'inline-css) - + ;;; Git (require 'git) - + ;;; Markdown mode (autoload 'markdown-mode "markdown-mode" "Major mode for Markdown" t) (setq whitespace-style '(face trailing)) ; For use with markdown mode @@ -95,16 +95,16 @@ (lambda () (whitespace-mode 1) (turn-on-auto-fill))) - + ;;; Zencoding mode (autoload 'zencoding-mode "zencoding-mode" "Minor mode for zencoding" t) (add-hook 'sgml-mode-hook 'zencoding-mode) ; Auto-start on any markup ; modes - + ;;; Xmodmap mode (autoload 'xmodmap-mode "xmodmap-mode" "Major mode for xmodmap" t) (add-to-list 'auto-mode-alist '("\\.[xX]modmap\\(rc\\)?$" . xmodmap-mode)) - + ;;; Gtags (autoload 'gtags-mode "gtags" "Minor mode for using gtags" t) (add-hook 'gtags-mode-hook @@ -118,7 +118,7 @@ (lambda () (gtags-mode t) (djcb-gtags-create-or-update))) - + ;;; PHP (autoload 'php-mode "php-mode" "Major mode for PHP" t) (setq-default php-mode-warn-if-mumamo-off nil) ; don't warn me about this @@ -130,6 +130,9 @@ (c-set-offset 'arglist-close '0) (local-set-key [f6] 'comment-line))) (add-php-keywords) + +;;; bidi +(setq-default bidi-display-reordering nil) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; AUTOLOADS ;; @@ -257,7 +260,6 @@ (add-hook 'message-mode-hook 'on-mail-mode) (add-hook 'git-commit-mode-hook 'auto-fill-mode) (add-hook 'css-mode-hook 'rainbow-mode) -(add-hook 'after-make-frame-functions 'setup-system-frame-colours t) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SKELETONS ;;