Permalink
Browse files

emacsclient 用の設定を変更。

  • Loading branch information...
近藤 聡
近藤 聡 committed Feb 14, 2012
1 parent b1cbb80 commit 2f3a99bfddf19134d06176ac8297f9acdb978fac
Showing with 17 additions and 5 deletions.
  1. +3 −3 dot_emacs/.emacs-common
  2. +14 −2 dot_emacs/.emacs-new
View
@@ -6,6 +6,9 @@
(add-to-list 'load-path "~/.emacs.d/elisp/rinari")
(add-to-list 'load-path "~/.emacs.d/elisp/rhtml")
+;; org-mode 用
+(add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
+
;; SKK用
(setq load-path (cons "~/share/emacs/site-lisp/skk" load-path))
(setq load-path (cons "~/share/emacs/site-lisp/apel" load-path))
@@ -203,8 +206,5 @@
;(ido-mode t)
(iswitchb-mode 1)
-
;;; ipa.el ---------------------------------------------------------------------
(require 'ipa)
-
-
View
@@ -2,6 +2,13 @@
(add-to-list 'load-path "~/.emacs.d/elisp/rhtml")
;;;; 新しく追加したもの ========================================================
+;;; Slime
+(require 'slime)
+(setq slime-net-coding-system 'utf-8-unix
+ slime-protocol-version 'ignore)
+(slime-setup '(slime-repl))
+;(slime-setup '(slime-repl slime-fancy slime-banner))
+
;;; speedbar
(require 'sr-speedbar)
(setq sr-speedbar-right-side nil)
@@ -37,7 +44,6 @@
(list (read-shell-command "Etags command: "
etags-tag-rebuild-command-ruby))
(list etags-tag-rebuild-command-ruby))
-
(shell-command command))
; rubyライブラリのETAGSを作成するコマンド
@@ -129,6 +135,7 @@
(setq text-translator-auto-selection-func
'text-translator-translate-by-auto-selection-enja)
+
;;; bm.elの設定(カーソル位置に目に見える印をつける)
;; (setq-default bm-buffer-persistence nil)
;; (setq bm-restore-repository-on-load t)
@@ -166,7 +173,12 @@
;;; emacsclientの設定
;;; 効果: シェルから現在のEmacsにアクセスできる
;;; 使い方: emacsclient filename
-(server-start)
+(require 'server)
+(unless (server-running-p)
+ (server-start))
+
+(unless (server-running-p)
+ (server-start))
(defun iconify-emacs-when-server-is-done ()
(unless server-clients (iconify-frame)))
;; 編集後にitermに戻るように設定

0 comments on commit 2f3a99b

Please sign in to comment.