GNU bug report logs - #22380
24.5; erc doesn't handle the ! prefix

Previous Next

Package: emacs;

Reported by: David Edmondson <dme <at> dme.org>

Date: Fri, 15 Jan 2016 16:50:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 24.5

Fixed in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 22380 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Edmondson <dme <at> dme.org>
Cc: 22380 <at> debbugs.gnu.org
Subject: Re: bug#22380: [PATCH v1] erc: Don't raise an error for unknown user
 modes
Date: Thu, 04 Feb 2016 16:52:18 +1100
David Edmondson <dme <at> 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




This bug report was last modified 9 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.