<<< Date Index >>>     <<< Thread Index >>>

bug#1677: marked as done (mutt-1.4.1i: Mutt ignores locales other then LC_ALL)



Your message dated Sat, 25 Oct 2003 09:05:39 -0500
with message-id <20031025140539.GB16256@xxxxxxxxxxxxx>
and subject line bug#1677: mutt-1.4.1i: Mutt ignores locales other then LC_ALL
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 25 Oct 2003 10:57:18 +0000
>From vvk@xxxxxxxxxxxxxxxxx Sat Oct 25 12:57:16 2003
Received: from jb.bel.pl ([212.160.176.11] helo=ciapek.wojtus.net)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1ADM6d-00062q-00
        for <submit@xxxxxxxxxxxx>; Sat, 25 Oct 2003 12:57:16 +0200
Received: from vvk by ciapek.wojtus.net with local (Exim 4.20)
        id 1ADM8z-0003kx-5K; Sat, 25 Oct 2003 12:59:41 +0200
Subject: mutt-1.4.1i: Mutt ignores locales other then LC_ALL
To: submit@xxxxxxxxxxxx
Message-Id: <E1ADM8z-0003kx-5K@xxxxxxxxxxxxxxxxx>
From: Wojciech Scigala <vvk@xxxxxxxxxxxxxxxxx>
Date: Sat, 25 Oct 2003 12:59:41 +0200
X-Spam-Status: No, hits=-2.6 required=5.0
        tests=BAYES_20
        version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Package: mutt
Version: 1.4.1i
Severity: normal

-- Please type your report below this line

My mutt always sets language preferences (at least LC_MESSAGES and LC_CTYPE) 
based on LC_ALL enviroment setting. I can have LC_ALL=en_US.US-ASCII and 
LC_MESSAGES=pl_PL.ISO8859-2 and I still get english interface. Also 8bit 
characters from ISO8859-2 are not printed unless LC_ALL=pl_PL.ISO8859-2 is set.

Building mutt with LOCALE_HACK doesn't help.

I didn't check other locale variables. System is FreeBSD 5.1-RELEASE.

-- Build environment information

(Note: This is the build environment installed on the system
muttbug is run on.  Information may or may not match the environment
used to build mutt.)

- gcc version information
cc -I/usr/local/include
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.2 [FreeBSD] 20030205 (release)

- CFLAGS
-Wall -O -pipe -mcpu=pentiumpro

-- Mutt Version Information

Mutt 1.4.1i (2003-03-19)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: FreeBSD 5.1-RELEASE (i386) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
-USE_FCNTL  +USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

vvv.initials
patch-1.4.1.rr.compressed.1

--- Begin /home/vvk/.muttrc
set alternates = ((.*)@wojtus.net)|(vvk@(.*))
set charset = iso-8859-2
set send_charset="us-ascii:iso-8859-2:utf-8"
set fast_reply = yes
set abort_nosubject = ask-no
set to_chars=" +TCF "
set sort = threads
set sort_aux = reverse-score
set index_format = "%4C %Z %{%b %d} %-15.15L (%4l) [%4N] %s"
set editor = /usr/local/bin/vim
set timeout = 60
set include = yes
set smileys = "(>From)|(:[-^]?[][)(><}{|/DP])"
set reply_regexp = "^((re|odp|aw):[ \t]*)*"
set forward_format = "Fwd: %s"
unset sig_dashes
unset mark_old
set alias_file = "~/.mutt/mail_aliases"
source ~/.mutt/mail_aliases
mono header     bold    "^(from|subject):"
ignore *
unignore from: to cc subject date
unhdr_order *
hdr_order from to date subject cc
score '~C (.*)security-notifications@(.*)freebsd' =1000
score '~C (.*)security-advisories@(.*)freebsd' =1000
score ~l =250
score '~f MAILER-DAEMON' =75
score ~p 1000
score '~s (.*)' 50
score '~C (.+)' 50
score '~s "credit|free|fast|sex|best|join|loan|visit|penis|drugs|pills|debt"' 
-50
score '~s "darmo|gratis|kasa|forsa|friko|okazja"' -50
set score_threshold_delete=50
set score_threshold_read=60
set score_threshold_flag=1000
color index brightgreen default ~N
color index yellow default ~O
color index red default ~D
set pgp_replyencrypt
set pgp_timeout=180
set pgp_sign_as="0x1D1FD352"
source ~/.mutt/gnupg
--- End /home/vvk/.muttrc


--- Begin /usr/local/etc/Muttrc
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
macro index \eb '/~b ' 'search in message bodies'
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
macro generic <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show Mutt 
documentation"
macro index   <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show Mutt 
documentation"
macro pager   <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show Mutt 
documentation"
--- End /usr/local/etc/Muttrc


---------------------------------------
Received: (at 1677-done) by bugs.guug.de; 25 Oct 2003 14:03:16 +0000
>From aaron@xxxxxxxxxx Sat Oct 25 16:03:12 2003
Received: from pug.qqx.org ([169.207.100.17] ident=x)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1ADP0a-0007rh-00
        for <1677-done@xxxxxxxxxxxx>; Sat, 25 Oct 2003 16:03:12 +0200
Received: from frell.qqx.org (gay-deceiver.qqx.org [65.29.187.45])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (Client CN "Aaron Schrab", Issuer "qqx.org" (verified OK))
        by pug.qqx.org (Postfix) with ESMTP
        id 78E6A788E; Sat, 25 Oct 2003 09:05:40 -0500 (CDT)
Received: by frell.qqx.org (Postfix, from userid 1000)
        id DC7D6AF5E1; Sat, 25 Oct 2003 09:05:39 -0500 (CDT)
Date: Sat, 25 Oct 2003 09:05:39 -0500
From: Aaron Schrab <aaron@xxxxxxxxxx>
To: Wojciech Scigala <vvk@xxxxxxxxxxxxxxxxx>, 1677-done@xxxxxxxxxxxx
Subject: Re: bug#1677: mutt-1.4.1i: Mutt ignores locales other then LC_ALL
Message-ID: <20031025140539.GB16256@xxxxxxxxxxxxx>
References: <E1ADM8z-0003kx-5K@xxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1ADM8z-0003kx-5K@xxxxxxxxxxxxxxxxx>
User-Agent: Mutt/1.5.3i
X-Spam-Status: No, hits=-9.5 required=5.0
        tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
              REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

At 12:59 +0200 25 Oct 2003, Wojciech Scigala <vvk@xxxxxxxxxxxxxxxxx> wrote:
> My mutt always sets language preferences (at least LC_MESSAGES and
> LC_CTYPE) based on LC_ALL enviroment setting. I can have
> LC_ALL=en_US.US-ASCII and LC_MESSAGES=pl_PL.ISO8859-2 and I still get
> english interface. Also 8bit characters from ISO8859-2 are not printed
> unless LC_ALL=pl_PL.ISO8859-2 is set.

Not a bug.  The definition of LC_ALL is that it will override the other
locale variables.  Use the LANG environment variable to set a default
locale that can be overridden by the LC_* variables for specific types
of locale settings.