From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5135: [gnu.org #565169] Deniz Dogan EMACS Assignment Date: Thu, 03 Jun 2010 10:56:32 -0400 Message-ID: <87mxvcdv1b.fsf@stupidchicken.com> References: <876321udur.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275577092 21942 80.91.229.12 (3 Jun 2010 14:58:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2010 14:58:12 +0000 (UTC) Cc: 5135@debbugs.gnu.org, Ryan Yeske To: Deniz Dogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 03 16:58:10 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OKBry-0002q2-My for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 16:58:07 +0200 Original-Received: from localhost ([127.0.0.1]:46729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKBrx-00041w-Nx for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 10:58:05 -0400 Original-Received: from [140.186.70.92] (port=53133 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKBrl-0003zZ-Ry for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 10:57:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKBrk-0008Ri-Nj for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 10:57:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50138) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKBrk-0008Re-MQ for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 10:57:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OKBqw-0006Zf-Ic; Thu, 03 Jun 2010 10:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2010 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 5135-submit@debbugs.gnu.org id=B5135.127557700025263 (code B ref 5135); Thu, 03 Jun 2010 14:57:02 +0000 Original-Received: (at 5135) by debbugs.gnu.org; 3 Jun 2010 14:56:40 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKBqZ-0006ZQ-QQ for submit@debbugs.gnu.org; Thu, 03 Jun 2010 10:56:40 -0400 Original-Received: from pantheon-po14.its.yale.edu ([130.132.50.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKBqW-0006ZK-UK for 5135@debbugs.gnu.org; Thu, 03 Jun 2010 10:56:38 -0400 Original-Received: from furry (dhcp128036014059.central.yale.edu [128.36.14.59]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o53EuWeR031516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 10:56:32 -0400 Original-Received: by furry (Postfix, from userid 1000) id 089B316D427; Thu, 3 Jun 2010 10:56:32 -0400 (EDT) In-Reply-To: (Deniz Dogan's message of "Thu, 3 Jun 2010 10:41:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 03 Jun 2010 10:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37505 Archived-At: Deniz Dogan 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 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.