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: Re: How to truly unbind global bindings? Date: Tue, 25 Nov 2014 17:09:34 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1416931813 21426 80.91.229.3 (25 Nov 2014 16:10:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 16:10:13 +0000 (UTC) Cc: help-gnu-emacs To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 17:10:06 2014 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 1XtIgo-0003MB-3v for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 17:10:06 +0100 Original-Received: from localhost ([::1]:58185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtIgn-00068B-KI for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 11:10:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtIgR-000686-Bg for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 11:09:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtIgJ-0005jk-Lh for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 11:09:43 -0500 Original-Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:44834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtIgJ-0005jc-E8 for help-gnu-emacs@gnu.org; Tue, 25 Nov 2014 11:09:35 -0500 Original-Received: by mail-la0-f41.google.com with SMTP id gf13so844138lab.0 for ; Tue, 25 Nov 2014 08:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FZSYB7LmDZkY+HSEuA0ESTXLPpf0oAiJam4435uhW8c=; b=vzM8c81s1utfeb3js0zgvEGMg9gZEOvzpVhzpJKa5DWYCZl1pi8VRPr+ay10ne0ruW NV0fCtoWurTSl0714t1Uwq0Uvt5HbbmLadTiRrmUljJiEgI4aQOX5U6d2dYGIAn6lVpI AXZWf590bX0BrK+aFCyz5aFJocAQRkZ4NxRztP53UOkVX/0xHtYaCRtT06NWu65AC995 t/Ndp0KIFumUB1OUIfcAgiIzq7suvWdt3I4B47GIiogAtOR8WNYHbLxbaIVPWCMBtZXW BF0JO/vSiLoNoxK8HAxEHtNIr5L89SLKfzqXNYfNE9vB/GTDeFULrT0FjmloE4iLUgYR sxhw== X-Received: by 10.152.23.103 with SMTP id l7mr27300533laf.92.1416931774617; Tue, 25 Nov 2014 08:09:34 -0800 (PST) Original-Received: by 10.112.21.136 with HTTP; Tue, 25 Nov 2014 08:09:34 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:101173 Archived-At: > > Why do you want to do this? (Doesn't sound advisable, to me.) > > Perhaps if you describe your use case/scenario, people will > have something useful to suggest. I cannot imagine why anyone > would try to replace the `global-map' with a new, sparse keymap. > Easy. I almost don't use Emacs default key bindings. I have highly customized layer on top of Evil, where I have either rewritten or extended certain text object, operators, and commands. Evil default keymaps were also wiped out and the keys were totally rearranged by myself too. In other words, I used evil as a framework to develop my own modal text editing approach. Those essential commands which I might need from plain Emacs I would just carefully map to those keys which I want once again, and it's not that many of them. The rest (like 99%) default mappings are irritating noise to me. Minimalism and pragmatism FTW.