From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Indenting source code blocks in lists Date: Wed, 25 Jan 2012 08:03:06 +0200 Message-ID: <878vkws4it.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpvx8-0005vk-7d for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 01:03:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rpvx7-0000ta-5v for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 01:03:26 -0500 Received: from lo.gmane.org ([80.91.229.12]:46368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpvx7-0000tO-0K for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 01:03:25 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rpvx4-0002qW-Ck for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 07:03:22 +0100 Received: from cs181237200.pp.htv.fi ([82.181.237.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 07:03:22 +0100 Received: from jarmo.hurri by cs181237200.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 07:03:22 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Greetings. I am a big fan of org mode, but occasionally I feel that it is quite difficult to figure out how to do a relatively simple task. So sorry for this newbie question. The manual clearly states the following: "Since indentation is what governs the structure of these lists, many structural constructs like #+BEGIN_... blocks can be indented to signal that they belong to a particular item. " Ok. By searching in Emacs for different commands containing "indent" I was able to find out that pressing C-j in a list item indents the next line so that a subsequently written source block would also be indented. But let us assume that I already have a source block, and it is not indented correctly; what is the easy way to indent this block in a list? (I can always keep pressing spacebar, but it does not feel very intelligent.) -- Jarmo