From: Andy Spiegl <zsh.Andy@spiegl.de>
To: zsh-users@sunsite.dk
Subject: Re: simple completion example? (aptitude completion doesn't work)
Date: Tue, 9 Aug 2005 15:29:14 +0200 [thread overview]
Message-ID: <20050809132914.GA5021@spiegl.de> (raw)
In-Reply-To: <30056.1123491980@trentino.groupinfra.com>
> 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
next prev parent reply other threads:[~2005-08-09 13:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 18:01 simple completion example? Andy Spiegl
2005-08-03 8:48 ` Oliver Kiddle
2005-08-03 10:10 ` Andy Spiegl
2005-08-03 10:19 ` Oliver Kiddle
2005-08-05 15:40 ` simple completion example? (aptitude completion doesn't work) Andy Spiegl
2005-08-05 17:17 ` Oliver Kiddle
2005-08-05 19:36 ` Andy Spiegl
[not found] ` <30056.1123491980@trentino.groupinfra.com>
2005-08-09 13:29 ` Andy Spiegl [this message]
2005-08-10 11:39 ` Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050809132914.GA5021@spiegl.de \
--to=zsh.andy@spiegl.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).