Hi Adrian, I've been off the net for a few days, so it took me a while to answer.
Adrian Robert wrote: > Likewise, but I finally managed to do some investigation of my own > here. I found out what was going on, but I'm a bit fuzzy on what the > expected behavior should be. Specifically, on my PowerMac keyboard, I > don't have a Backspace key at all -- the key at the upper right of the > main array says "Delete" on it, and Cocoa internally gets this as > NSDeleteCharacter. I also have a "Delete" key with a little forward-x > arrow on it in a small array of keys off to the right, including home, > end, page-up, page-down. This key goes to Cocoa as NSDeleteFunctionKey. > > Can you describe the locations and labelings of any Backspace and Delete > keys on your keyboard? What I call the Backspace key is the one on the upper right of the main keyboard (look at http://en.wikipedia.org/wiki/Keyboard_layout). In my German 12" Powerbook this key has an arrow to the left on it. It should delete to the left (thus Backspace :-) What I call the Delete key is the one you also have in the arrow keys block on the 102/104-key keyboard with the "forward-x" (which usually works the same as KP-Delete which is the 0-key on the numeric keypad when not in Numlock mode). On my 12" Powerbook I get it with Fn-Backspace. It should delete to the right. > Meanwhile, Emacs internally distinguishes Backspace, Delete, and > KP-Delete. So, I'm wondering if I should be mapping the upper-right > main delete key to "Backspace" even though it isn't technically a > backspace key, or if mapping to "Delete" and "KP-Delete" is enough of a > distinction for emacs users to work with. Everybody else I know calls it the Backspace key so I would call it thus :-) But as long as it is mapped to the right functions I do not really care. The Aquamacs Emacs has this for the Backspace key: DEL (translated from <backspace>) runs the command delete-backward-char which is an interactive built-in function in `C source code'. It is bound to DEL. (delete-backward-char n &optional killflag) and this for Delete: C-d (translated from <delete>) runs the command delete-char which is an interactive built-in function in `C source code'. It is bound to C-d, <deletechar>. (delete-char n &optional killflag) Cheers Robert _______________________________________________ Emacs-app-dev- mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-
