[OS X Emacs] croatian keyboard

David Reitter david.reitter at gmail.com
Mon Aug 18 08:47:20 EDT 2008


Ivica,

(please fix your sender name, it shows up as "Semi Gr". Thanks.)

On 12 Aug 2008, at 10:03, Semi Gr wrote:
> I've looked at emulate-mac-keyboard-mode.el, it looks fairly simple.  
> The problem is that this file has iso-latin-1-unix encoding, and the  
> croatian symbols are in latin2, so I suppose I can't directly write  
> croatian-specific symbols. Is it possible to re-encode this file in  
> utf8, or is there some other workaround?
>

You can re-encode this in utf-8 (C-x RET f) and change the first line  
of the file to reflect that.  You may also need the patch below (and  
recompile Aquamacs) to make it work upon startup.

I'll make these changes in CVS after 1.5 has been released and when I  
receive your Croatian encoding.  (It's a bit too risky to make those  
changes now.)

- David




*** osx_defaults.el	26 Jun 2008 22:41:32 +0100	1.69
--- osx_defaults.el	18 Aug 2008 13:27:40 +0100	
***************
*** 262,268 ****
   (ats "osx key done")

     ;; need to enforce a coding system (problems with Jap locale  
otherwise)
!   (let ((coding-system-for-read 'iso-latin-1-unix))
       ;; not turned on by default
       (require 'emulate-mac-keyboard-mode) )

--- 267,273 ----
   (ats "osx key done")

     ;; need to enforce a coding system (problems with Jap locale  
otherwise)
!   (let ((coding-system-for-read 'utf-8))
       ;; not turned on by default
       (require 'emulate-mac-keyboard-mode) )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080818/b4ca6a77/attachment.p7s>


More information about the MacOSX-Emacs mailing list