unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [Q] GNu Emacs/MacOS X/Font Encoding
@ 2003-05-08 10:28 Rolf Marvin Bøe Lindgren
  2003-05-08 15:42 ` Andrew Choi
  0 siblings, 1 reply; 14+ messages in thread
From: Rolf Marvin Bøe Lindgren @ 2003-05-08 10:28 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-05-09 17:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 10:28 [Q] GNu Emacs/MacOS X/Font Encoding Rolf Marvin Bøe Lindgren
2003-05-08 15:42 ` 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

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