From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [patch] change indentation logic for edit-src Date: Wed, 22 Aug 2012 01:13:38 +0200 Message-ID: <87fw7fyh25.fsf@altern.org> References: <21A5E1E970CD46459ECBE86D6CC4B28C674153FC@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3xdT-0007se-UG for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 19:13:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3xdS-0005EO-HB for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 19:13:23 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:34312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3xdS-0005EJ-B1 for emacs-orgmode@gnu.org; Tue, 21 Aug 2012 19:13:22 -0400 Received: by wgbez12 with SMTP id ez12so234833wgb.30 for ; Tue, 21 Aug 2012 16:13:21 -0700 (PDT) In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C674153FC@spexch01.WindLogics.local> (Ken Williams's message of "Thu, 16 Aug 2012 14:30:06 -0500") 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: Ken Williams Cc: "emacs-orgmode@gnu.org" Hi Ken, Ken Williams writes: > Following on a message from a few days ago, I’ve prepared a patch > (attached) that alters the behavior of ‘org-edit-src-exit’ so that it > no longer adds an extra 2 spaces of indentation each time a source > block (or a table.el table) is edited. Previously a workaround was > to set ‘org-src-preserve-indentation’, but without that set, you’d > get the undesirable behavior. I tested the patch. > There’s probably some stuff wrong with this approach – let me know. Mh... for me there is no change. There are always 2 spaces added before table.el tables. Anyway, I'll let Eric look at this one as I think ̀org-src-preserve-indentation' is enough here. Thanks for the patch anyway! -- Bastien