all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 锁住子 <girzel@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: OSX terminal, system-wide Chinese input methods
Date: Wed, 3 Dec 2008 16:44:05 -0800 (PST)	[thread overview]
Message-ID: <60b0f15b-6023-4c3d-9cc2-cf0967c27a97@i20g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.1864.1228328775.26697.help-gnu-emacs@gnu.org

On Dec 4, 2:25 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 03.12.2008 um 16:55 schrieb poppyer:
>
> > if you set your LC_CTYPE/LANG correctly
> > to a chinese one, say zh_CN.UTF8.
> > It will be automatically loaded *before* system init
>
> And it's not necessary to set these two environment variables system-
> wide, which might effect also other applications.

Yes, the only reason I was still fooling with this was that it was a
bit problematic having the language set system-wide. Setting the
variables just prior to launching emacs ought to be fine – anyway, now
that I've got a better understand of how all this works, I'm sure it
will be easy to find an appropriate solution. (And yes, it was (load-
library "subst-gb2312"))

Thank you both for the help!

Eric

On the command line  
> it's possible to type cautiously:
>
>         env LANG=... LC_CTYPE=... <some command> [&]
>
> (``[&]´´ stands for optional parameter, i.e., when you end your  
> command with ``&´´ the programme will be sent into the background and  
> the shell will be open for new input, but it's no must, and you can  
> correct this later when needed)
>
> If this seems to be too complicated you can also use a shell script.  
> In Mac OS X, to launch an application bundle, you could either:
>
>         #!/bin/bash
>         export LANG=... LC_CTYPE=...
>         open /Applications/<name of application>.app
>
> or
>
>         #!/bin/bash
>         env LANG=... LC_CTYPE=... open /Applications/<name of application>.app
>
> The latter, i.e., the last line, can also be used on the command line  
> and you could also use it in AppleScript to launch a Carbon or a  
> Cocoa Emacs from a menu.
>
> --
> Greetings
>
>    Pete
>
> One cannot live by television, video games, top ten CDs, and dumb  
> movies alone.
>                                 – Amiri Baraka, 1999



      parent reply	other threads:[~2008-12-04  0:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21  4:37 OSX terminal, system-wide Chinese input methods Eric Abrahamsen
2008-11-21 10:15 ` Peter Dyballa
     [not found] ` <mailman.929.1227262522.26697.help-gnu-emacs@gnu.org>
2008-12-03 10:10   ` 锁住子
2008-12-03 15:11     ` Peter Dyballa
     [not found]     ` <mailman.1838.1228317129.26697.help-gnu-emacs@gnu.org>
2008-12-03 15:55       ` poppyer
2008-12-03 18:25         ` Peter Dyballa
     [not found]         ` <mailman.1864.1228328775.26697.help-gnu-emacs@gnu.org>
2008-12-04  0:44           ` 锁住子 [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

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

  git send-email \
    --in-reply-to=60b0f15b-6023-4c3d-9cc2-cf0967c27a97@i20g2000prf.googlegroups.com \
    --to=girzel@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.
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.