all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: binding a key for keyword completion in all modes
Date: Wed, 25 Feb 2009 18:20:53 -0800 (PST)	[thread overview]
Message-ID: <8b351a00-6fa4-45f3-b240-eb7d53ed2d4c@e18g2000yqo.googlegroups.com> (raw)

this is a problem that annoys me, i wonder how you guys solve it.

the default shortcut for completion is Meta+Tab. However, that key is
after Alt+Tab, and in Mac and Windows and Linux, that combo is taken
by OS to switch apps. (i don't want to have emacs override that)

What i have always been doing is pressing Esc then Tab, but that is
really annoying, especially if you use this often.

How do you solve this?

also, how to bind a key to completion in any lang's mode? the problem
for me is, each lang mode usually uses a different name for
completion, e.g. lisp-complete-symbol, python-complete-symbol, etc. Is
there a way to solve this? Must i add hook to every mode?

Thanks.

  Xah
∑ http://xahlee.org/

             reply	other threads:[~2009-02-26  2:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26  2:20 Xah Lee [this message]
2009-02-26  3:01 ` binding a key for keyword completion in all modes David Golden
2009-02-26  8:13 ` Tassilo Horn
     [not found]   ` <87skm012ln.fsf@mundaneum.com>
     [not found]     ` <87r61j62k0.fsf@thinkpad.tsdh.de>
     [not found]       ` <58e57903-4b47-443c-b84d-e41662071482@e36g2000prg.googlegroups.com>
     [not found]         ` <87ocwkavg0.fsf@thinkpad.tsdh.de>
2009-03-03 23:35           ` Xah Lee
2009-03-04 12:04             ` TomSW
2009-03-04 22:18               ` Xah Lee
2009-03-04 23:17                 ` TomSW
2009-02-26 19:58 ` Marc Tfardy

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=8b351a00-6fa4-45f3-b240-eb7d53ed2d4c@e18g2000yqo.googlegroups.com \
    --to=xahlee@gmail.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.