[PATCH] Add Carbon-specific locale-determination code; respect the locale with mac-command-key-is-meta behaviour

Aidan Kehoe kehoea at parhasard.net
Fri Oct 26 08:38:18 EDT 2007


Hi, Rodney, 

 Ar an cúigiú lá is fiche de mí Deireadh Fómhair, scríobh Sparapani, Rodney: 

 > Hi Aidan:
 > 
 > Beware:  top-post follows since this mailing system is quite primitive.  And that
 > was the problem; it mangled the patch.  I had no problem with the patch that I 
 > downloaded by URL, all hunks accepted.
 > 
 > And, if you (setq mac-command-key-is-meta nil) you will have Option as the Meta
 > key.  However, the whole purpose is to free the Command key to behave as it does
 > in other applications. 

This is what CUA-mode is for, AIUI. Right, the current version of cua-mode
doesn’t work with XEmacs, but older versions do--have you tried it at all? 
You souldn’t need to touch mac-command-key-is-meta with it at all.

 > This can easily be done by a keymap (I had posted such a
 > keymap for Carbon Emacs that I can't find anymore).  So, for example, you would
 > have Command-q mapped to save-buffers-kill-emacs.  But, when you do a C-h k on
 > Command-q you get:
 > 
 > q runs `self-insert-command'
 > 
 > `self-insert-command' is an interactive built-in function
 >   -- loaded from "/usr/local/cvs/xemacs-carbon2/src/cmds.c"
 > (self-insert-command COUNT)
 > 
 > Documentation:
 > Insert the character you type.
 > Whichever character you type to run this command is inserted.
 > If a prefix arg COUNT is specified, the character is inserted COUNT times.
 > 
 > 
 > So, now it just ignores Command all together.  We're half way there :0)
 > I also have a request.  Can we get rid of the Teddy bear icon?  It was kind
 > of cute at first, but I now find it annoying.  

Suppy another icon and I’ll happily replace it! :-) . 

Have a good weekend, 

	Aidan

-- 
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)



More information about the XEmacs-Beta mailing list