This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; abbrevとか長すぎる | |
(setcar (cdr (assq 'abbrev-mode minor-mode-alist)) " Ab") | |
; Flymakeも短く | |
(add-hook 'flymake-mode-hook | |
(lambda () | |
(setcar (cdr (assq 'flymake-mode minor-mode-alist)) " Fly"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq display-time-string-forms | |
'(year "/" month "/" day " " dayname " " 24-hours ":" minutes)) | |
(display-time) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLANG = /usr/bin/clang | |
ARCH = -arch armv7 | |
SDK = -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk | |
OS_VER_MIN = -miphoneos-version-min=5.1 | |
OPTIONS = -fsyntax-only -fblocks -fobjc-arc -x objective-c -std=gnu99 | |
WARNINGS = -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value | |
INCLUDES = -I. -include ./*.pch | |
FRAMEWORKS = -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks | |
check-syntax: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url("http://melpa.milkbox.net/") { | |
body { | |
background-color: #555 !important; | |
} | |
h1 { | |
color: #FA8 !important; | |
} | |
tr.header { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; linum | |
(require 'linum) | |
(setq linum-format | |
(lambda (line) (propertize (format (let ((w (length (number-to-string (count-lines (point-min) (point-max)))))) (concat "%" (number-to-string w) "d")) line) 'face 'linum))) | |
(global-linum-mode t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; anything-rurima | |
(require 'anything-rurima) | |
(setq anything-rurima-index-file "~/dev/ruby/svn/rubydoc/rurima.e") | |
(modify-coding-system-alist 'file "\\/dev\\/ruby\\/svn\\/rubydoc*" 'euc-jp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -name "*.rb" | xargs etags --language=none --regex='/[ \t]*\(def\|class\|module\)[ \t]\([^ \t]+\)/\2/' | |
find ~/.rvm/rubies/default/lib/ruby -name "*.rb" | xargs etags -a --language=none --regex='/[ \t]*\(def\|class\|module\)[ \t]\([^ \t]+\)/\2/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq vc-handled-backends ()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-mode-hook にいちいち追加すんのが面倒なので本体側を修正。 | |
original -> 【EmacsWiki: Ruby Block Mode】 http://www.emacswiki.org/emacs/RubyBlockMode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- current-string-to.el.orig 2015-01-14 15:01:56.000000000 +0900 | |
+++ current-string-to.el 2015-01-14 15:04:33.000000000 +0900 | |
@@ -65,11 +65,11 @@ | |
(defvar current-string-to-delimiter-regexp-ascii | |
- "[\][\t\(\)\"\|\\ /`',;:<>{}「」=]" | |
+ "[\][\t\(\)\"\|\\ /`'\.,;:<>{}「」=]" | |
"A regular expressions to search ascii delimiters.") | |