|
From: | Perry Smith |
Subject: | Re: Formatting code text |
Date: | Sat, 18 Nov 2006 07:37:14 -0600 |
On Nov 18, 2006, at 3:42 AM, une wrote:
Sounds like you are talking about Meta-Control-Q (in C++ mode but probably in Java mode as well). Use it when you are sitting on top of, for example, an open curly brace for a function. Emacs will then reformat the whole function. I would also suggest doing "apropos" (usually hooked to Control-H a) c-indent There is a whole bunch of ways to do it. I find some of them work better than others (at least in older emacs versions) Just in case you don't know... If you find a function that you like and want to see if it is connected to a key, do C-h, w. You will be prompted for the function in the mini-buffer. When you complete it and hit return, it will tell you all the places you can get to that function. HTH, Perry Smith ( pedz@easesoftware.com ) Ease Software, Inc. ( http://www.easesoftware.com ) |
[Prev in Thread] | Current Thread | [Next in Thread] |