Subject: 24.3.50; Erc: Fails with (wrong-type-argument integerp t)

From: Jambunathan K <[email-masked]>
Date: Tue, 12 Feb 2013 20:18:04 +0530

Happens when I M-x erc RET and try logging in with random user name and
no password.

Happened twice or thrice right now.  So a bug report.

,----
| Debugger entered--Lisp error: (wrong-type-argument integerp t)
|   re-search-forward("\\(\\* \\)?" "guest1730" 3767 t)
|   erc-match-message()
|   run-hooks(erc-insert-modify-hook)
|   erc-display-line-1(#("*** guest1730 has changed mode for guest1730 to +i" 0 50 (face erc-notice-face erc-parsed [cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"] rear-sticky t)) #<buffer irc.freenode.net:6667>)
|   erc-display-line(#("*** guest1730 has changed mode for guest1730 to +i" 0 50 (face erc-notice-face erc-parsed [cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"] rear-sticky t)) nil)
|   erc-display-message([cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"] notice nil MODE-nick 110 "guest1730" 116 "guest1730" 109 "+i")
|   erc-server-MODE(#<process erc-irc.freenode.net-6667> [cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"])
|   run-hook-with-args-until-success(erc-server-MODE #<process erc-irc.freenode.net-6667> [cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"])
|   erc-call-hooks(#<process erc-irc.freenode.net-6667> [cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"])
|   erc-handle-parsed-server-response(#<process erc-irc.freenode.net-6667> [cl-struct-erc-response ":guest1730 MODE guest1730 :+i" "guest1730" "MODE" ("guest1730" "+i") "+i"])
|   erc-parse-server-response(#<process erc-irc.freenode.net-6667> ":guest1730 MODE guest1730 :+i")
|   erc-server-filter-function(#<process erc-irc.freenode.net-6667> "et to check out these other Peer-Directed Projects:\n:wolfe.freenode.net 372 guest1730 :- FOSSCON [http://www.fosscon.org] and fossevents \n:wolfe.freenode.net 372 guest1730 :- [http://www.fossevents.org], and soon we'll repeat last years \n:wolfe.freenode.net 372 guest1730 :- success with Picnics for Geeks across the globe, more info at \n:wolfe.freenode.net 372 guest1730 :- [http://geeknic.org]\n:wolfe.freenode.net 372 guest1730 :-  \n:wolfe.freenode.net 372 guest1730 :- freenode is a service of Peer-Directed Projects Center Ltd,\n:wolfe.freenode.net 372 guest1730 :- a not for profit organisation registered in England and Wales.\n:wolfe.freenode.net 372 guest1730 :-  \n:wolfe.freenode.net 372 guest1730 :- Thank you for using freenode!\n:wolfe.freenode.net 372 guest1730 :-  \n:wolfe.freenode.net 372 guest1730 :- ***************************************************************\n:wolfe.freenode.net 372 guest1730 :- Please read http://blog.freenode.net/2010/11/be-safe-out-there/\n:wolfe.freenode.net 372 guest1730 :- ***************************************************************\n:wolfe.freenode.net 376 guest1730 :End of /MOTD command.\n:guest1730 MODE guest1730 :+i\n")
`----

In GNU Emacs 24.3.50.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-02-12 on debian-6.05
Bzr revision: 111742 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.5 (squeeze)

Important settings:
  value of $LANG: en_IN
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

Major mode: ERC

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  which-function-mode: t
  iswitchb-mode: t
  ido-everywhere: t
  icomplete-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
error in process filter: Wrong type argument: integerp, t
Debug on Error enabled globally
Buffer "irc.freenode.net:6667" has a running process; kill it? (y or n)  y
Quit
Connecting to irc.freenode.net:6667... ...done
Logging in as 'guest1730'...
Logging in without password
Logging in as 'guest1730'... done
Entering debugger...
Mark set [2 times]
byte-code: Beginning of buffer [2 times]