2012-04-01から1ヶ月間の記事一覧

ディレクトリと探したいものとかを与えると grep-find してくれる関数(要 ack)

;; grep-find (defvar dgrep-find-default-cmd "ack --nocolor --nogroup --type=%s %s \"%s\" \"%s\"") (defvar dgrep-find-default-type "elisp") (defvar dgrep-find-default-ctx 3) (defvar dgrep-find-default-subject "") (defun dgrep-find (dir subj…

howm の todo とかを growl で通知(手動登録)@Windows

elisp growl-notifyが必要 (require 'parse-time) (defvar howm-notify-before-min 5) (defvar howm-notify-title "予定の通知") (defun howm-growl-notify () (interactive) (let* ((line (thing-at-point 'line)) (time (parse-time-string line)) (sec (f…

Emacs と growlnotify@windows

elisp (defvar growl-program "growlnotify") (defvar growl-notify-icon (concat data-directory "images/icons/hicolor/128x128/apps/emacs.png")) (defvar growl-notify-application-name "Emacs") (defun growl-notify (title message) (interactive) (c…

anything-imenu-at-point

(defun anything-imenu-at-point () (interactive) (anything 'anything-c-source-imenu (current-word) nil nil nil "*anything imenu*") )

calfw-calendar に howm と diary の内容どっちも表示

僕はプライベートの予定は google-emacs で google カレンダーと diary を同期して管理していて、仕事の予定は howm で管理している。calfw-howm と calfw-calendar がそれぞれ用意されているので、それぞれを calfw-calendar に表示することはできるけれど…