twittering-modeの設定

久しぶりに使ってみたら、とてもイイ感じになっていたので弄っていた
http://gyazo.com/ad472c7c88174cb2e21922c5d39b8710.png


基本的に非同期に通信してて固まらなくなった
LでList読めるようになったので抽出タブも問題ない
'anything-c-moccur-occur-by-moccur と組み合わせると結構強烈に検索できる


Cocoa Emacs 23.2

(require 'twittering-mode)
(setq twittering-auth-method 'xauth)
(setq twittering-username "mizchi")
(setq twittering-status-format "%i %s %t %@")
(setq twittering-icon-mode nil)
(setq twittering-convert-fix-size 48) ;;size変更すると読み込めなくなる...
(setq twittering-proxy-use nil)

(defun twittering-mode-hook-func ()
  (set-face-bold-p 'twittering-username-face t)
  (set-face-foreground 'twittering-username-face "DeepSkyBlue3")
  (set-face-foreground 'twittering-uri-face "gray35")
  (follow-mode t)
  (setq truncate-partial-width-windows nil)
  )

(add-hook 'twittering-mode-hook
	  (lambda ()
	    'twittering-mode-hook-func
	    )
)

(add-hook 'twittering-new-tweets-hook
	  (lambda ()
	    'twittering-goto-first-status
	    )
)

(define-key twittering-mode-map "/" 'anything-c-moccur-occur-by-moccur)
(define-key twittering-mode-map "?" 'describe-bindings)
(define-key twittering-mode-map "1" 'delete-other-windows)
(define-key twittering-mode-map "2" 'split-window-vertically)
(define-key twittering-mode-map "3" 'split-window-horizontally)
(define-key twittering-edit-mode-map "\C-p" "\C-c\C-c")
(define-key twittering-edit-mode-map "\C-k" "\C-c\C-k")