From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Edward Casey" Newsgroups: gmane.emacs.help Subject: Re: emacs coding system Date: Fri, 12 Nov 2004 21:44:21 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <10pb0p079trkm5c@corp.supernews.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100317591 10580 80.91.229.6 (13 Nov 2004 03:46:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2004 03:46:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 13 04:46:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSorp-0000RU-00 for ; Sat, 13 Nov 2004 04:46:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSp0P-0006dc-Am for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Nov 2004 22:55:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xit-03!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 54 Original-Xref: shelby.stanford.edu gnu.emacs.help:126545 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21939 "Reiner Steib" 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