GNU bug report logs - #5135
[PATCH] rcirc: Option to sort NAMES listing

Previous Next

Package: emacs;

Reported by: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>

Date: Sun, 6 Dec 2009 17:20:04 UTC

Severity: wishlist

Tags: patch

Found in version 22.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
Cc: 5135 <at> debbugs.gnu.org, Ryan Yeske <rcyeske <at> gmail.com>
Subject: bug#5135: [gnu.org #565169] Deniz Dogan EMACS Assignment
Date: Thu, 03 Jun 2010 10:56:32 -0400
Deniz Dogan <deniz.a.m.dogan <at> gmail.com> writes:

> This patch adds the user option to sort nickname listings in the way
> that many other IRC clients sort them.
>
> Details:
> * Added rcirc-nickname<, a function which acts like string< but for
> IRC nicknames, making  <at>  less than + and comparing case-insensitively.
> * Added rcirc-sort-nicknames-join, a function which takes a string of
> IRC nicknames and a separator, sorts the nicknames and returns the
> result.
> * Added rcirc-sort-nicknames, a customizable variable which when
> non-nil will make rcirc sort any NAMES responses. nil by default.
> * Changed rcirc-handler-366 (RPL_ENDOFNAMES) to respect rcirc-sort-nicknames.

If most IRC clients sort nicknames this way, it may not be necessary to
create a new option `rcirc-sort-nicknames'.  We should just perform the
sorting automatically.  What do you think?  (I don't know enough about
"typical" IRC behavior to say).

Also, your docstrings need work.  Please read the Documentation node in
the Elisp manual:

     When you write a documentation string, make the first line a
     complete sentence (or two complete sentences) since some
     commands, such as `apropos', show only the first line of a
     multi-line documentation string.




This bug report was last modified 14 years and 356 days ago.

Previous Next


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