ChangeLog 最新ページ

emacs - sleepin' with the daemon - でーもん君と眠る日々 -

最終更新時間: 2011-11-13 17:45

2009-11-04 Wed

twittering-mode.el [emacs][Mac]

今更ながらTwitterやってみる。
モバイルはiPhoneで良いとして、デスクトップのクライアントは…emacsでいいや。
ということでtwittering-mode.elをインストール。
EmacsWikiを参考に、設定はこんな感じ。
;; twittering-mode
(load "twittering-mode.el")
(require 'twittering-mode)
(setq twittering-username "username")
;(setq twittering-password "twitter password here") ; This is optional
(twittering-icon-mode)                       ; Show icons (requires wget)
(setq twittering-timer-interval 300)         ; Update your timeline each 300 seconds (5 minutes)
(setq twittering-tmp-dir "~/.emacs.d/tmp") ; Directory to store buddy icons
(add-hook 'twittering-new-tweets-hook
  (lambda ()
    (let ((n twittering-new-tweets-count))
      (start-process "twittering-notify" nil "growlnotify"
                     "--image" "~/Library/Application Support/Google/Quick Search Box/PlugIns/TwitterSearch.hgs/Contents/Resources/Twitter.tiff"
                     "-t" "New tweets"
                     "-m"
                     (format "You have %d new tweet%s"
                             n (if (> n 1) "s" ""))))))
Macということで、growlnotifyで新着件数を知らせるようにもしてみた。アイコンはGoogle Quick Search BoxのTwitter Search Pluginのを。
growlの通知はもうちょっといろいろ出来るかな?

- twittering-mode

2006-01-31 Tue

hideif.el [emacs]

hide-ifdef モードに

M-x hide-ifdef-mode

#ifdef を隠す

M-x hide-ifdefs  or C-c @ h

#ifdef を表示

M-x show-ifdefs  or C-c @ s

define symbol

M-x hide-ifdef-define (C-c @ d)

undefine symbol

M-x hide-ifdef-undef (C-c @ u)

ChangeLog 最新ページ