> Firstly, what an amazing piece of software!
Thanks! :)
> ....But after removing the default theme and keys I still have issues with
> commands being interpreted as prefix keys
Do you mean removing these lines?
~/.el4r/init.rb
| KeyBindings.keys
| Themes.use "Default"
> e.g. C-e and C-d
Is it only C-e and C-d, or also C-a, C-o, C-t, C-l?
> . I can't find
> the keys in the mode-map help which is usually how I deal with such issues.
If they're mapped, they should be in it (global-map, I believe). It's
just delegating to the elisp (define-key) method behind the scenes
(via the el4r bridge)...
/projects/xiki/lib/xiki/keys.rb
| $el.define_key map, keys, &block
> Where are these keys bound?
Here's the execution tree. It means KeyBindings.keys calls .as_keys,
which calls .AA, which calls Keys.method_missing ... which ends up
calling (define-key) through the el4r bridge:
~/.el4r/init.rb
| KeyBindings.keys
/projects/xiki/lib/xiki/
- key_bindings.rb
| def self.keys
| def self.as_keys # C-a C-... keys
| Keys.AA { Line.to_left } # Set C-a C-a to normal emacs C-a
- keys.rb
| def self.method_missing
| self.define_key
| $el.define_key
> Do I need to install from source and edit before compiling?
There's no compiling involved, it's all interpreted. If you comment
out the KeyBindings.keys line and restart emacs it should stop mapping
them.
--Craig