Sébastien Miquel, > > thanks. my trivial test shows this works*except* in the particular > > case where, when closing the Org Src buffer, `point` is on an empty > > line. in this case, that one empty line is given extra spaces. > Yes, I was aware of this, but didn't think we could do better in this > case. I've > thought about it some more, and came up with a solution. > > Here's a new patch that's smarter about indenting the current line, > and resolves this remaining issue.
indeed, this seems to work as advertised. thank you very much for spending time on this issue. Greg