From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Deny keymap changes made by `evil-integration' Date: Sat, 25 Jul 2015 16:20:39 +0300 Message-ID: <83io981ihk.fsf@gnu.org> References: <83lhe41msl.fsf@gnu.org> <83k2to1knz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1437830470 11644 80.91.229.3 (25 Jul 2015 13:21:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jul 2015 13:21:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 25 15:21:02 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZIzNq-0002i8-Vy for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2015 15:20:59 +0200 Original-Received: from localhost ([::1]:48101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIzNq-0003qN-1b for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2015 09:20:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIzNg-0003q7-KW for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 09:20:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIzNZ-0002Pj-1i for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 09:20:44 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:34705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIzNY-0002PW-PX for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 09:20:40 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NS100A00O4LW000@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 16:20:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NS100A0AP2DWB20@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 16:20:37 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105987 Archived-At: > Date: Sat, 25 Jul 2015 14:52:43 +0200 > From: Alexander Shukaev > Cc: help-gnu-emacs > > 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.