Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
How can I configure ERC to notify me when any message is sent from certain channels?
Post Body

Hello, I am trying to configure ERC to give me a desktop notification when any message is sent in particular channels.

I looked through the code of both erc-desktop-notifications.el and erc-notify.el and neither of these packages support this feature.

It seems that I could potentially edit the erc-notifications-PRIVMSG function from erc-desktop-notifications.el to add the desired feature, however I am not able to figure out how to detect the current channel name from this function.

I was wondering if anybody knows of a way that this can be done.

(edit: I cross-posted this to SO)

Author
Account Strength
60%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,013
Link Karma
332
Comment Karma
588
Profile updated: 3 days ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago