Emacs‎ > ‎

Twittering-mode

http://www.emacswiki.org/emacs-ja/TwitteringMode-ja
http://www.emacswiki.org/emacs-en/TwitteringMode
el-getでel-get-install twittering-mode
~/.emacs/init.elに追加。 
(require 'twittering-mode)
(setq twittering-use-master-password t)
(setq twittering-private-info-file "~/.emacs.d/twittering-mode.gpg")
(setq twittering-status-format "%i @%s %S %p: %T [%@]%r %R %f%L \n-------")
(setq twittering-icon-mode nil) ;; iconは無し
;;(setq twittering-icon-mode t) ;; iconあり
;;(setq twittering-convert-fix-size 40) ;; icon sizeは40
(setq twittering-timer-interval 300) ;; 300sec毎に更新
(setq twittering-number-of-tweets-on-retrieval 200) ;; 1更新で200ツイート取得
(add-hook 'twittering-mode-hook
 (lambda () (local-set-key (kbd "o")
  (lambda () (interactive)
   (twittering-goto-next-uri)
    (execute-kbd-macro (kbd "C-m")) )))) ;; o で次のURLをブラウザでオープン
(setq twittering-initial-timeline-spec-string
 '(":home"
   ":mentions"
     ":favorites"
     ":direct_messages"
     ":search/emacs/"
     "Matanuki/f"))
Comments