From: Edric M Ellis <eellis@mathworks.co.uk>
Subject: Re: Want to rebind C-i
Date: 14 Oct 2002 13:19:11 +0100 [thread overview]
Message-ID: <uvg45z000.fsf@eellis.mathworks.co.uk> (raw)
In-Reply-To: 3daab306@news.uni-ulm.de
Boris H. wrote:
> I have
>
> (global-unset-key "\C-i")
> (global-unset-key [tab])
> (global-set-key [delete] 'delete-char)
>
> and
>
> ;--- Ispell ---
> (global-set-key "\C-ii" 'ispell)
> (global-set-key "\C-iw" 'ispell-word)
> (global-set-key "\C-id" 'ispell-change-dictionary)
>
> in my .emacs.
>
> This worked in Emacs 20.7, but it doesn't in Emacs 21.1; C-i is
> always recognized as TAB. What to do?
I think you need to make a keymap for TAB, like this:
(global-unset-key [tab])
(setq tab-keymap (make-sparse-keymap))
(define-key global-map [tab] tab-keymap)
(define-key tab-keymap (kbd "i") 'ispell)
Cheers,
Edric.
--
Edric M Ellis
The MathWorks, Ltd., Matrix House, Cowley Park, Cambridge CB4 0HH, UK
Tel: +44 (0) 1223 423 200 Ext: 218
Fax: +44 (0) 1223 423 255
next prev parent reply other threads:[~2002-10-14 12:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-15 12:04 Want to rebind C-i Boris H.
2002-10-14 12:19 ` Edric M Ellis [this message]
2002-10-15 13:20 ` Boris H.
2002-10-14 13:38 ` Edric M Ellis
2002-10-17 16:59 ` seberino
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=uvg45z000.fsf@eellis.mathworks.co.uk \
--to=eellis@mathworks.co.uk \
/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.