平衡点
2010/08/04
_ simple-hatena-mode + hw.pl + Dropbox
いままで日記は
- howm に rd でだらだら書く
- 適当に hatena 形式に変換
- はてダラで up する
だったのだけれどもなんかイマイチな感じがしてきたので, 思いきって simple-hatena-mode に変えてみた. 参考にしたのは「はてなダイアリー/はてなグループの日記データをDropboxで同期する」.
nautilus 無しで Dropbox 使いたい,とか思ってたら Debian の non-free セクションにある dropbox パッケージは nautilus へ Depends していないみたいなので, 試しに適当に install したら使えてしまった.
あとは elscreen とかの連携かな?
2010/08/05
_ Wanderlust の mime-view
添付ファイルを開く時に毎度聞かれるのがウザいのでどうにかならんか, と思っていたら同様の事を考えている先人が当然いらっしゃるようで.
最近は Mac OS X の emacs と Linux 上の emacs を両方使わなきゃいけないので, 先頭部分を多少弄ってから ~/.wl に追記してみる
;;; 添付ファイルのハンドリングを適当なコマンドに任せてしまう ;; URL: http://d.hatena.ne.jp/yamdan/20100312/1268407849 (defvar my-mime-preview-play-current-entity-appname "fiber" "meadow なら fiber, mac なら open, linux なら xdg-open") ;; こっから追記 (cond ((string-match "apple-darwin" system-configuration) (setq my-mime-preview-play-current-entity-appname "open") ) ((string-match "linux" system-configuration) (setq my-mime-preview-play-current-entity-appname "xdg-open") )) ;; ここまで (unless (functionp #'mime-preview-play-current-entity-orig) (fset #'mime-preview-play-current-entity-orig (symbol-function #'mime-preview-play-current-entity))) (defun mime-preview-play-current-entity (&optional ignore-examples mode) (interactive "P") (if (and mode (not (equal mode "play"))) (mime-preview-play-current-entity-orig ignore-examples mode) (let* ((entity (get-text-property (point) 'mime-view-entity)) (name (mime-entity-safe-filename entity)) (filename (expand-file-name (if (and name (not (string= name ""))) name (make-temp-name "EMI")) (make-temp-file "EMI" 'directory)))) (mime-write-entity-content entity filename) (message "External method is starting...") (let* ((process-name (concat my-mime-preview-play-current-entity-appname " " filename)) (process (start-process process-name mime-echo-buffer-name my-mime-preview-play-current-entity-appname filename))) (set-alist 'mime-mailcap-method-filename-alist process name) (set-process-sentinel process 'mime-mailcap-method-sentinel)))))
結構良い感じ.
_ cygwin の uninstall /dev/nul があって消せない時は.
cygwin の install 先が d:\cygwin なら
del \\.d:\cygwin\dev\nul
だそうで.
2010/08/06
_ squeeze is frozen !!!
debian-devel-announce に先程流れました.
Current status ============== As mentioned in the previous mail, we would freeze when various transitions are completed or being handled. We now feel that this stage has been reached. This means that we have stopped the automatic migration of packages from unstable to testing. . In other words, Squeeze has frozen. Thanks are due to everyone who has helped get us to this point. . Perhaps that's too subtle: _==_ _ _,(",)|_| *** Frosty says Squeeze is FROZEN. *** \/. \-| (He's in Austrailia, as it's winter there - __( : )|___ that's what the shovel is for, sandcastles)
BUG 報告したまんま直されていなくて気になるパッケージは幾つかあるんですが...
debian-annaounce にも流れました.
-------------------------------------------------------------------- The Debian Project http://www.debian.org/ Debian 6.0 "Squeeze" frozen press@debian.org August 6th, 2010 http://www.debian.org/News/2010/20100806 -------------------------------------------------------------------- . In this very moment, during the ongoing annual Debian Developer Conference "Debconf10" in New York, Debian's release managers have announced a major step in the development cycle of the upcoming stable release Debian 6.0 "Squeeze": . Debian "Squeeze" has now been frozen. . In consequence this means that no more new features will be added and all work will now be concentrated on polishing Debian "Squeeze" to achieve the quality Debian stable releases are known for. . The upcoming release will use Linux 2.6.32 as its default kernel in the installer and on all Linux architectures. . New features of the upcoming release include: * State of the art desktop environments, based on KDE 4.4.5, Gnome 2.30.0, LXDE 0.5.0, XFCE 4.6.2, X.org 7.5, OpenOffice.org 3.2.1 and many other applications. * Stable and current versions of common server software such as Apache 2.2.16, PHP 5.3.2, MySQL 5.1.48, PostgreSQL 8.4.4 and Samba 3.4. * Modern interpreters and compilers for all common languages such as Python 2.6 and 3.1, Perl 5.10, GHC 6.12 and GCC 4.4. * DKMS, a framework to generate Linux kernel modules whose sources do not reside in the Linux kernel source tree. * Dependency-based ordering of init scripts using insserv, allowing parallel execution to shorten the time needed to boot the system.
pTeXLive 間に合いませんでした(´・ω・`).
2010/08/09
_ I became a Debian Maintainer
先程 upgrade して気がつきました(Bug Close 来なかったような...).
debian-keyring (2010.08.01) unstable; urgency=low [ Jonathan McDowell ] ... * Add new DM key 0x9394F354891D7E07 (Youhei SASAKI) (RT #2403) ...
というわけで, 皆さまよろしくお願いします.
...とこで, この keyring は squeeze 入るのかな?
2010/08/16
_ Emacs テクニックバイブル
購入
るびきち, 技術評論社, ¥206
痒い所に手が届く系統の大技/小技が満載.
気になるのは auto-install で色々いれていくと Debian のパッケージとどう折り合いつけるべきか悩んでしまうところかなぁ((auto-install 自体はこの間たかやさんがメンテナになって official に放り込んだので, 次期 Debian からは apt-get install でOK)).
あと proxy 環境下で auto-install を使おうとしても何故か上手くいかなかった件は
(require 'auto-install) (setq auto-install-use-wget t) (setq auto-install-update-emacswiki-package-name t) (auto-install-compatibility-setup)
として wget 側で proxy の設定をしたら, うまく行きました.
本体のドキュメントには url-proxy
(setq url-proxy-services '(("http" . "localhost:8339")))
とすれば良い, とあったけれど駄目っぽ. まあ深追いしてませんが...