Friday, October 27, 2006

Emacs font set for Windows

Emacs 字体设置 (win32)

Download fontset-win.el

只在我自己机器上的 Emacs 23 试验过,仅供参考

;; 预设了几种字体设置:
;; huangq-fontset-courier ;; Courier New + 新宋体
;; huangq-fontset-monaco ;; Monaco + 新宋体
;; huangq-fontset-lucida ;; Lucida Sans Typewriter + 新宋体
;; huangq-fontset-dejavu ;; DejaVu Sans Mono+ 新宋体
;; huangq-fontset-consolas ;; Consolas + 微软雅黑
;; huangq-fontset-consolas0 ;; Consolas + 新宋体

;; .emacs 字体设置:
;; (huangq-fontset-monaco 15)

;; 看累了切换字体:
;; M-x huangq-fontset-dejavu 或其他

;; 改变字体大小:
;; C-x s FONTSIZE

;; 当然字体文件要自己准备着

相关链接:
getting CVS emacs23
Emacs for windows 注册表配置
Strange fontset for Emacs23 (奇怪的Emacs23字体设置)


del.icio.us Tags:

Sunday, October 22, 2006

Browser comparison

浏览器比较

updated on 23.10.2006: Firefox 2.0 is now available: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0/

In a word, IE7 has the largest memory usage and can only block popup ads. Firefox 1.5.0.7 with Adblock and Greasemonkey performs much better. Firefox 2.0 is more expectable.

比较对象: Mozilla Firefox 1.5.0.7 , IE7.0.5370.11, Opera 9.02

Mozilla Firefox 装了 Adblock, Greasemonkey, Tab mix lite, Google toolbar, Gmail notifier, IE tab 等插件。
IE7 和 Opera 裸奔,使用默认配置。

用这三个浏览器分别打开5个网页: Live Space, www.sina.com.cn, espn.go.com, Google Reader, Google Mail.

资源消耗:
IE7 最多,物理内存和虚拟内存分别高达 190 Mbyte 和 175 Mbyte.
相比之下 Firefox 和 Opera 则要小得多。
Opera 物理内存和虚拟内存分别是 102 Mbyte 和 106 Mbyte.
Firefox 物理内存和虚拟内存分别是 76 Mbyte 和 75 Mbyte.
见图(点击放大)
browser comparison

广告拦截能力:都能拦截弹出窗口。
Firefox 装了 Adblock 和 一个专门拦截新浪广告的user script, 可以截杀页面上的所有 Flash 和 js 广告。
Opera 和 Firefox 一样,由于天生的不兼容性,能够避免大部分 IE 专用的广告。
IE7,浮云,页面内所有广告都能准确显示。。。

结论:继续使用 Firefox !


del.icio.us Tags:

Thursday, October 19, 2006

XKeymacs

XKeymacs - 推荐给 Win32 下的 Emacser

可以在大多数的 Windows 程序里使用 Emacs 的键绑定,比如在 Word 里用 M-t 交换两个单词,用C-x C-s 保存文件。

可以很方便的禁用或编辑某个快捷键,比如在 Firefox 里仍然用 C-t 开新 tab。

Windows 里的全新体验,很有趣。如果觉得操作不习惯,可以在任何时候 C-q 禁用 XKeymacs.

下载地址:http://www.cam.hi-ho.ne.jp/oishi/indexen.html

又是一个日本人的软件,日本人对 Emacs 的热情和贡献真是挺大的。
del.icio.us Tags: