Skip to content

Instantly share code, notes, and snippets.

@weakish
Created July 5, 2010 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weakish/464301 to your computer and use it in GitHub Desktop.
Save weakish/464301 to your computer and use it in GitHub Desktop.
#emacs configs #recycle
;; larger fonts
(set-default-font "DejaVu Sans Mono:pixelsize=22")
(setq default-frame-alist
'((height . 23) (width . 74) (menu-bar-lines . 20) (tool-bar-lines . 0)))
;; Chinese font
(set-fontset-font "fontset-default"
'unicode '("AR PL UMing CN" . "unicode-bmp"))
;; for rcirc
;; default port
(setq rcirc-default-port 7000)
;; be notified of any activity in channels not currently visible
(rcirc-track-minor-mode 1)
;; auto join Channels
(setq rcirc-server-alist
'(("irc.freenode.net"
:channels ("#ubuntu-cn" "#oddmuse")
:port 7000)))
;; identify yourself
(setq rcirc-authinfo
'(("freenode" nickserv "weakish" "mypassword")))
;; check spelling
(add-hook 'rcirc-mode-hook (lambda ()
(flyspell-mode 1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment