etag和Expires 题记:本文对页面中etag和Expires标识处理,使得页面更加有效被Cache。 原版来源: http://phaedo.cx/archives/2007/0 ... pache-and-lighttpd/ 摘要 1、etag和Expires中Client 端Http Request Header及Server端Http Reponse Header工作原理。 2、静态下Apache、Lighttpd和Nginx中etag和Expires配置 3、非实时交互动态页面中etag和Expires处理 在客户端通过浏览器发出第一次请求某一个URL时,根据 HTTP 协议...
修改 .emacs 后即时生效(不重启) 有几种方法: 1) M-x eval-last-sexp(or C-x C-e) 2) M-x eval-region 3) M-x eval-buffer 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/104526/showart_2064635.html
quit c-x c-c copy paste esc-space esc-w c-y save file c-x s move line head C-a line end C-e next line c-n previous line c-p cancel command c-g 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/103621/showart_2040774.html
;;;;-------------------------显示中文(不应该配置,因为本为就已经支持中文,如果配置了会有打不开中文名文件的BUG)-------------------------;;(set-language-environment 'Chinese-GB);;(set-buffer-file-coding-system 'cn-gb-2312);;(set-keyboard-coding-system 'cn-gb-2312);;(set-terminal-coding-system 'cn-gb-2312);;(setq-default enable-multibyte-characters t);;(prefer-coding-system 'cn-gb-2312);;(set-selecti...
emacs23用着真是舒服,多窗口的设置: (require 'winner) (winner-mode) (require 'windmove) (windmove-default-keybindings) 在Ctrl-x 1最大化当前窗口之后,可以Ctrl-x left返回之前的多窗口状态 看一下命令其实就是winner的undo,呵呵 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/53672/showart_420784.html
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;Name: .emacs ;; ;;Subject: My .emacs configuraton file ;; ;;Date: 08 13 2005 ;; ;;Email: hailongchang@hotmail.com ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;显示中文 (set-language-environment 'Chinese-GB) (set-buffer-file-coding-system 'cn-gb-2312) ...
问下哪里有最新的下载?现在到什么版本了都不知道呀,这里好像有个emacs-22.0.50-20050225.tar的。 还有想请指点一下版本问题什么是稳定版什么测试版啊?不胜感激!! 在http://ftp.gnu.org/pub上只看到了有21的才.... [ 本帖最后由 Artist 于 2007-1-24 11:48 编辑 ]
开始使用emacs是四年前的事了。那时在学校的一个系里做了快一年的HIWI,虽然轻松但 实在入不敷出,于是就四处寻找另外的工作。一个偶然的机会找到了现在的工作,在*nix下作测试的工作。之前也用过linux,但只能说是尝试,基本没用 来干什么正经事。上班的第一天老板问我,你用什么editor啊?这个德语单词我半晌没反应过来。老板看我没明白就提示说比如说emacs、vi。我想也 没想就说了emacs。从此就和emacs结下了不解之缘。后...