From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: org-mode + icicles, avoid key binding redefinitions? Date: Mon, 20 Jan 2014 02:34:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W54hC-0007pU-GQ for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 21:34:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W54h7-00022e-FB for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 21:34:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:40729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W54h7-00021o-8N for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 21:34:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W54h5-0000zU-Eb for emacs-orgmode@gnu.org; Mon, 20 Jan 2014 03:34:31 +0100 Received: from odin.sdf-eu.org ([178.63.35.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jan 2014 03:34:31 +0100 Received: from memnon+usenet by odin.sdf-eu.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jan 2014 03:34:31 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Kitchin writes: > I got icicles via ELPA. The version from describe-package is > Version: 20140118.1856. although in icicles.el it says ;; Version: > 2013.07.23. That is the current version. Icicles isn't only icicle.el, Drew has actually a whole bunch of elisp addon packages. Some I use, some I don't. > Thanks for the tip about the binding variable. I am content with this > in my init file: > > (require 'icicles) > ;; reclaim C-c ' for org-mode > (setq icicle-top-level-key-bindings > (remove '("^C'" icicle-occur t) icicle-top-level-key-bindings)) > > (icy-mode 1) > > which seems to get me back the org-binding. Okay. As I said, I found this the only one conflicting with org (or other packages). Just remember to require icicles at the very end of your config, and everything should work. > Is there a convenient way to update icicles from emacs? I use icicles-install.el, which simply downloads files from emacswiki and optionally byte compiles them. AFAIK, that is still the "main" repo, I wasn't aware of the elpa package, good to know. If you are interested, I changed some keybindings, see: http://memnon.sdf-eu.org/emacs.org in Section Icicles. Essential for me are these changes to the icicle completion keymap: ;; C-o is next to C-i. S-Tab doesn't work on tty. (define-key map "\C-o" 'icicle-apropos-complete) ; S-Tab ;; Narrowing is isearch in a sense. C-s in minibuffer is rarely ;; used. M-* is a horror to type for something I use so often. (define-key map "\C-s" 'icicle-narrow-candidates) ; M-* ;; History search is isearch-backward chronologically:-) (define-key map "\C-r" 'icicle-history) ; M-h ; again, tty friendly version. (define-key map "\C-t" 'icicle-help-on-candidate) ; C-M-RET With that 4 bindings adjusted, icicles is really fun to use. Takes some time getting used to, but I think it is worth it. Memnon -- /-------------------------------------------\ | SDF and SDF-EU Public Access UNIX System | | http://sdf.org || http://sdf-eu.org | =============================================