diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-04-27 14:28:29 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-04-27 14:28:29 +0200 |
| commit | b58bfcced96c9408cc5f92f37f488ae01199433b (patch) | |
| tree | d825e02bb61de8e22d87987bb1639d0d7cc04176 /.emacs.d/init.org | |
| parent | b6044343d3cffa20c8372de85a6249a147787508 (diff) | |
| download | dotfiles-b58bfcced96c9408cc5f92f37f488ae01199433b.tar.gz dotfiles-b58bfcced96c9408cc5f92f37f488ae01199433b.zip | |
emacs: force ERC to use the authinfo mechanism
Apparently now in some channels from freenode I need to be properly
registered. After doing this, now I have to set my credentials into my authinfo
file, so it can be picked up by ERC.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d/init.org')
| -rw-r--r-- | .emacs.d/init.org | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 8ee5766..243dfea 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -1745,27 +1745,28 @@ First of all, let's add some basic modules: Now we can set all your typical =erc= variables. There is nothing too interesting here. #+BEGIN_SRC elisp - (setq erc-hide-list '("PART") - erc-prompt (lambda () (concat (buffer-name) ">")) - erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE") - erc-server-coding-system '(utf-8 . utf-8) - erc-kill-buffer-on-part t - erc-kill-queries-on-quit t - erc-kill-server-buffer-on-quit t - erc-fill-column 100 - erc-fill-prefix "" - erc-timestamp-format "[%H:%M] " - erc-insert-timestamp-function 'erc-insert-timestamp-left - erc-insert-away-timestamp-function 'erc-insert-timestamp-left - erc-hide-timestamps nil - erc-whowas-on-nosuchnick t - erc-public-away-p nil - erc-echo-notice-always-hook '(erc-echo-notice-in-minibuffer) - erc-auto-set-away nil - erc-autoaway-message "%i seconds out..." - erc-away-nickname "msabate" - erc-enable-logging t - erc-query-on-unjoined-chan-privmsg t) +(setq erc-hide-list '("PART") + erc-prompt (lambda () (concat (buffer-name) ">")) + erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE") + erc-server-coding-system '(utf-8 . utf-8) + erc-kill-buffer-on-part t + erc-kill-queries-on-quit t + erc-kill-server-buffer-on-quit t + erc-fill-column 100 + erc-fill-prefix "" + erc-timestamp-format "[%H:%M] " + erc-insert-timestamp-function 'erc-insert-timestamp-left + erc-insert-away-timestamp-function 'erc-insert-timestamp-left + erc-hide-timestamps nil + erc-whowas-on-nosuchnick t + erc-public-away-p nil + erc-echo-notice-always-hook '(erc-echo-notice-in-minibuffer) + erc-auto-set-away nil + erc-autoaway-message "%i seconds out..." + erc-away-nickname "msabate" + erc-enable-logging t + erc-query-on-unjoined-chan-privmsg t + erc-prompt-for-password nil) #+END_SRC Let's log messages whenever I receive/send them. The other option is to only do that on =/quit= or =/part=, but it's better to be safe than sorry. |
