all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Perry Smith <pedz@easesoftware.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: keybindings for c-i and tab
Date: Thu, 16 Nov 2006 08:49:52 -0600	[thread overview]
Message-ID: <B00BEADD-16C8-4B89-AB04-CEF93E164375@easesoftware.com> (raw)
In-Reply-To: <hd_6h.19890$cz.317168@ursa-nb00s0.nbnet.nb.ca>


[-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --]

On Nov 16, 2006, at 2:03 PM, Tyler wrote:

> Juanma Barranquero wrote:
>> You can
>>  (define-key function-key-map [tab] nil)
>> But then, many functions bound to C-I (like completion, or automatic
>> indentation) won't work with the tab key. You'll have to type C-I.  
>> Not
>> very pretty.
> That's not good. I use tab for completion and auto-fill, or at  
> least I did until I discovered it conflicted with my intended use  
> of C-i. So am I correct in assuming that I can't bind anything to C- 
> i without also binding it to tab, unless I elect to turn off tab  
> entirely with your solution?

Your first note said "mystically linked" -- they produce the same  
ascii code.  Control-I is "tab".

Now, on X11 and probably other window based emacs implementation,  
there is a tab key that you can put into a keymap (as the previous  
note shows).

So, it might be that you can do a special dance and get the two to be  
bound separately.  But I think it will become a maintenance problem.

I would try saving the current binding of tab.  Set your new binding  
for control-I.  And then restore the original binding of tab.  I'm  
assuming the default binding of tab is somehow an indirection to the  
binding of control-i but I don't know the details.

I'm not sure this helps...

Perry Smith
Ease Software, Inc.
pedz@easesoftware.com
http://www.easesoftware.com

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems




[-- Attachment #1.2: Type: text/html, Size: 5705 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2006-11-16 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16 13:31 keybindings for c-i and tab Tyler
2006-11-16 13:54 ` Juanma Barranquero
     [not found] ` <mailman.713.1163685325.2155.help-gnu-emacs@gnu.org>
2006-11-16 14:03   ` Tyler
2006-11-16 14:49     ` Perry Smith [this message]
2006-11-16 15:13     ` Juanma Barranquero

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=B00BEADD-16C8-4B89-AB04-CEF93E164375@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.