From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Deny keymap changes made by `evil-integration' Date: Sat, 25 Jul 2015 13:43:09 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1437824605 25212 80.91.229.3 (25 Jul 2015 11:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jul 2015 11:43:25 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 25 13:43:24 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 1ZIxrO-0007y9-7n for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2015 13:43:22 +0200 Original-Received: from localhost ([::1]:47732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIxrN-0001tO-0d for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jul 2015 07:43:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIxrE-0001tI-3B for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 07:43:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIxrD-0003WI-9D for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 07:43:12 -0400 Original-Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:34245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIxrD-0003Uo-09 for help-gnu-emacs@gnu.org; Sat, 25 Jul 2015 07:43:11 -0400 Original-Received: by lbbzr7 with SMTP id zr7so28756396lbb.1 for ; Sat, 25 Jul 2015 04:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=H3aflTRi8TVn/CdKQ8YZBArw+9h5U/jioZ245lnYsos=; b=RNm85U5P19eWNd3KsPzT4EuvTW5pMOjarfroP0Ce8O+cGgXoHUkeZYiTQVYsgI6QJ/ jKvuNMuu/EdvfcaVFgYCmMp4qUIYVrUmB+aZbmOqXpc3+JqGJGFBikweB6y98M87ImGt efrAbsmcfQKVQ7P/9yDxDDyd10bKvdL3qO24Q6vdIeDOoUOZVHG8wGpJStYrimYPcCi6 p1NPLrBKlk1N5Fc3pGTbCT8lpAhQOrmuMGEbIXypXXT+Cq6N+Deaa5ViHZeqtfRx8O1S HG8fe4H4ONhrooyFh3oMOXSWHwkF1n8ZHYW2d+F9XVSswb+Q9t70xdUW4jsECxdohkdS L8XQ== X-Received: by 10.152.4.163 with SMTP id l3mr18442738lal.35.1437824589159; Sat, 25 Jul 2015 04:43:09 -0700 (PDT) Original-Received: by 10.112.148.33 with HTTP; Sat, 25 Jul 2015 04:43:09 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::233 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:105981 Archived-At: Hello, `evil-integration' has quite some forms like (eval-after-load 'dired '(progn ;; use the standard Dired bindings as a base (defvar dired-mode-map) (evil-make-overriding-map dired-mode-map 'normal) (evil-add-hjkl-bindings dired-mode-map 'normal "J" 'dired-goto-file ; "j" "K" 'dired-do-kill-lines ; "k" "r" 'dired-do-redisplay ; "l" ;; ":d", ":v", ":s", ":e" ";" (lookup-key dired-mode-map ":")))) for various packages. I would like to learn how to either revert these changes back to the default state (i.e. `dired-mode-map' should be crystal clean as it was before loading `evil') or, even better, prevent `evil-integration' from doing such changes. For instance, I've tried (let ((dired-mode-map)) (require 'evil) ... ) and it didn't work. Any ideas? Thanks, Alexander