From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Icicles stealing keybindings Date: Sat, 03 Jan 2015 10:28:22 +0100 Message-ID: <87wq54dxhl.fsf@wmi.amu.edu.pl> References: <87y4pkekjg.fsf@wmi.amu.edu.pl> <5e049d36-c2fb-4fb3-a9a0-67b2dbd2d8ec@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420277342 21355 80.91.229.3 (3 Jan 2015 09:29:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 09:29:02 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 10:28:54 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 1Y7L0s-00073N-Mn for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 10:28:50 +0100 Original-Received: from localhost ([::1]:53870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7L0s-0003yB-1e for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 04:28:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7L0f-0003vh-S9 for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:28:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7L0c-00085Q-Kg for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:28:37 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:40005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7L0c-00084X-Aj for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:28:34 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 3F0EB414D0 for ; Sat, 3 Jan 2015 10:28:32 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GTu8au27rCaI for ; Sat, 3 Jan 2015 10:28:32 +0100 (CET) Original-Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 844AE42061 for ; Sat, 3 Jan 2015 10:28:31 +0100 (CET) In-reply-to: <5e049d36-c2fb-4fb3-a9a0-67b2dbd2d8ec@default> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 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:101859 Archived-At: On 2015-01-03, at 03:17, Drew Adams wrote: > See the Icicles doc, section ... (wait for it) ... `Key Bindings'. OK, understood. I'll do my homework next time. Now the question is: where is the manual? I hit C-h i m Icicles RET and nothing happens. I know of no other places to look for manuals... (ESR would get heart attack.) Now, kidding aside: I use EmacsWiki as "the docs"; is there any better (e.g., offline) place? (What you write below is not necessarily better for me, though I can live with it.) What would be great for me would be e.g. the docs in epub/mobi format, or at least a HTML file or a set of files, so that I can put it on my kindle and read while commuting. (In a pinch, a PDF would do, too.) > 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). Wow. I did what you wrote here, and found myself in a strange place called *Finder-package*. I did C-h m, then jumped to the source file for that strange mode (C-h m told me that it was about package docs) and found out, that it was written by ESR himself. I don't know what to make of it now... >> 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. Of course. > It is trivial to remove that binding for Icicles or to assign a > different binding. Again: option `icicle-top-level-key-bindings'. Great, I didn't know about this option. >> 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'. "Mom, it wasn't me! It was he who did it!" ;-) But of course, you're right. >> 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.) Lisp is no problem, I speak (Emacs) Lisp on, say, something like intermediate level. > 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. Obviously. I just thought someone had some experience. There are bad keybindings, good ones and better ones. I didn't want to use inferior ones. And Icicles is so huge, I even don't know exactly what I need (since I don't know what's out there). >> (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. It's not you who should be sorry. (Though I miss an Info manual, frankly speaking. They are so good. It's not that they are old and bad and browsers are new and good. It's that browsers are not yet at this technological level as the Info reader. ;-)) Thanks, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University