Hey guys,

        To my great suprise, no one has responded with an answer to  
my question on completion and other emacs key bindings on NT.   
Realizing that continuing under the current circumstances would not  
be fun, I decided to RTFM (What a concept!).  For some unknown  
reason, I was convinced that because the escape key had real meaning  
on NT that there would be no way to maintain my current bindings.  I  
was completely wrong.  I simply copied my DefaultKeyBinding.dict file  
from my mach machine and put it into ~/Library/KeyBindings, and it  
worked.  Here's what I use: (Note the doCompletionWide:.  I got this  
little trick from one of the PB engineers!,  Note also that the 'alt'  
bindings are not working)

{

        /* Additional Emacs bindings */

        "~f" = "moveWordForward:";

        "~b" = "moveWordBackward:";

        /*"~xs" = "save:";*/

        "\033" = {

                "\/" = "doCompletionWide:";  /* ESC-/ */

                "<" = "moveToBeginningOfDocument:";  /* ESC-< */

                ">" = "moveToEndOfDocument:";  /* ESC-> */

                "v" = "pageUp:";  /* ESC-v */
                
                "f" = "forwardWord:";   /* ESC-f */
        
                "b" = "backwardWord:";  /* ESC-b */

                "d" = "deleteWordForward:";  /* ESC-d */

                "\010" = "deleteWordBackward:";  /* ESC-backspace */

                "\177" = "deleteWordBackward:";  /* ESC-delete */

        };

}

Regards,
Paul

---

Paul Summermatter

LGS Systems, Inc.
Medical Computing Division

15 TJ Gamester Ave
Portsmouth, NH 03801-5871
(603) 433-9822  voice
(603) 433-9818  fax
(888) 898-6321  pager
[EMAIL PROTECTED]      paging email

[EMAIL PROTECTED]
(NeXT or MIME Mail Welcome)
http://www.lgs-systems.com

Reply via email to