2019-01-16 14:31:52 +02:00
|
|
|
# Prelude ERC
|
2016-06-14 09:22:27 +03:00
|
|
|
|
|
|
|
## Customizing Server list
|
|
|
|
|
2017-08-13 18:56:37 +03:00
|
|
|
If you want to join a list of servers on `M-x start-irc`, other than
|
|
|
|
the default list, please redefine the variable `my-fav-irc` as follows
|
|
|
|
in your personal config
|
|
|
|
|
2019-01-16 14:31:52 +02:00
|
|
|
``` emacs-lisp
|
|
|
|
(setq my-fav-irc '("irc.freenode.net"
|
2017-08-13 18:56:37 +03:00
|
|
|
"irc.oftc.net"
|
2019-01-16 14:31:52 +02:00
|
|
|
"irc.mozilla.org"
|
|
|
|
"irc.gnome.org"))
|
2016-06-14 09:22:27 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Customizing Last Quit Message
|
|
|
|
|
2017-08-13 18:56:37 +03:00
|
|
|
If you want to customize your IRC Last Quit Message from *Asta la
|
|
|
|
vista* to something more funkier, please redefine `bye-irc-message` as
|
|
|
|
follows
|
2016-06-14 09:22:27 +03:00
|
|
|
|
2019-01-16 14:31:52 +02:00
|
|
|
``` emacs-lisp
|
|
|
|
(setq bye-erc-message "adios")
|
2016-06-14 09:22:27 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Reading NickServ passwords from auth-source plugin
|
|
|
|
|
2017-08-13 18:56:37 +03:00
|
|
|
If you want to automatically authenticate while logging into IRC
|
|
|
|
servers set the `erc-prompt-for-password` to nil as follows
|
2016-06-14 09:22:27 +03:00
|
|
|
|
2019-01-16 14:31:52 +02:00
|
|
|
``` emacs-lisp
|
|
|
|
(setq erc-prompt-for-password nil)
|
2016-06-14 09:22:27 +03:00
|
|
|
```
|
|
|
|
|
2017-08-13 18:56:37 +03:00
|
|
|
Now you can set password in plaintext in .authinfo file in the netRC
|
|
|
|
format or you it encrypted in .authinfo.gpg file after setting up gpg
|
|
|
|
in emacs
|
|
|
|
|
|
|
|
## Opening all ERC buffers in a new perspective
|
|
|
|
Many a time when we start IRC with the `start-irc` command, all the
|
|
|
|
channels open in our existing workspace, which can be annoying to
|
|
|
|
some; especially to those who like to organize their buffers into
|
|
|
|
separate groups (perspectives). To avoid this scenario, it is better
|
|
|
|
to group all the ERC buffers into one perspective called `IRC` when
|
|
|
|
`start-irc` is called. To enable this set the `prelude-new-irc-persp`
|
|
|
|
variable to true as follows
|
|
|
|
|
2019-01-16 14:31:52 +02:00
|
|
|
``` emacs-lisp
|
|
|
|
(setq prelude-new-irc-persp t)
|
2017-08-13 18:56:37 +03:00
|
|
|
```
|