LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 770|回复: 1

Emacs-mp3play很棒!!

[复制链接]
发表于 2005-1-19 17:25:31 | 显示全部楼层 |阅读模式
前提是已安装mpg321。

在.emacs中加入:
(setq mp3play-dirlist '("~/mp3")
      ;; I want to see the remaining time
      mp3play-show-timing 1
      ;; Where to store the info about the song playing to resume later
      mp3play-resume-file "~/.mp3play-resume")

(load "mp3play")

;; M-\ go to the mp3play buffer
(define-key global-map [(meta \\)] 'mp3play)
;; C-x C-m C-s stops the current mp3
(define-key global-map [(control x) (control m) (control s)] 'mp3play-stop)
;; C-x C-m C-p pauses it
(define-key global-map [(control x) (control m) (control p)] 'mp3play-pause)
;; C-x C-m C-i shows mp3 informations
(define-key global-map [(control x) (control m) (control i)]   'mp3play-show-current-information)

M-\ 就进入了mp3play buffer.
p - 暂停,s-停止.  回车-播放.
对我来说很方便,开一个mp3play buffer播放mp3,再到别的buffer下工作,确实很方便.
mp3play.el

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-1-19 19:31:06 | 显示全部楼层
非常不错,简单上手
还有个emms 也不错
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表