From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Persaud Subject: Re: [Patch] don't add indent for empty line when exiting, a code edit Date: Fri, 14 Mar 2014 11:46:14 -0700 Message-ID: <53234E76.60501@lbl.gov> References: <531E5738.7040003@lbl.gov> <87k3bzcmrv.fsf@bzg.ath.cx> <87mwguh4d2.fsf@bzg.ath.cx> <877g7ynf8d.fsf@bzg.ath.cx> <87bnx9napl.fsf@bzg.ath.cx> <532230E9.200@miszellen.de> <87vbvhb1f1.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOX7o-0004VD-I6 for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 14:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOX7h-0005Qq-KN for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 14:46:32 -0400 Received: from fe2.lbl.gov ([128.3.41.134]:11355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOX7h-0005QA-Ep for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 14:46:25 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so2951267pbb.8 for ; Fri, 14 Mar 2014 11:46:17 -0700 (PDT) Received: from [128.3.5.223] (apersaud.dhcp.lbl.gov. [128.3.5.223]) by mx.google.com with ESMTPSA id db3sm18943504pbb.10.2014.03.14.11.46.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Mar 2014 11:46:16 -0700 (PDT) In-Reply-To: <87vbvhb1f1.fsf@bzg.ath.cx> 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 On 03/14/2014 02:00 AM, Bastien wrote: > Hi Florian, > > Florian Beck writes: > >> On 13.03.2014 20:46, Bastien wrote: >>> Ok, let me take some fresh air and come back to this later on. >> >> How about this: >> >> (while (re-search-forward "\\(^\\).+" nil t) >> (replace-match indent nil nil nil 1))) > > Works fine here, I pushed this solution. Thanks! Thanks everyone for fixing this! Arun