[Top][All Lists]

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

Re: [O] Indenting source code blocks in lists

From: Jambunathan K
Subject: Re: [O] Indenting source code blocks in lists
Date: Wed, 25 Jan 2012 15:42:25 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

Jarmo Hurri <address@hidden> writes:

> what is the easy way to indent this block

Mark the block as you would mark regularly. Then to 10 spaces you can do

C-u 1 0 C-x TAB

To figure out the number of spaces to add, you mentally the subtract the
current column with the target column. Turn on M-x column-number-mode if
you need to to figure out what column you are on.


Refer the last paragraph in:

(info "(emacs) Indentation Commands")


Launch the info manual with:       C-h r                
Visit the needed index entry with: i indent-rigidly


reply via email to

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