all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leon <sdl.web@gmail.com>
Subject: Two Emacs challenges
Date: Fri, 16 Jun 2006 21:03:12 +0100	[thread overview]
Message-ID: <m21wto98cf.fsf@sl392.st-edmunds.cam.ac.uk> (raw)

Dear all,

I found two useful key bindings but they seems not obvious to achieve.

(1) Ctrl+Tab & Alt+Tab

Since most window managers have used Alt+Tab for switching windows,
Alt+Tab key bindings is useless in Emacs running in X. Is there
something I can set in ~/.emacs so that Alt+Tab will be remapped to
Ctrl+Tab? For example, if AUCTeX has bound <M-tab> to
TeX-complete-symbol, the function should be *automatically* bound to
<C-tab> when I enter LaTeX-mode.

(2) pairs

How to bind keys such as (, [, {, " etc to perform such function

When type once, it will insert a pair while twice insert itself for
example: `[' will insert `[]' and leave the cursor in the middle while
`[[' will insert `['?


Thank you all.
-- 
Leon

             reply	other threads:[~2006-06-16 20:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16 20:03 Leon [this message]
2006-06-16 20:15 ` Two Emacs challenges Lennart Borgman
2006-06-16 20:21   ` Lennart Borgman
2006-06-16 20:21   ` Leon
2006-06-17  3:42 ` William Xu
2006-06-17  9:42   ` Leon
     [not found] <mailman.2952.1150488218.9609.help-gnu-emacs@gnu.org>
2006-06-17  0:26 ` Joe Fineman
2006-06-17 10:07   ` Leon

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=m21wto98cf.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    /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.