unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Subject: Re: Preferences support for Carbon Emacs
Date: Thu, 14 Apr 2005 18:55:28 +0900	[thread overview]
Message-ID: <wl7jj5d6nj.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <wlsm2w7zna.wl%mituharu@math.s.chiba-u.ac.jp>

>>>>> On Wed, 16 Mar 2005 17:39:37 +0900, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> said:

> I also added a function that reads arbitrary application preference
> value and converts it a Lisp object.  For example, evaluation of
> (mac-get-preference "AppleLanguages") results in an array ["ja" "en"
> "fr" "de" ...] of strings in my environment.  Maybe this can be used
> for setting up the default language environment at startup time.

I've made some changes to set-locale-environment so that some system
language settings can be reflected on Mac OS.  They are consulted in
the following order at startup time:

  1. Environment variables LC_ALL, LC_CTYPE and LANG as in other
     systems.

  2. Preference AppleLocale that is set by default on Mac OS X 10.3.

  3. Preference AppleLanguages that is set by default on Mac OS X
  10.x.

  4. Variable mac-system-locale that is derived from the system
     language and region codes.  This variable is available on all
     supported Mac OS versions including Mac OS Classic.

Also, the coding system derived from the system script code is used as
default coding systems on Mac OS Classic.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

      parent reply	other threads:[~2005-04-14  9:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16  8:39 Preferences support for Carbon Emacs YAMAMOTO Mitsuharu
2005-03-16  8:59 ` YAMAMOTO Mitsuharu
2005-04-14  9:55 ` YAMAMOTO Mitsuharu [this message]

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=wl7jj5d6nj.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    /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 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).