unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem binding f5 when using Icicles
@ 2007-09-10 21:48 Nordlöw
  2007-09-10 22:07 ` Richard G Riley
  0 siblings, 1 reply; 3+ messages in thread
From: Nordlöw @ 2007-09-10 21:48 UTC (permalink / raw)
  To: help-gnu-emacs

I have long used the key f5 to mean delete-other-windows(). But when I
use icicles it overrides f5. I tried global-unset-key plus set-key but
does not get rid of this overriding. How can I take back control over
f5?

Thanks,
Nordlöw

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem binding f5 when using Icicles
  2007-09-10 21:48 Problem binding f5 when using Icicles Nordlöw
@ 2007-09-10 22:07 ` Richard G Riley
  2007-09-10 22:58   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Richard G Riley @ 2007-09-10 22:07 UTC (permalink / raw)
  To: help-gnu-emacs

Nordlöw <per.nordlow@gmail.com> writes:

> I have long used the key f5 to mean delete-other-windows(). But when I
> use icicles it overrides f5. I tried global-unset-key plus set-key but
> does not get rid of this overriding. How can I take back control over
> f5?
>
> Thanks,
> Nordlöw

I think I solved this by putting this *before* the (require 'icicles) line
in my .emacs:

(setq icicle-bind-top-level-commands-flag nil)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Problem binding f5 when using Icicles
  2007-09-10 22:07 ` Richard G Riley
@ 2007-09-10 22:58   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2007-09-10 22:58 UTC (permalink / raw)
  To: help-gnu-emacs

> > I have long used the key f5 to mean delete-other-windows(). But when I
> > use icicles it overrides f5. I tried global-unset-key plus set-key but
> > does not get rid of this overriding. How can I take back control over
> > f5?
> 
> I think I solved this by putting this *before* the (require 'icicles) line
> in my .emacs:
> 
> (setq icicle-bind-top-level-commands-flag nil)

Yes, that option prevents Icicles from binding any top-level commands. You can also use Customize to set it. As the doc says:

 "If you change this from t to nil, then you must restart Emacs for it
 to take effect.  Going from nil to t requires no restart.

 For this option to have an effect upon startup, it must be set before
 you enter Icicle mode.  This means that you must ensure that the code
 that sets it is invoked before you enter Icicle mode.  If you use
 Customize to change this option, then ensure that the code inserted by
 Customize into your `user-init-file' or your `custom-file' is invoked
 before you enter Icicle mode."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-10 22:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 21:48 Problem binding f5 when using Icicles Nordlöw
2007-09-10 22:07 ` Richard G Riley
2007-09-10 22:58   ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).