|
From: | Eric Lilja |
Subject: | Re: Why isn't C-m listed here? |
Date: | Mon, 16 Apr 2007 16:43:17 +0200 |
User-agent: | Thunderbird 1.5.0.10 (Windows/20070221) |
Miles Bader wrote:
Eric Lilja [snip quoted raw email address] writes:As the topic says: Why isn't C-m listed here: and if it was, what would its description be? Alias for <RET>?It's not an alias for RET, it _is_ RET. RET == C-m
Ok, thanks for the quick reply. So, C-m is RET which means newline. C-j is newline-and-indent (C-m + <TAB>) so if I wanted a newline-and-indent when I press <RET> in cc mode I could do:
(global-set-key "\C-m" "\C-j") in my c mode common hook? Proper way to do it? - Eric
[Prev in Thread] | Current Thread | [Next in Thread] |