7
votes
How to get notifications from Erc in macOS?
Another way is to use the ns-do-applescript elisp function:
(ns-do-applescript "display notification \"hello world\"")
or
(ns-do-applescript "display notification \"hello world\" with title \"some ...
3
votes
Accepted
erc-mode : how to hide alerts when users join/leave a channel
(setq erc-hide-list '("JOIN" "PART" "QUIT"))
You can use describe-variable if you are looking for variables. It's very convenient when you want to change a certain behaviour and you don't the ...
3
votes
Accepted
How to disable ERC connection notifications?
Try setting C-hv erc-track-exclude-types
For me, the original value was ("NICK" "333" "353") and I have it set to:
("JOIN" "KICK" "NICK" &...
2
votes
Close all ERC buffers
I would use:
M-x ibuffer (this is my C-xC-b binding)
Either of these to mark the buffers of interest:
*M erc-mode RET
%m erc RET
D to kill marked buffers
1
vote
Accepted
global-set-key hotkeys not updating after reevaluating .ercrc.el file
move to the end of the file, and I re-evaluate the file by pressing C-x C-e
That's not what C-xC-e does.
C-hkC-xC-e tells you:
C-x C-e runs the command eval-last-sexp
...
Evaluate sexp before point
...
1
vote
Accepted
How to check if erc is running
There are two aspects: is there an erc process running in the buffer? and if there is such a process, is there an established network connection to the server?
If you look in erc.el, you will see how ...
1
vote
How to disable ERC connection notifications?
If this is on account of erc-notifications-mode generating a notification because your nick was mentioned in the channel (on account of being listed in "*** Users on ..." message), then you'll have to ...
1
vote
How to get notifications from Erc in macOS?
Thanks to jbornhold answer in this reddit discussion, I was able to enable notifications for erc nick mentions.
Here's how you can do it:-
install terminal notifier with brew install terminal-...
1
vote
How to open an IRC session using SASL?
I ended up patching the erc-login function to use the SASL extension. I first installed this package https://github.com/joseph-gay/erc-sasl and added this to my init file:
(require 'erc-sasl)
(add-to-...
1
vote
Accepted
Using an advice to set default parameters in a interactive function
You can create your own command to set all variables before starting ERC:
(defun my/erc-freenode ()
(interactive)
(let ((erc-plist (car (auth-source-search :host "irc.freenode.net")))
(...
1
vote
how to get persistent ERC sessions?
As an alternative solution you can use BNC proxy like ZNC. It's a service in the middle between IRC client and networks. It will keep your connection alive so you can connect to it, read the channel ...
1
vote
How to get notifications from Erc in macOS?
Actually emil's suggestion is good.
A quick and dirty way is override erc-notifications-notify.
Add the below code to your ~/.emacs.
No need to install dbus & extra files.
(require 'erc-desktop-...
Only top scored, non community-wiki answers of a minimum length are eligible