Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.5 KiB

  1. # Prelude ERC Quickstart
  2. ## Customizing Server list
  3. If you want to join a list of servers on `M-x start-irc`, other than
  4. the default list, please redefine the variable `my-fav-irc` as follows
  5. in your personal config
  6. ``` emacs-lisp
  7. (setq my-fav-irc '("irc.freenode.net"
  8. "irc.oftc.net"
  9. "irc.mozilla.org"
  10. "irc.gnome.org"))
  11. ```
  12. ## Customizing Last Quit Message
  13. If you want to customize your IRC Last Quit Message from *Asta la
  14. vista* to something more funkier, please redefine `bye-irc-message` as
  15. follows
  16. ``` emacs-lisp
  17. (setq bye-erc-message "adios")
  18. ```
  19. ## Reading NickServ passwords from auth-source plugin
  20. If you want to automatically authenticate while logging into IRC
  21. servers set the `erc-prompt-for-password` to nil as follows
  22. ``` emacs-lisp
  23. (setq erc-prompt-for-password nil)
  24. ```
  25. Now you can set password in plaintext in .authinfo file in the netRC
  26. format or you it encrypted in .authinfo.gpg file after setting up gpg
  27. in emacs
  28. ## Opening all ERC buffers in a new perspective
  29. Many a time when we start IRC with the `start-irc` command, all the
  30. channels open in our existing workspace, which can be annoying to
  31. some; especially to those who like to organize their buffers into
  32. separate groups (perspectives). To avoid this scenario, it is better
  33. to group all the ERC buffers into one perspective called `IRC` when
  34. `start-irc` is called. To enable this set the `prelude-new-irc-persp`
  35. variable to true as follows
  36. ``` emacs-lisp
  37. (setq prelude-new-irc-persp t)
  38. ```