help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deny keymap changes made by `evil-integration'


From: Eli Zaretskii
Subject: Re: Deny keymap changes made by `evil-integration'
Date: Sat, 25 Jul 2015 16:20:39 +0300

> Date: Sat, 25 Jul 2015 14:52:43 +0200
> From: Alexander Shukaev <haroogan@gmail.com>
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> 
> They implemented `evil' too intrusively, i.e. `(require 'evil)' would
> also `(require 'evil-integration)' and some other trash that I don't
> want personally.

I'd suggest a careful reading of the code, looking for ways of
disabling the too-intrusive stuff.

> Do you propose
> 
> (with-eval-after-load 'evil
>    (with-evail-after-load 'dired
>      (load "dired"))
> 
>    (with-evail-after-load 'whatever
>      (load "whatever"))
> 
>    ...)
> 
> ?

Something like that, yes.

> Still I have 2 problems with this.  First of all, shouldn't there
> be an infinite recursion here (with-eval-after-load/load combo)?
> Secondly, `evil-integration' wraps it's configurations for `dired'
> also with `eval-after-load'; doesn't this mean that reloading `dired'
> will not change anything because the wrapped snippet (from
> `evil-integration') will execute again?

Nothing that (let (after-load-alist) (load "...")) couldn't solve.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]