Here is the patch to add this feature On Wed, Jun 11, 2014 at 6:34 AM, wrote: > ERC lacks support for user modes other than +o/+v (OP/VOICE), making it > difficult for IRC users to know what modes any user may have. Currently > user nicknames do not include any mode prefix by default. By setting > `erc-format-nick-function' to erc-format-@nick, a user can enable prefixes > @, or +, added to user nicknames. While that may be a sane default, most > IRC > servers support more user modes. ERC already parses the prefixes sent in > the server parameters, and adds available modes to a list, but they are > never utilized. > > > In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu) > of 2013-07-26 on roseapple, modified by Debian > System Description: Ubuntu 13.10 > > Configured using: > `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' > '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' > '--localstatedir=/var/lib' '--infodir=/usr/share/info' > '--mandir=/usr/share/man' '--with-pop=yes' > > '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' > '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=no' > '--without-gconf' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 > -fstack-protector --param=ssp-buffer-size=4 -Wformat > -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions > -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' > > Important settings: > value of $LC_CTYPE: en_US.UTF-8 > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: Lisp Interaction > > Minor modes in effect: > paredit-mode: t > erc-services-mode: t > ido-everywhere: t > recentf-mode: t > show-paren-mode: t > 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 > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > A C-x C-s C-x ESC O C C-x ESC O D C-x ESC O C C-x ESC > O D C-x ESC O C h a h a RET n i c e RET C-x ESC O D > C-x ESC O C C-x ESC O D ESC O B ESC O B C-x C-s C-x > f e r c . e l RET ESC O A ESC O A C-a C-k C-y \ RET > DEL RET RET C-y ESC O A ESC O A ESC O D ESC O D ESC > O D ESC O D ESC O D ESC O D ESC O D m y - C-x C-s ESC > O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A > ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC > O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A > ESC O A TAB ESC O B TAB ESC O B TAB ESC O B TAB ESC > O B TAB ESC O B TAB ESC O A TAB ESC O A TAB ESC O A > TAB ESC O A C-a TAB ESC O D C-@ C-a DEL ESC O B TAB > ESC O D C-@ C-a DEL ESC O B TAB ESC O D C-@ C-a DEL > ESC O B TAB ESC O D C-@ C-a DEL C-x C-s C-x C-c ESC > [ > 0 ; 9 5 ; c C-x C-c ESC [ > 0 ; 9 5 ; c C-x C-c > ESC [ > 0 ; 9 5 ; c ESC x r e p o r t - e m a c s - > b u g RET > > Recent messages: > Wrote /home/l3thal/projects/emacs-dev/lisp/erc/erc.el > Mark set [4 times] > Saving file /home/l3thal/projects/emacs-dev/lisp/erc/erc.el... > Wrote /home/l3thal/projects/emacs-dev/lisp/erc/erc.el > (No files need saving) > When done with this frame, type C-x 5 0 > (No files need saving) > When done with this frame, type C-x 5 0 > (No files need saving) > When done with this frame, type C-x 5 0 > > Load-path shadows: > /usr/share/emacs/24.3/site-lisp/debian-startup hides > /usr/share/emacs/site-lisp/debian-startup > /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides > /usr/share/emacs/24.3/lisp/textmodes/flyspell > /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides > /usr/share/emacs/24.3/lisp/textmodes/ispell > > Features: > (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode > mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader > sendmail rfc2047 rfc2045 ietf-drums mail-utils tabify misearch > multi-isearch vc-git gnutls network-stream starttls tls server > magit-autoloads info git-rebase-mode-autoloads git-commit-mode-autoloads > finder-inf package awesome untabify-file paredit erc-init erc-services > erc-names ido recentf tree-widget paren erc-menu erc-join erc-ring > erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button > wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend > erc-compat format-spec auth-source eieio gnus-util time-date mm-util > mail-prsvr password-cache cus-start cus-load warnings slime-fancy > slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references > slime-compiler-notes-tree slime-scratch slime-presentations bridge > slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c > slime-editing-commands slime-autodoc advice advice-preload eldoc > slime-repl slime-parse slime byte-opt bytecomp byte-compile cconv > derived help-fns edmacro kmacro gud compile tool-bar apropos etags > arc-mode archive-mode noutline outline easy-mmode easymenu pp comint > regexp-opt ansi-color ring hyperspec cl-macs gv thingatpt browse-url cl > cl-lib slime-autoloads ediff-hook vc-hooks lisp-float-type > tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow > timer select mouse jit-lock font-lock syntax facemenu font-core frame > cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese hebrew greek romanian slovak czech european ethiopic > indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple > abbrev minibuffer loaddefs button faces cus-face macroexp files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote make-network-process > dbusbind multi-tty emacs) >