1.下载软件包emacs-wget的压缩包: 可以去 http://www.filewatcher.com/m/emacs-wget-0.5.0.tar.gz.37074.0.0.html 2.解压文件到你的/Emacs/mylisp目录下: $ tar -zxvf emacs-wget-0.5.0.tar.gz /usr/share/emacs/mylist 3.对~/.emacs文档进行编辑,也就是说加载wget插件,支持下载文件。 (add-to-list 'load-path "/usr/share/emacs/mylisp") (autoload 'wget "wget" "wget interface for Emacs." t) (autoload 'wget-web-page "wget" "wget interface to download whole web page." t) (load "w3m-wget") (autoload 'w3-wget "w3-wget" "wget interface for Emacs/W3." t) 4.在终端运行emacs,M-x wget,输入下载地址,回车即OK啦。里面有个wget-buffer,是用来显示下载进度的,而下载信息是在message buffer那一栏显示的。 -----emacs-wget相关快捷键------- key Operation ----- ----------- d Kill the wget process under the cursor. q Hide *wget* buffer (Wget process is still alive in background.) Q Quit all wget processes and kill *wget* buffer. g Revert *wget* buffer display. i Update information for wget process under the cursor. n To the next wget process. p To the previous wget process. ----- -----------
下面是使用emacs-wget下载的效果图:

|