Skip to content

Instantly share code, notes, and snippets.

@DimaD
Created August 27, 2010 10:50
Show Gist options
  • Save DimaD/553178 to your computer and use it in GitHub Desktop.
Save DimaD/553178 to your computer and use it in GitHub Desktop.
;; set up unicode
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
;; This from a japanese individual. I hope it works.
(setq default-buffer-file-coding-system 'utf-8)
;; From Emacs wiki
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(defconst POSTGRESQL-BIN "/usr/local/bin")
(defconst PATH "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands:/Users/dzema/bin:/Users/dzema/.cabal/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin")
(setq exec-path (cons POSTGRESQL-BIN exec-path))
(setenv "PATH" PATH)
(defvar emacsd-dir "~/emacsd/")
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'load-path emacsd-dir)
;; These MUST be loaded first
;;(defvar byte-compile-warnings f)
;;(defvar byte-compile-verbose f)
;;(load "byte-code-cache")
(load "boot")
(put 'set-goal-column 'disabled nil)
;; open files droped to emacs icon or provided via
;; open -a Emacs.app ./file.rb into existing frame
;; default is to create new window for each dropped
;; file
(setq ns-pop-up-frames nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment