-;; Prevent the cursor from blinking
+; Prevent the cursor from blinking
(blink-cursor-mode 0)
(show-paren-mode 1)
;; y-or-n instead of yes-or-no
;; erc
(require 'erc)
(require 'tls)
-(setq tls-program '("openssl s_client -connect %h:%p -no_ssl2 -ign_eof"))
+;; (setq tls-program '("openssl s_client -connect %h:%p -no_ssl2 -ign_eof"))
(erc-autojoin-mode t)
(setq erc-autojoin-channels-alist
'((".*\\.freenode.net" "#haskell-beginners")
- (".*\\.oftc.net" "#LeastAuthority")
- (".*\\.saju.net.in" "#cs")))
+ (".*\\.oftc.net" "#LeastAuthority")))
;; check channels
(erc-track-mode t)
(interactive)
(when (y-or-n-p "Do you want to start IRC? ")
(erc-tls :server "irc.freenode.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
- (erc-tls :server "irc.oftc.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
- (erc-tls :server "saju.net.in" :port 6697 :nick "ramki" :full-name "Ramakrishnan Muthukrishnan")))
+ (erc-tls :server "irc.oftc.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")))
;; switch to ERC with Ctrl+c e
(global-set-key (kbd "C-c e") 'start-erc) ;; ERC
;; show trailing whitespaces
(setq-default show-trailing-whitespace t)
(setq-default indicate-empty-lines t)
+
+;; C style
+(setq c-default-style "k&r"
+ c-basic-offset 4)
+