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

Sparapani, Rodney rsparapa at mcw.edu
Thu Oct 25 20:56:33 EDT 2007


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

Thanks,

Rodney


-----Original Message-----
From: Aidan Kehoe [mailto:kehoea at parhasard.net]
Sent: Sat 10/20/2007 10:29 AM
To: Sparapani, Rodney
Cc: XEmacs Beta
Subject: Re: [PATCH] Add Carbon-specific locale-determination code; respect the locale with mac-command-key-is-meta behaviour
 

 Ar an naoú lá déag de mí Deireadh Fómhair, scríobh Sparapani, Rodney: 

 > Hi Aidan:
 > 
 > I still can't get this to work.  One thing that I noticed about this patch is that there are alot
 > of lines that are wrapped.  So somewhere along the line, a mailer has screwed up the patch.
 > I tried to find all of the places, but every time, it seems, I find more.  Could you just check 
 > this in on the branch?  Just long enough for me to synch, and then you can roll it back.

Not easily, no; my home net connection is gone for the next couple of weeks.

Here's a text version of the patch that should be independent of the mail
client you use: http://www.parhasard.net/locale-patch.diff.bz2

Hope that helps, 

	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