all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: David Edmondson <dme@dme.org>
Cc: 22380@debbugs.gnu.org
Subject: bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes
Date: Thu, 04 Feb 2016 16:52:18 +1100	[thread overview]
Message-ID: <87lh7110q5.fsf@gnus.org> (raw)
In-Reply-To: <1453287408-68247-1-git-send-email-dme@dme.org> (David Edmondson's message of "Wed, 20 Jan 2016 10:56:48 +0000")

David Edmondson <dme@dme.org> writes:

> If a user has a mode which is unknown, emit a message rather than
> raising an error.
> ---
>  lisp/erc/erc.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
> index 56317b8..b7f40a8 100644
> --- a/lisp/erc/erc.el
> +++ b/lisp/erc/erc.el
> @@ -4830,7 +4830,7 @@ channel."
>  			((pred (eq op-ch))    op)
>  			((pred (eq adm-ch))   admin)
>  			((pred (eq own-ch))   owner)
> -			(_ (error "Unknown prefix char `%S'" ch) voice))
> +			(_ (message "Unknown prefix char `%S'" ch) voice))

Thanks; applied to emacs-25.

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





      reply	other threads:[~2016-02-04  5:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 16:49 bug#22380: 24.5; erc doesn't handle the ! prefix David Edmondson
2016-01-20 10:55 ` bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes David Edmondson
2016-01-20 10:56 ` David Edmondson
2016-02-04  5:52   ` 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=87lh7110q5.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=22380@debbugs.gnu.org \
    --cc=dme@dme.org \
    /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.