From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Indenting source code blocks in lists Date: Wed, 25 Jan 2012 13:09:45 +0100 Message-ID: <87d3a8f0fq.fsf@gmail.com> References: <878vkws4it.fsf@syk.fi> <874nvknuss.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq1hj-0002qH-C1 for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 07:12:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq1hd-0008Kr-Cg for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 07:11:55 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq1hd-0008Kl-2D for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 07:11:49 -0500 Received: by wibhj13 with SMTP id hj13so542988wib.0 for ; Wed, 25 Jan 2012 04:11:47 -0800 (PST) In-Reply-To: <874nvknuss.fsf@gnu.org> (Bastien's message of "Wed, 25 Jan 2012 07:46:43 +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: Bastien Cc: Jarmo Hurri , emacs-orgmode@gnu.org Hello, Bastien writes: > Jarmo Hurri writes: >> 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.) > I select the region, then `C-x r t' to insert the whitespaces. I use C-x r o, which doesn't require to count the spaces, and is more visual. > But I don't feel very clever neither, we should have a better > way for this -- something that deactivate folding and indent > to the beginning of the list item above. I'm not sure we should provide this. There are already so many ways, often in muscle memory, to achieve the same in Emacs that we probably shouldn't bother. Regards, -- Nicolas Goaziou