emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Ken Williams <Ken.Williams@windlogics.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [patch] change indentation logic for edit-src
Date: Wed, 22 Aug 2012 01:13:38 +0200	[thread overview]
Message-ID: <87fw7fyh25.fsf@altern.org> (raw)
In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C674153FC@spexch01.WindLogics.local> (Ken Williams's message of "Thu, 16 Aug 2012 14:30:06 -0500")

Hi Ken,

Ken Williams <Ken.Williams@windlogics.com> 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!


  reply	other threads:[~2012-08-21 23:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 19:30 Ken Williams
2012-08-21 23:13 ` Bastien [this message]
2012-08-22 13:58   ` Ken Williams
2012-08-22 14:32     ` Bastien
2012-08-17 15:27 Ken Williams
2012-08-17 15:47 ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw7fyh25.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=Ken.Williams@windlogics.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [patch] change indentation logic for edit-src' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).