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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#5135: closed ([PATCH] rcirc: Option to sort NAMES listing)
Date: Thu, 03 Jun 2010 15:30:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 03 Jun 2010 11:28:18 -0400
with message-id <jwvfx14nnkd.fsf-monnier+emacs <at> gnu.org>
and subject line Re: [gnu.org #565169] Deniz Dogan EMACS Assignment
has caused the GNU bug report #5135,
regarding [PATCH] rcirc: Option to sort NAMES listing
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
5135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5135
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
To: submit <at> debbugs.gnu.org
Subject: [PATCH] Option to sort NAMES listing
Date: Sun, 6 Dec 2009 18:16:00 +0100
[Message part 3 (text/plain, inline)]
Package: emacs,rcirc
Tags: patch
Version: 22.1
Severity: wishlist

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.

Notes:
Sorting of half-ops has not been tested, since this is a rarely used
feature of IRC. For what it's worth, half-op nicknames are prefixed
with %. Sorting of voiced users (+) works as intended by default, so
the only special case is @ < +. If someone implements support for
half-ops it should be @ < % < + < *.

-- 
Deniz Dogan
[rcirc-sort-nicknames.diff (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>
Subject: Re: [gnu.org #565169] Deniz Dogan EMACS Assignment
Date: Thu, 03 Jun 2010 11:28:18 -0400
> Chong, here is the patch: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5135

Installed, thanks,


        Stefan


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.