From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Indentation of org-mode code Date: Wed, 20 Apr 2011 10:40:33 -0400 Message-ID: <87pqohgf4u.fsf@norang.ca> References: <87d3khqa15.fsf@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCYa7-00076T-4T for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 10:40:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCYa6-0001hF-4y for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 10:40:39 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:60355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCYa6-0001h2-0Z for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 10:40:38 -0400 In-Reply-To: <87d3khqa15.fsf@univ-nantes.fr> (Manuel Giraud's message of "Wed, 20 Apr 2011 16:20:38 +0200") 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: Manuel Giraud Cc: emacs-orgmode Manuel Giraud writes: > Hi, > > What are the good settings to indent the org-mode code? I have searched > through the mailing list and worg but can't find an answer. > > I'm asking because while working on org-html.el at one point I reindent > the whole buffer and end up with a mess (indenting with "emacs -Q" can't > fix this). For indenting lisp code I highlight the region to indent and C-M-\ (which is M-x indent-region) -Bernt