emacs-w3mでWebブラウジングしてて 「あー、リンク先の動画を、せめて生ファイルぐらいはそのままストリーミングで再生したいなー」 とか思っちゃったのでとりあえず以下のようなコマンド用意した。 (defun w3m-play-movie () (interactive) (let ((url (w3m-anchor))) (if (string-match "^http.*\\.\\(mpg\\|wmv\\|avi\\|flv\\)$" url) (call-process "mplayer" nil nil nil "-fs" url) (message "not movie.")))) (define-key w3m-mode-map "m" 'w3m-play-movie) 非常に単純なので読めばわかると思うけど、 m を叩いた時にカーソルがある位置のリンクのアドレスを見て も