emacs icicle dabbrev completion

160 Views Asked by At

I would like to use dabbrev completion in icicles as mentioned in the following page.

http://www.emacswiki.org/emacs/Icicles_-_Completion_in_Other_Buffers

If user option `icicle-top-level-key-bindings’ contains an entry for ‘dabbrev-completion’ then Icicles remaps keys normally bound to command ‘dabbrev-completion’ to command ‘icicle-dabbrev-completion’, which uses Icicles completion whenever there are multiple completion candidates. You can then use any Icicles features, such as apropos completion and candidate cycling. In addition, you can complete an empty prefix, starting from scratch with apropos completion.

However I don't understand how to set the 'icicle-top-level-key-bindings' in my .emacs file. I tried a number of steps that didn't work. 'M-x describe-variable RET icicle-top-level-key-bindings' shows me a list with lot of options. How could I add ‘dabbrev-completion’ to this existing list.

I got the icicle library from http://www.emacswiki.org/emacs/Icicles_-_Libraries

I also see following code in icicles-opt.el

 (dabbrev-completion icicle-dabbrev-completion
                     (< emacs-major-version 24))

Does it mean dabbrev mode is not supported in emacs2.4.3 ?

1

There are 1 best solutions below

3
On
  1. Use M-x customize-option icicle-top-level-key-bindings to customize this option.

  2. Yes, I have not yet updated the code for icicle-dabbrev-completion to support Emacs 24. Use regular dabbrev-completion if you use Emacs 24.