[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting code text

From: Stefan Monnier
Subject: Re: Formatting code text
Date: Sun, 19 Nov 2006 14:34:18 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

> When writing code in C++ or Java I notice that I can get the code all nicley
> aligned and indented correctly by simply adding a comment at the end of each
> line of code. As you enter the //, the line of code moves to its correct
> alignment.

Hitting TAB does that as well, in a less roundabout way.

Take a look at indent-region as well.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]