From: "Paulo J. Matos" <pocmatos@gmail.com>
Subject: Re: Adding Key bindings
Date: Fri, 21 Jul 2006 01:40:50 +0100 [thread overview]
Message-ID: <11b141710607201740t1fda2df6k22dc05813b508016@mail.gmail.com> (raw)
In-Reply-To: <11b141710607200551j5d93c422yce9c8d5dba5d5530@mail.gmail.com>
On 20/07/06, Paulo J. Matos <pocmatos@gmail.com> wrote:
> Hi all,
>
> In C++ user mode, TAB key indents the current line, but I would also
> like it to auto-complete if possible the current symbol. I would like
> it to call: semantic-ia-complete-symbol
>
Hi all,
I did:
(add-hook 'c++-mode-hook
'(lambda ()
(define-key c++-mode-map "\011" 'semantic-ia-complete-symbol)))
However, this rebinds TAB to semantic-ia-complete-symbol and it will
not indent anymore. I don't want previous actions to disappear, I want
to add semantic-ia-complete-symbol action to the TAB key. How can I
mend this?
Cheers,
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
next prev parent reply other threads:[~2006-07-21 0:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-20 12:51 Adding Key bindings Paulo J. Matos
2006-07-21 0:40 ` Paulo J. Matos [this message]
2006-07-21 15:56 ` Kevin Rodgers
2006-07-22 1:36 ` Paulo J. Matos
2006-07-26 22:35 ` Paulo J. Matos
2006-07-27 16:03 ` Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11b141710607201740t1fda2df6k22dc05813b508016@mail.gmail.com \
--to=pocmatos@gmail.com \
--cc=pocm@sat.inesc-id.pt \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).