Turn off bidi-display-reordering and add some page seperators

This commit is contained in:
Tom Willemsen 2011-08-16 16:49:35 +02:00
parent 8c0f844e3c
commit c348bcfd1c

View file

@ -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 ;;