From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Icicles stealing keybindings Date: Fri, 2 Jan 2015 18:17:12 -0800 (PST) Message-ID: <5e049d36-c2fb-4fb3-a9a0-67b2dbd2d8ec@default> References: <87y4pkekjg.fsf@wmi.amu.edu.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1420251461 15068 80.91.229.3 (3 Jan 2015 02:17:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 02:17:41 +0000 (UTC) To: Marcin Borkowski , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 03:17:34 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 1Y7EHW-0000Ep-Ac for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 03:17:34 +0100 Original-Received: from localhost ([::1]:53299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7EHV-00042p-Fz for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jan 2015 21:17:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7EHJ-00042j-Qf for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 21:17:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7EHE-0007U8-QT for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 21:17:21 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:22403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7EHE-0007Tv-JM for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 21:17:16 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t032HDAf032595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 3 Jan 2015 02:17:14 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t032HC80029856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 3 Jan 2015 02:17:13 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t032HCnW017477; Sat, 3 Jan 2015 02:17:12 GMT In-Reply-To: <87y4pkekjg.fsf@wmi.amu.edu.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:101849 Archived-At: > so I'm learning Icicles, and I like it quite a bit. I have one > problem, however: it steals *lots* of keybindings I'm accustomed > to. If you set option `icicle-top-level-keybindings' to nil then Icicles will not bind *any* top-level key bindings. By default, it will still bind keys in minibuffer keymaps, but there are options that make it simple to prevent that as well. (Nearly all such keys are unbound in vanilla Emacs minibuffer maps anyway, so there's nothing really being "stolen" here.) See the Icicles doc, section ... (wait for it) ... `Key Bindings'. Hit `M-?' from the minibuffer, then click the link `[Icicles Doc, Part 2]'. If Emacs Wiki were not down currently then I would point you also to http://www.emacswiki.org/Icicles_-_Key_Bindings (I think that's the URL). > Of course, if Org-mode uses C-c ', it's Org-mode's fault (AFAIK, > newer versions of Org change some of the keybindings, but I'm not > sure exactly), since (AFAIK, again) it is reserved for minor modes. Yes, `C-c '' is reserved for minor modes. But you can still have a conflict among different minor modes for keys like that one. It is trivial to remove that binding for Icicles or to assign a different binding. Again: option `icicle-top-level-key-bindings'. > What got me a bit angry, after finally installing Emacs 25, is > that Icicles steals C-x SPC. Don't get angry before you read the doc. ;-) Actually, it was vanilla Emacs 24.4 that "stole" key `C-x SPC'. It was undefined until then. Icicles has bound it by default since 2007. Anyway, again: `icicle-top-level-key-bindings'. > Now obviously I'm aware that you can change all keybindings, > including Icicles' ones; I think you'll find that it is particularly easy to change Icicles key bindings. (You don't even need to know Lisp.) Start with the doc, section `Key Bindings', so you get an idea what key-binding options are available. The only one you need for top-level keys is `icicle-top-level-key-bindings'. > ... reasonable solution of the conflicting keys problem, so > that I don't have to reinvent the wheel? You don't have to reinvent anything. You just need to decide what works for you. Different people use different libraries that might lead to different key conflicts. And different people have different preferences wrt keys. It's up to you what bindings you use. > (Also, now that I use Icicles, I do not understand why would > anyone use Ido. But that's another story.) Again, different folks can have different needs and different preferences. ;-) Sorry for your trouble. Please spend a few minutes with `Key Bindings' in the doc, and I think you might feel better.