A couple of questions
Vegard Øye
vegard_oye at hotmail.com
Wed Feb 22 14:15:08 CET 2012
On 2012-02-16 10:03 +0100, Frank Fischer wrote:
> I think you need to set `evil-want-C-u-scroll' to t *before*
> evil is loaded in your .emacs file, i.e., something like
> (setq evil-want-C-u-scroll t). The reason is that this variable
> is examined when evil creates its key-bindings (and only then).
> Probably we need a better way to respect the customization options
> (I would consider the current behavior as bug).
I think I can fix this with the :set keyword argument of `defcustom',
which specifies a setter function for the variable. For example, the
`evil-toggle-key' customization variable has such a function, calling
`evil-set-toggle-key' to refresh the relevant keymaps.
Thus, by adding the necessary functions, Evil's customization
variables can be set in two ways: either with `setq' before Evil is
loaded, or at the end of .emacs with Custom, in which case the setter
functions should re-configure things as necessary.
--
Vegard
More information about the implementations-list
mailing list