vim tutor support file
Pierre Habouzit
pierre.habouzit@m4x.org
Tue, 15 Mar 2005 13:42:15 +0100
--nextPart9949544.d6hnJvpVPP
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Le Mardi 15 Mars 2005 13:34, Bram Moolenaar a =E9crit=A0:
> Pierre Habouzit wrote:
> > I sent that to the tutor/tutor.vim maintainer, but his mailbox
> > bounced, so I post it to the list, hoping someone would take it
> > into account.
>
> I'm looking into this.
>
> > Hi, I'm one of the debian VIM packaging crew.
> >
> > We have a user that complained for vimtutor not respecting usual
> > LC_ALL/LC_MESSAGE/... semantics (see http://bugs.debian.org/289113)
> >
> > attached is a patch that corrects the issue, and that will be
> > included in our next vim upload.
>
> I don't think $LC_MESSAGE applies here. This is not about (error)
> messages. Checking $LC_ALL is useful though.
agreed.
> There are a few mistakes in there. How about this:
oh yeah, too quick copy and paste :/
> let s:lang =3D ""
> if exists("v:lang")
> let s:lang =3D v:lang
> elseif strlen($LC_ALL) > 0
> let s:lang =3D $LC_ALL
> elseif strlen($LANG) > 0
> let s:lang =3D $LANG
> endif
> if s:lang =3D=3D "C"
> let s:lang =3D ""
> endif
agreed too.
=2D-=20
=B7O=B7 Pierre Habouzit
=B7=B7O
OOO http://www.madism.org
--nextPart9949544.d6hnJvpVPP
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Signed by Pierre Habouzit <pierre.habouzit@m4x.org>
iD8DBQBCNtgovGr7W6HudhwRAuOrAJkB8VJtodj9vnLm7ElY2efbBrMIMACeIYx4
75cXyNYSiSJ0I8htWR32JPc=
=c7Le
-----END PGP SIGNATURE-----
--nextPart9949544.d6hnJvpVPP--