emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Jarmo Hurri <jarmo.hurri@syk.fi>
Cc: emacs-orgmode@gnu.org
Subject: Re: Indenting source code blocks in lists
Date: Wed, 25 Jan 2012 15:42:25 +0530	[thread overview]
Message-ID: <818vkwxf92.fsf@gmail.com> (raw)
In-Reply-To: <878vkws4it.fsf@syk.fi> (Jarmo Hurri's message of "Wed, 25 Jan 2012 08:03:06 +0200")

Jarmo Hurri <jarmo.hurri@syk.fi> 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
this:

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.

or 

Refer the last paragraph in:

(info "(emacs) Indentation Commands")

or 

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

-- 

      parent reply	other threads:[~2012-01-25 10:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25  6:03 Indenting source code blocks in lists Jarmo Hurri
2012-01-25  6:46 ` Bastien
2012-01-25 12:09   ` Nicolas Goaziou
2012-01-25 14:37     ` Bastien
2012-01-28 23:56       ` Bastien
2012-01-25  9:42 ` Phil (Philip) Mason
2012-01-25 10:12 ` Jambunathan K [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=818vkwxf92.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jarmo.hurri@syk.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).