all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Windows Emacs shell/shell fail to execute ack perl script(locale error)
@ 2013-01-11 17:59 Vin Che
  2013-01-13 10:21 ` Oleksandr Gavenko
  0 siblings, 1 reply; 2+ messages in thread
From: Vin Che @ 2013-01-11 17:59 UTC (permalink / raw)
  To: help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-13 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 17:59 Windows Emacs shell/shell fail to execute ack perl script(locale error) Vin Che
2013-01-13 10:21 ` Oleksandr Gavenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.