From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9105 invoked from network); 9 Aug 2005 13:29:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Aug 2005 13:29:54 -0000 Received: (qmail 13216 invoked from network); 9 Aug 2005 13:29:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Aug 2005 13:29:46 -0000 Received: (qmail 3335 invoked by alias); 9 Aug 2005 13:29:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9280 Received: (qmail 3325 invoked from network); 9 Aug 2005 13:29:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Aug 2005 13:29:39 -0000 Received: (qmail 12155 invoked from network); 9 Aug 2005 13:29:39 -0000 Received: from lila.akte.de (213.239.211.75) by a.mx.sunsite.dk with SMTP; 9 Aug 2005 13:29:34 -0000 Received: (root@lila.akte.de) by lila.akte.de id convert rfc822-to-8bit; Tue, 9 Aug 2005 15:29:23 +0200 KRecCount: 1 KInfo: virscan ok KInfo: !spam auth Received: from condor.int.spiegl.de (p54976903.dip.t-dialin.net [84.151.105.3]) by lila.akte.de via kasmail (2.9) id <1E2UAN-6MP-0-lila>; Tue, 09 Aug 2005 13:29:15 GMT Received: from condor.int.spiegl.de (spiegl@localhost [127.0.0.1]) by condor.int.spiegl.de (8.13.4/8.13.4/Debian-3) with ESMTP id j79DTE6B005230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 9 Aug 2005 15:29:14 +0200 Received: (from spiegl@localhost) by condor.int.spiegl.de (8.13.4/8.13.4/Submit) id j79DTErQ005226 for zsh-users@sunsite.dk; Tue, 9 Aug 2005 15:29:14 +0200 X-Authentication-Warning: condor.int.spiegl.de: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Tue, 9 Aug 2005 15:29:14 +0200 From: Andy Spiegl To: zsh-users@sunsite.dk Subject: Re: simple completion example? (aptitude completion doesn't work) Message-ID: <20050809132914.GA5021@spiegl.de> Mail-Followup-To: zsh-users@sunsite.dk References: <20050802180158.GA10402@spiegl.de> <19401.1123058911@trentino.groupinfra.com> <20050803101007.GA9755@spiegl.de> <2356.1123064346@trentino.groupinfra.com> <20050805154030.GA16800@spiegl.de> <32449.1123262228@trentino.groupinfra.com> <20050805193652.GA6842@spiegl.de> <30056.1123491980@trentino.groupinfra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <30056.1123491980@trentino.groupinfra.com> X-PGP-GPG-Keys: mail -s "send pgp" auto@spiegl.de X-Accepted-File-Formats: ASCII OpenOffice .rtf .pdf - *NO* Microsoft files please. X-why-you-shouldnt-use-MS-LookOut: http://www.jensbenecke.de/l-oe-en.php X-warum-man-MS-Outlook-vermeiden-sollte: http://www.jensbenecke.de/l-oe-de.php X-Message-Flag: LookOut! You are using an insecure mail reader which can be used to spread viruses. X-how-to-quote: http://learn.to/quote/ X-how-to-ask-questions: http://www.catb.org/~esr/faqs/smart-questions.html X-stupid-disclaimers: http://goldmark.org/jeff/stupid-disclaimers/ User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,UPPERCASE_25_50 autolearn=no version=3.0.4 > In general, the patch below adding LC_MESSAGES=C does the job. Thanks, but I found that LC_MESSAGES=C isn't enough. I have to put LC_ALL=C there, then it works as expected. Could that be my fault? In my RCs I've got: export LANGUAGE=de_DE@euro export LANG=de_DE@euro export LC_ALL=de_DE@euro And what's strange is that "export LC_MESSAGES=C" doesn't change the output of "locale": condor:~>locale LANG=de_DE@euro LC_CTYPE="de_DE@euro" LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL=de_DE@euro condor:~>export LC_MESSAGES=C condor:~>locale LANG=de_DE@euro LC_CTYPE="de_DE@euro" LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL=de_DE@euro > It's very tempting to try to make the parsing work with the German > output so that people get translated descriptions. However, if the > formats aren't consistent it's probably only asking for trouble. And the > completion code probably wouldn't handle the umlauts too well either. English completion is 100% better than nothing. :-) Thanks, Andy. -- http://peru.spiegl.de Projekt Radio Marañón, Jaén, Perú o _ _ _ ------- __o __o /\_ _ \\o (_)\__/o (_) -o) ----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\ ---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Minds, like parachutes, function best when open