From: "Rolf Marvin Bøe Lindgren" <r.m.b.lindgren@usit.uio.no>
Subject: [Q] GNu Emacs/MacOS X/Font Encoding
Date: Thu, 08 May 2003 12:28:37 +0200 [thread overview]
Message-ID: <lbz3cjpbulm.fsf@aqualene.uio.no> (raw)
of late, tried and true mans to make GNU Emacs for MacOS X use Latin 1
rather than MacRoman have failed to work. my .emacs, given the
following, will read Latin 1 from the keyboard and write Latin 1 to
files:
; --------
(set-language-environment "Latin-1")
(set-keyboard-coding-system 'iso-latin-1)
(if (string= window-system "mac")
(setq mac-keyboard-text-encoding kTextEncodingISOLatin1))
(set-input-mode
(car (current-input-mode))
(nth 1 (current-input-mode))
0
7)
(set-default-font
"-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-1")
; --------
but any change at all to font selection results in Latin 1 no longer
being read from the keyboard!
the invocation
(set-default-font
"-etl-fixed-medium-r-normal--12-120-75-75-m-120-iso8859-1")
gives small sweet characters but with MacRoman encoding. the following
invocation also used to provde Latin 1 keybard input (verbatim from the
FAQ), but currently, no go:
; --------
(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")
(set-frame-font "fontset-monaco")
; --------
any and all clues greatly appreciated!
--
Rolf Lindgren http://www.roffe.com/
roffe@tag.uio.no
next reply other threads:[~2003-05-08 10:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-08 10:28 Rolf Marvin Bøe Lindgren [this message]
2003-05-08 15:42 ` [Q] GNu Emacs/MacOS X/Font Encoding Andrew Choi
2003-05-08 16:39 ` Rolf Marvin Bøe Lindgren
2003-05-08 18:41 ` Andrew Choi
2003-05-08 20:05 ` Rolf Marvin Bøe Lindgren
2003-05-08 20:12 ` Andrew Choi
2003-05-08 20:35 ` Rolf Marvin Bøe Lindgren
2003-05-08 20:57 ` Andrew Choi
2003-05-08 21:20 ` Stefan Monnier
2003-05-08 22:43 ` Rolf Marvin Bøe Lindgren
2003-05-08 22:45 ` Rolf Marvin Bøe Lindgren
2003-05-08 22:59 ` Stefan Monnier
2003-05-09 17:07 ` Richard Stallman
2003-05-09 1:26 ` Miles Bader
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=lbz3cjpbulm.fsf@aqualene.uio.no \
--to=r.m.b.lindgren@usit.uio.no \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).