unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Edward Casey" <ejmn@cpinternet.com>
Subject: Re: emacs coding system
Date: Fri, 12 Nov 2004 21:44:21 -0600	[thread overview]
Message-ID: <10pb0p079trkm5c@corp.supernews.com> (raw)
In-Reply-To: v9r7myq0ve.fsf@marauder.physik.uni-ulm.de


"Reiner Steib" <reinersteib+from-uce@imap.cc> wrote in message
news:v9r7myq0ve.fsf@marauder.physik.uni-ulm.de...
> On Fri, Nov 12 2004, Thomas Beresford wrote:
>
> > Isn't there an alternative way to do that? Editing the .emacs for
example?
>
> Please don't top-post.
>
> [...]
> >>> How can I set up emacs so it will open and save files in utf-8
> >>> coding system?
> >>
> >>   export LANG=foo_BAR.utf-8
> >>
> >>I.e. set your locale.
>
> (set-language-environment "UTF-8") if you use Emacs 21.3 or CVS Emacs.
> Probably you can also use `prefer-coding-system' and friends, see the
> manual for details:
>
> (info "(emacs)Recognize Coding")
> (info "(emacs)Language Environments")
>
> Bye, Reiner.


I.
What's the difference between (set-language-environment "UTF-8") and
putting something like form below in .emacs? :

(custom-set-variables
   '(case-fold-search t)
   '(current-language-environment "UTF-8")
   '(default-input-method "latin-4-postfix"))

....

II. Related question:

I want to add upper and lower case y with macron to the
\leim\quail\latin-post.el code. I know that the cardo.ttf font has the
glyphs and I think that micross.ttf (Microsoft Sans Serif) has them. The
code points are U+0232 and U+0233 but I don't know how to insert these
characters into the lisp code. Can I specify a hex value in some format
in this context? Do I also need a specific cp_*.nls code page file
registered in MS Windows in order to get this to work?

Thanks,

Ed

  reply	other threads:[~2004-11-13  3:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2331.1100267657.8225.help-gnu-emacs@gnu.org>
2004-11-12 20:16 ` emacs coding system Reiner Steib
2004-11-13  3:44   ` Edward Casey [this message]
2004-11-13 11:28     ` Reiner Steib
2004-11-13 19:08       ` Edward Casey
2004-11-13 21:58         ` Reiner Steib
     [not found] <mailman.1399.1099920039.8225.help-gnu-emacs@gnu.org>
2004-11-08 21:12 ` Stefan Monnier
2004-11-08 13:11 Thomas Beresford

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=10pb0p079trkm5c@corp.supernews.com \
    --to=ejmn@cpinternet.com \
    /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.
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).