Re: [Evolution] Changing folder sort order

On Fri, 2005-01-07 at 19:33 -0500, Trey Sizemore wrote:
On Mon, 2005-01-03 at 12:23 +0100, guenther wrote:
On Sun, 2005-01-02 at 22:13 -0500, Trey Sizemore wrote:
On Wed, 2004-12-29 at 01:07 +0100, guenther wrote:

*sigh*  You snipped too much and didn't answer my questions. (see below)

In a previous post you posted the output of 'locale' and it was set to C
for most of your locale vars. Which actually sorts uppercase before

The relevant environment variable is LC_COLLATE. Open a terminal and run
the following command to see that current setting:

Here's what I have now:

salamander# locale

It's still sorting Evo folders case-sensitively. :-(

Yes, sure. The value of LC_COLLATE is not a valid locale. LANG is. Note
the difference, there are no double quotes for LANG value.

'locale' just as 'echo $LC_COLLATE' must not display any double quotes.
If it does, the value is not a valid locale and it falls back to C.

I specifically asked you how you set (changed) the locale values. Apart

So, how did you do this?

from the currently used invalid values, the locales settings of your
shell are not necessarily the same as the ones used by X. If they differ
on your machine, the output of 'locate' in a terminal doesn't say
anything about your X locales.

I told you how to set LC_COLLATE and run Evolution to actually see for
yourself, that it *will* sort case insensitive. Again:

$ LC_COLLATE=en_US evolution

Please run that command in a terminal.

Wherever you set those locales, fix it and it will work as you expect
and correctly sort case insensitive.

Did you even try this?

I get this error when I run as you mention:

bash-2.05b$ LC_COLLATE=en_US evolution

(evolution-2.0:1115): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(evolution:1115): Gdk-WARNING **: locale not supported by C library

Two options:

a) Locale en_US isn't installed on your system and the warning is about
   your LC_COLLATE setting.
b) Any other of the locale variables set is not installed (or invalid)
   and the warning is about those ones, rather than LC_COLLATE.

Having the invalid "en_US.UTF-8" settings from above in mind, I am
pretty sure it's option b. Which doesn't mean anything else, than I said
previously: A locale value with quotes is invalid.

Anyway, you did not mention anything about the issue we are after:

  Did this sort case insensitive ???

To see, which locale setting the warnings are about, you need to check
your installed and available locales.

In the same terminal where you run the above command, what do the
following commands return?

$ locale
$ ls -d /usr/share/locale/en*

(Note: Depending on your distro, the actual path in the second command
may vary. This is very likely the case, if you get an error message.)

Remember, there must be no quotes in the output of the 'locale' command.

Sorry for truncating the last post and leaving out some detail.

Never mind...

But please answer those questions, and be more verbose in your replies.
Pasting the output alone isn't sufficient. Did running Evolution from a
terminal with LC_COLLATE explicitly set sort case insensitive?


char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

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