unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Konrad Hinsen <konrad.hinsen@laposte.net>
Subject: Re: Latin-1 under MacOS
Date: Thu, 15 Jan 2004 10:13:45 +0100	[thread overview]
Message-ID: <konrad.hinsen-82B7A1.10134515012004@news2-2.free.fr> (raw)
In-Reply-To: xcv7jzukppf.fsf@famine.OCF.Berkeley.EDU

In article <xcv7jzukppf.fsf@famine.OCF.Berkeley.EDU>,
 tfb@famine.OCF.Berkeley.EDU (Thomas F. Burdick) wrote:

> 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))

Thanks!  It didn't work at first, but then I decided to remove 
everything else from my .emacs and from site-start.el. I kept just those 
lines and

(setq mac-keyboard-text-encoding kTextEncodingISOLatin1)

for the keyboard. And that works!

I will have to work through all the remaining stuff to see what causes 
the conflict. Nothing evident of course, nothing that touches the 
display. But who knows what those mode initialization files do...

> 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

The fontset generation was not the problem, no error message and 
"list-fontsets" always showed the new one. It is activating the font set 
that seems to be a bit fragile.

More later...

Konrad (cheering up :-)

  parent reply	other threads:[~2004-01-15  9:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14 23:11 Latin-1 under MacOS Konrad Hinsen
2004-01-15  0:42 ` Thomas F. Burdick
2004-01-15  2:21   ` Tim McNamara
2004-01-15  9:13   ` Konrad Hinsen [this message]
2004-01-15 19:09   ` Kai-Mikael Jää-Aro
2004-01-15 23:58     ` Thomas F. Burdick
2004-01-16 10:13       ` Kai-Mikael Jää-Aro

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=konrad.hinsen-82B7A1.10134515012004@news2-2.free.fr \
    --to=konrad.hinsen@laposte.net \
    /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).