From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: C-i and tab problem persists in 21.2
Date: Mon, 09 Dec 2002 16:01:44 +0100 [thread overview]
Message-ID: <84znrfdynb.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: 3df4a38f@news.uni-ulm.de
"Boris H." <nosp@m.de> writes:
> (progn
> (global-set-key [tab] (global-key-binding "\C-i"))
> (global-set-key "\C-i" 'ispell-word))
>
> When I press C-h k C-i, Emacs tells "TAB runs the command lisp-indent-line".
That's because the initial buffer is *scratch* which is in a special
mode. What happens when you C-x b foo RET to create a new buffer
foo? This should be in fundamental mode.
If this was it, then you just need to repeat the global-set-key for
C-i for all modes. For example:
(define-key lisp-interaction-mode-map "\C-i" 'ispell-word)
> The above code with local-set-key does not work either.
It would be local to the wrong buffer, if executed from .emacs, I
guess.
> Also, I still haven't found out how to make the left mouse button act like
> the middle one in the speedbar (without changing buttons globally).
This is a little involved... Hm.
--
~/.signature is: umop ap!sdn (Frank Nobis)
prev parent reply other threads:[~2002-12-09 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-09 14:06 C-i and tab problem persists in 21.2 Boris H.
2002-12-09 15:01 ` Kai Großjohann [this message]
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=84znrfdynb.fsf@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@uni-duisburg.de \
/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.