Re: [Mac-emacs-users]

Andrew Choi <[email protected]> Fri, 04 Oct 2002 13:19:14 -0600
Newsgroups gmane.emacs.macintosh.user
Message-ID <[email protected]>
> While you are fixing things:
> 
> I have two gripes with the CVS version of 21.3.50 (last fetched at Sep 
> 18, so please tell me this has been fixed already):
> 
> 1) The default installation does not set the selection coding system.
> So, pasting non-ASCII characters generates coding errors.
> The following .emacs entry solves the problem only partially, because 
> the selection coding system actually depends on what is selected, but 
> it works for most European applications:
> (if (eq window-system 'mac)
>      (progn
>        (setq selection-coding-system 'mac-roman)
>        ))
> 
> (Setting the selection coding system should also obviate the need for 
> the \r-to-\n replacement loop, no?)

This is just a simple matter of configuration.  I have no objection to
putting this in term/mac-win.el as the default.  I'll do this when I
can.  Meanwhile please continue to set it in .emacs.

> 2) I can't seem to tame the fonts.  I want to use andale-mono as my 
> main font (much better readability), and I want to use it at size 9, 
> because my Powerbook is only 1152x768.
> [..]
> 
> This works, so there is no reason to complain in the code above, but
> of course all non-ascii characters stand out in the etl fonts (which
> is *mucho ugly* in German text :-).  k

I cannot work on a fix at this time.  I invite anyone who can to
contribute such a patch.  At size 9, you can use Monaco instead of
Andale Mono.  To properly display latin-1 characters, do this:

  (create-fontset-from-fontset-spec
"-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco,
ascii:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman,
latin-iso8859-1:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman")

You can also use any other font that has non-zero size in the list
returned by the function x-list-fonts.

Please discuss Emacs for Mac OS X in the proper newsgroups.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf