From: Tassilo H. <hei...@un...> - 2006-03-15 20:31:09
|
Hi, I wanna use erc (the one bundled with emacs 22.0.50.1) and so I've set up this ~/.ercrc.el: ,----[ ~/.ercrc.el ] | (setq erc-nick "tsdh" | erc-user-full-name user-full-name | erc-prompt-for-password nil) | (setq erc-prompt-for-nickserv-password nil) | (setq erc-nickserv-passwords | '((freenode (("tsdh" . "xxx") | ("tsdh_" . "xxx") | ("_tsdh_" . "xxx"))))) `---- The problem is that when I start up emacs and type M-x erc-server-select RET freenode RET I can connect to freenode, but my nickname is not "tsdh" as it should be, but "heimdall" which is my username and I don't identify at NickServ. After the connection is up all variables set in ~/.ercrc.el have the values I defined there. The file simply seems to be loaded too late. Here's what the *Messages* buffer says: ,----[ *Messages* ] | Loading erc-networks...done | Connecting to irc.freenode.net:ircd... ...done | Logging in as 'heimdall'... | Logging in without password | Loading smiley... | Loading regexp-opt...done | Loading smiley...done | Logging in as 'heimdall'... done | Loading ~/.ercrc.el (source)...done `---- If I do a /QUIT and connect again all works fine this time. So how can I get erc to first load its config file before connecting? Kind regards, Tassilo |