demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] Bug: classification system (a:, ab: etc.) does not matc


From: David MENTRE
Subject: Re: [Demexp-dev] Bug: classification system (a:, ab: etc.) does not match alphabetical order
Date: Sun, 16 Apr 2006 16:01:10 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Felix HENRY <address@hidden> writes:

> However, it seems that the ':' character is after 'a' 'b' etc.
> because I get the following order:
> aa:maths
> ab:physics
> a:education
> b:ecology

In fact no, ':' (ASCII code 0x3A) is before 'A' (0x41) and 'a'
(0x61). So the bug is probably related to the way I wrote the
code. Well, after thinking at it a little, the sorting in the GTK
interface is done by the GTK widget. So that might be a side effect of
the locale. Ok, I have checked this hypothesis by launching the client
with LANG=C in the environment, and this is indeed the case. So the good
news, we know why it behave that way. The bad news, I don't know how to
fix it.

One possible fix: could you try to put spaces to fill-up the part before
the column, (like "a :education")?

Best wishes,
d.
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A





reply via email to

[Prev in Thread] Current Thread [Next in Thread]