unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build
@ 2014-05-11 14:10 Shigeru Fukaya
  2014-05-11 15:40 ` Eli Zaretskii
  2014-05-13  4:37 ` bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build,,Previous Next Paul Eggert
  0 siblings, 2 replies; 5+ messages in thread
From: Shigeru Fukaya @ 2014-05-11 14:10 UTC (permalink / raw)
  To: 17464

In cygwin build, file-attributes/directory-files-and-attributes with
id-format non-nil currently return UIDs/GIDs as singlebyte.

We expect it to be multibyte as in MinGW build.


-- Shigeru





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

* bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build
  2014-05-11 14:10 bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build Shigeru Fukaya
@ 2014-05-11 15:40 ` Eli Zaretskii
  2014-05-11 18:11   ` Shigeru Fukaya
  2014-05-13  4:37 ` bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build,,Previous Next Paul Eggert
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2014-05-11 15:40 UTC (permalink / raw)
  To: Shigeru Fukaya; +Cc: 17464

> From: Shigeru Fukaya <shigeru.fukaya@gmail.com>
> Date: Sun, 11 May 2014 23:10:22 +0900
> 
> In cygwin build, file-attributes/directory-files-and-attributes with
> id-format non-nil currently return UIDs/GIDs as singlebyte.

What is your value of locale-coding-system?  If it's nil, then your
problem is likely outside Emacs: look at your LC_* and LANG variables
to make sure they are set up correctly.





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

* bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build
  2014-05-11 15:40 ` Eli Zaretskii
@ 2014-05-11 18:11   ` Shigeru Fukaya
  2014-05-11 18:20     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Shigeru Fukaya @ 2014-05-11 18:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 17464

>What is your value of locale-coding-system?  If it's nil, then your
>problem is likely outside Emacs: look at your LC_* and LANG variables
>to make sure they are set up correctly.

My locale-coding-system was nil.
Changing it to 'utf-8' makes IDs multibytes, thank you.

And all environment variables you mentioned were all nil.

When I run emacs from cygwin bash shell, which sets LANG to 'C.UTF-8'
and sets no LC_*, both IDs are made multibytes.

I'm running Emacs directly invoking runemacs througn BAT script.
I should have take some more appropriate way.

Anyway, sorry for annoyance.


-- Shigeru





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

* bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build
  2014-05-11 18:11   ` Shigeru Fukaya
@ 2014-05-11 18:20     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2014-05-11 18:20 UTC (permalink / raw)
  To: Shigeru Fukaya; +Cc: 17464

> From: Shigeru Fukaya <shigeru.fukaya@gmail.com>
> Cc: 17464@debbugs.gnu.org
> Date: Mon, 12 May 2014 03:11:59 +0900
> 
> I'm running Emacs directly invoking runemacs througn BAT script.

runemacs is supposed to be used only for the native Emacs build (which
determines its locale-coding-system by other means than looking at the
environment variables).  I think the Cygwin build, like any other
Posix build, requires the environment variables be set if you want to
be able to handle non-ASCII user/group names.  So you need to invoke
it from Bash, or else set these variables in the global Windows
environment.





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

* bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build,,Previous Next
  2014-05-11 14:10 bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build Shigeru Fukaya
  2014-05-11 15:40 ` Eli Zaretskii
@ 2014-05-13  4:37 ` Paul Eggert
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2014-05-13  4:37 UTC (permalink / raw)
  To: 17464-done

Thanks to all.  Since this doesn't appear to be an Emacs bug I'm closing 
the report.





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

end of thread, other threads:[~2014-05-13  4:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-11 14:10 bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build Shigeru Fukaya
2014-05-11 15:40 ` Eli Zaretskii
2014-05-11 18:11   ` Shigeru Fukaya
2014-05-11 18:20     ` Eli Zaretskii
2014-05-13  4:37 ` bug#17464: 24.3.90; file-attributes/directory-files-and-attributes of cygwin build,,Previous Next Paul Eggert

Code repositories for project(s) associated with this public inbox

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

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).