From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tfb@famine.OCF.Berkeley.EDU (Thomas F. Burdick) Newsgroups: gmane.emacs.help Subject: Re: Latin-1 under MacOS Date: 14 Jan 2004 16:42:04 -0800 Organization: University of California, Berkeley Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1074129525 8055 80.91.224.253 (15 Jan 2004 01:18:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2004 01:18:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 15 02:18:41 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Agw9h-0000CP-00 for ; Thu, 15 Jan 2004 02:18:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Agvfe-0006RT-NB for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2004 19:47:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: famine.ocf.berkeley.edu Original-X-Trace: agate.berkeley.edu 1074127326 78036 192.58.221.246 (15 Jan 2004 00:42:06 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Thu, 15 Jan 2004 00:42:06 +0000 (UTC) X-Newsreader: Gnus v5.7/Emacs 20.7 Original-Xref: shelby.stanford.edu gnu.emacs.help:120106 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16048 Konrad Hinsen writes: > I have spent a couple of hours trying to get Emacs on my Mac (the Carbon > build) display Latin-1 correctly, with no luck. > > The FAQ recommends (if I interpret it correctly) to add > > (create-fontset-from-fontset-spec > "-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco,ascii:-apple-m > onaco-medium-r-normal--9-90-75-75-m-90-mac-roman,latin-iso8859-1:-apple-m > onaco-medium-r-normal--9-90-75-75-m-90-mac-roman") > > (set-frame-font > "-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco") > > > to .emacs. That doesn't do anything on my system. Everything looks like > before (the font is larger than 9 point) and my German and French > accented characters (in Latin-1 encoded files copied over from a Linux > machine) look messy as before. I also tried > > (set-frame-font "fontset-monaco") > > (no effect either) and > > (set-frame-font 'fontset-monaco) > > (puts Emacs into a strange meditation state that only killing seems to > be able to terminate). I'm not sure why that isn't working for you. Here's what I have in my .emacs: ;; Apparently we need to create a "fontset" for every Mac font that we use. ;; We need to tell the fontset to include the font for *every* encoding ;; we want it to support, otherwise, we'll get little boxes. This *sucks*. (create-fontset-from-fontset-spec "-apple-monaco-medium-r-normal--10-*-*-*-*-*-fontset-monaco, ascii:-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman, latin-iso8859-1:-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman") (setq default-frame-alist `((font . "fontset-monaco") (width . 85) (height . 30) ,@default-frame-alist)) Try evaluating the call to create-fontset-from-fontset-spec that you have by pasting it into the *scratch* buffer, then hitting C-j. Do you get any errors? If not, M-x set-frame-fontfontset-monaco should work. > Konrad (slightly frustrated) (I'm not sure why it has to be so hard. It was painful for me getting this up, too.) -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----'