unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Vin Che <vinche1111@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Windows Emacs shell/shell fail to execute ack perl script(locale error)
Date: Fri, 11 Jan 2013 09:59:35 -0800	[thread overview]
Message-ID: <CAAgL5S3NGSoFaeZsYxK3JqvrZUYEHsZTRQd5bjEHO-OUJJ1hbg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

Typing this command on regular cmd.exe or cygwin termal gives me results as
expected:

    $ ack hello

(I have ack.bat that execute ack.pl in my PATH)

However, when I run the same command from either shell or eshell in Emacs,
it gives me this error:


    c:\Users\Martin>"C:\cygwin\bin\perl" /cygdrive/c/Users/Martin/Desktop/
ack.pl hello
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LC_ALL = (unset),
    LANG = "ENU"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").

I tried to fix it by SETENV both variable to en_US.UTF-8 but when I run it
again, it gave me no result but froze.

[-- Attachment #2: Type: text/html, Size: 1134 bytes --]

             reply	other threads:[~2013-01-11 17:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11 17:59 Vin Che [this message]
2013-01-13 10:21 ` Windows Emacs shell/shell fail to execute ack perl script(locale error) Oleksandr Gavenko

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAgL5S3NGSoFaeZsYxK3JqvrZUYEHsZTRQd5bjEHO-OUJJ1hbg@mail.gmail.com \
    --to=vinche1111@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).