[EMAIL PROTECTED] (Akkana Peck) wrote in message news:<[EMAIL PROTECTED]>...
> pinner blinn wrote:
> 
> >Ideally I would like the composer to emulate emacs for these keyboard
> >actions, but I'd feel a little better to at least override/disable the
> >default actions.  Can anyone tell me how to do this?
> >  
> >
> See http://mozilla.org/unix/customizing.html#keys

Thanks for that.  It gives me hope.  However, so far, I have been not
able to make it work.  I suspect that customizing.html is out-of-date?
 Here is what I tried.  I created this userHTMLBindings.xml in the
res/builtin directory (which already contains files htmlBindings.xml
and platformHTMLBindings.xml);

<?xml version="1.0"?>

<!-- In order to work correctly, this file must be named -->
<!-- res/builtin/userHTMLBindings.xml in the mozilla tree. -->

<bindings id="htmlBindings"
   xmlns="http://www.mozilla.org/xbl";
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>

  <binding id="editorUser">
    <handlers>
      <handler event="keypress" key="n" modifiers="control"
       command="cmd_lineNext"/>
      <handler event="keypress" key="p" modifiers="control"
       command="cmd_linePrevious"/>
      <handler event="keypress" key="f" modifiers="control"
       command="cmd_charNext"/>
      <handler event="keypress" key="b" modifiers="control"
       command="cmd_charPrevious"/>
    </handlers>
  </binding>

  <binding id="browserUser">
    <handlers>
      <handler event="keypress" keycode="VK_BACK"
       command="cmd_scrollPageUp"/>
      <handler event="keypress" key="v" modifiers="alt"
       command="cmd_scrollPageUp"/>
      <handler event="keypress" key="v" modifiers="control"
       command="cmd_scrollPageDown"/>
    </handlers>
  </binding>

</bindings>

I put a shortcut to this in my chrome directory.  I also put a copy of
it into the comm.jar of the chrome directory.  However, when I fire up
the email composer, my keys are not recognized.  I do notice that
htmlBindings.xml and platformHTMLBindings.xml are not in comm.jar, nor
can I find references to them under chrome.  What am I missing?

BTW, I am running Windows 2000.

Thanks for any new clues!

Reply via email to