[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting auto-indentation of braces
From: |
Miles Bader |
Subject: |
Re: Setting auto-indentation of braces |
Date: |
Thu, 19 Feb 2009 20:31:37 +0900 |
What you want to do is just ask emacs "What command is the { key bound to",
and then bind your new key to the same command.
To see what the { key is bound to, you can use the "describe-key-briefly"
command, normally bound to "C-h c" (of course you should do it while in the
C file's buffer):
C-h c {
(I see in my emacs, it's bound to "c-electric-brace" in c-mode)
Emacs has a lot of useful commands for getting information, most of
which start with "C-h" (do C-h C-h to see more).
-Miles
--
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff
- Re: Setting auto-indentation of braces, (continued)
- Re: Setting auto-indentation of braces, Kevin Rodgers, 2009/02/18
- Message not available
- Re: Setting auto-indentation of braces, Juha Nieminen, 2009/02/23
- Re: Setting auto-indentation of braces, Teemu Likonen, 2009/02/23
- Re: Setting auto-indentation of braces, Kevin Rodgers, 2009/02/23
- Message not available
- Re: Setting auto-indentation of braces, Juha Nieminen, 2009/02/24
- Re: Setting auto-indentation of braces, Juha Nieminen, 2009/02/26
- Message not available
- Re: Setting auto-indentation of braces, Juha Nieminen, 2009/02/19
- Re: Setting auto-indentation of braces, Peter Dyballa, 2009/02/19
Re: Setting auto-indentation of braces, tyler, 2009/02/18
Message not available
Re: Setting auto-indentation of braces,
Miles Bader <=