From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
Date: Tue, 01 Oct 2013 20:43:24 -0400 [thread overview]
Message-ID: <jwv4n90fr1k.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <65FF6AAC-E4BE-42FD-86D4-221842DDC479@swipnet.se> ("Jan Djärv"'s message of "Tue, 1 Oct 2013 20:28:39 +0200")
> No they should not IMHO. As they must be started from a teminal, LANG is
> either correct or set to another value for some purpose.
IIUC the encoding used under Darwin for filenames is always utf-8.
More to the point it uses NFD canonicalization, performed by the OS when
needed; so pretending these are "byte sequences" that can use any
encoding you feel like, as is the case in POSIX, is not an option.
I guess it's OK to obey the user who wants to shot himself in the foot.
But I do wonder: is LANG really always set in a terminal? IF so, why
and by whom? Will LANG also be set properly if you use some other
terminal than Terminal.app (e.g. let's say you run `emacs -nw' inside
an Emacs.app started from the GUI)?
>> IIUC this "utf-8 everywhere" is a property of the OS (Darwin) not of the
>> GUI/toolkit. So it should apply to tty-only uses under Darwin and it
>> should not apply to GNUstep.
> Makes sense, fixed in trunk.
Thanks,
Stefan
next prev parent reply other threads:[~2013-10-02 0:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1VQKV4-0004YL-Qw@vcs.savannah.gnu.org>
2013-09-30 18:36 ` [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system Stefan Monnier
2013-09-30 19:17 ` Jan Djärv
2013-09-30 22:38 ` Stefan Monnier
2013-10-01 18:28 ` Jan Djärv
2013-10-02 0:43 ` Stefan Monnier [this message]
2013-10-02 3:12 ` Stephen J. Turnbull
2013-10-03 1:51 ` Stefan Monnier
2013-10-03 7:48 ` Andreas Schwab
2013-10-03 9:42 ` Stephen J. Turnbull
2013-10-03 14:39 ` Stefan Monnier
2013-10-02 6:29 ` Jan Djärv
2013-10-03 1:53 ` Stefan Monnier
2013-10-03 17:18 ` Jan Djärv
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=jwv4n90fr1k.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
/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 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.