all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Jason A. Spiro" <jasonspiro4@gmail.com>
Cc: 3594@debbugs.gnu.org
Subject: bug#3594: Please make it easy to make ERC beep on /msg; better yet, make it  happen by default
Date: Sun, 27 Dec 2015 23:39:49 +0100	[thread overview]
Message-ID: <874mf34itm.fsf@gnus.org> (raw)
In-Reply-To: <c241693f0906170110u16f7492bv4a258d6db842d552@mail.gmail.com> (Jason A. Spiro's message of "Wed, 17 Jun 2009 08:10:38 +0000")

"Jason A. Spiro" <jasonspiro4@gmail.com> writes:

> Please modify ERC so that I can easily make ERC beep when I get
> private messages.  Also, if possible, please enable this beeping by
> default.
>
> == Implementation idea ==
>
> I'm not an ERC expert but ISTM that a way to implement this would be
> to follow these steps:
>
> *  Create a customize-configurable option for me to specify that I
> want ERC to notify me when I get a new /msg.
> *  Create a function that will beep if that option is enabled.

Looking at the code, `erc-echo-notice-always-hook' is run when you get a
privmsg, so you can just hook into that.  I think.

> *  Add that function to the erc-server-PRIVMSG-functions hook by default.

I think beeping is annoying, so I don't think that should be the default.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2015-12-27 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  8:10 bug#3594: Please make it easy to make ERC beep on /msg; better yet, make it happen by default Jason A. Spiro
2015-12-27 22:39 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mf34itm.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=3594@debbugs.gnu.org \
    --cc=jasonspiro4@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.