文章详细内容

07月 22, 2009 11:09 下午 

For Emacs CVS version (V23).
Font setting in .emacs

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  1. (create-fontset-from-fontset-spec "-*-bitstream vera sans mono-medium-r-*-*-13-*-*-*-*-*-fontset-global, han: WenQuanYi Zen Hei-8")
  2. (setq window-system-default-frame-alist
  3. '(
  4. ;; if frame created on x display
  5. (x
  6. (menu-bar-lines . nil) (tool-bar-lines . nil)
  7. ;; mouse
  8. (mouse-wheel-mode . 1)
  9. (mouse-wheel-follow-mouse . t)
  10. (mouse-avoidance-mode . 'exile)
  11. ;; face
  12. (font . "fontset-global")
  13. )
  14. ;; if on term
  15. (nil
  16. (menu-bar-lines . 0) (tool-bar-lines . 0)
  17. (background-color . "black")
  18. (foreground-color . "white")
  19. )
  20. )
  21. )

alias for running daemon and client.

  1. 1
  2. 2
  1. alias et='emacsclient -t "$@" -a ""'
  2. alias ee='emacsclient -nc "$@" -a ""'

et will run the emacsclient in terminal
ee will run it in X

Then when the first time running et or ee, the daemon will start and a new client will attached to the daemon. The daemon will resist in the memory. Next time you running et or ee again, a new client will attached to the existing daemon.

推荐(0)
收藏
分享至: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 添加到饭否 QQ书签 POCO网摘 Digbuzz我挖网 

相关日志

Blog@35上的相关日志

最近读者

最近还没有登录用户看过这篇文章

评论列表(1条评论)

  1. 使用Emacs daemon...

    什么是 Emacs daemon
    关于Emacs有一个很著名的笑话,就是Emacs = Emacs Makes A Computer Slow。Emacs启用慢是一个人尽皆知的事实。由于启动时要加载大量的脚本和插件,使得Emacs在启动时往往需要数秒之...

发表评论

 

得到OpenID
使用OpenID提供商
35OpenID 35OpenID MyOpenID MyOpenID Flickr Flickr
Google Google Yahoo Yahoo! AOL AOL
Blogger Blogger LiveJournal LiveJournal Verisign Verisign
ClaimID ClaimID Technorati Technorati Vidoop Vidoop
OpenID OpenID 帮助
您还没有登录,请登录后继续操作。
提示:您必需打开Cookie才能使用本系统
请输入您的 OpenID OpenID 登录:
例如:http://yourname.openid.35.com
close