all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>,
	Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: RE: Icicles stealing keybindings
Date: Fri, 2 Jan 2015 18:17:12 -0800 (PST)	[thread overview]
Message-ID: <5e049d36-c2fb-4fb3-a9a0-67b2dbd2d8ec@default> (raw)
In-Reply-To: <87y4pkekjg.fsf@wmi.amu.edu.pl>

> 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.



  reply	other threads:[~2015-01-03  2:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-03  1:10 Icicles stealing keybindings Marcin Borkowski
2015-01-03  2:17 ` Drew Adams [this message]
2015-01-03  9:28   ` Marcin Borkowski
2015-01-03 18:34     ` Drew Adams
2015-01-03 21:23       ` Marcin Borkowski
2015-01-04  0:19         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e049d36-c2fb-4fb3-a9a0-67b2dbd2d8ec@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.