From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: [patch] change indentation logic for edit-src Date: Thu, 16 Aug 2012 14:30:06 -0500 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C674153FC@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_004_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T25ll-0000f8-0s for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 15:30:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T25lh-0000tB-Ug for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 15:30:12 -0400 Received: from shrimp.windlogics.com ([216.245.170.164]:5168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T25lh-0000re-MH for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 15:30:09 -0400 Content-Language: en-US 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" --_004_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_ Content-Type: multipart/alternative; boundary="_000_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_" --_000_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 t= able) is edited. Previously a workaround was to set 'org-src-preserve-inde= ntation', but without that set, you'd get the undesirable behavior. There's probably some stuff wrong with this approach - let me know. I'm ne= w to both elisp programming and the org-mode code. I also created a little utility function 'org-prefixify', not sure whether = that's kosher or not. One change that would be nice to make to it is to av= oid prefixing the final line if it's blank, but I couldn't get that to work= . Also - could that essentially be replaced by a call to string-insert-rec= tangle? -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com ________________________________ CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you. --_000_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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-indentationR= 17;, but without that set, you’d get the undesirable behavior.

 

There’s probably some stuff wrong with this ap= proach – let me know.  I’m new to both elisp programming a= nd the org-mode code.

 

I also created a little utility function ‘org-= prefixify’, not sure whether that’s kosher or not.  One ch= ange that would be nice to make to it is to avoid prefixing the final line = if it’s blank, but I couldn’t get that to work.  Also - co= uld that essentially be replaced by a call to string-insert-rectangle?

 

--

Ken Williams, Senior Research Scientist

Wind<= /b>Logics

http://windlogics.com

 



CONFIDENTIALITY NOTICE: Th= is e-mail message is for the sole use of the intended recipient(s) and may = contain confidential and privileged information. Any unauthorized review, u= se, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please= contact the sender via reply e-mail and destroy all copies of the original= message. Thank you.
--_000_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_-- --_004_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_ Content-Type: text/plain; name="0001-Change-the-edit-src-save-code-so-that-it-either-pres.txt" Content-Description: 0001-Change-the-edit-src-save-code-so-that-it-either-pres.txt Content-Disposition: attachment; filename="0001-Change-the-edit-src-save-code-so-that-it-either-pres.txt"; size=2564; creation-date="Thu, 16 Aug 2012 19:19:21 GMT"; modification-date="Thu, 16 Aug 2012 19:20:06 GMT" Content-Transfer-Encoding: base64 RnJvbSBkODBiNzcyNjQwMmEzOWI0YzhhNjMwYTg2NjE0YjBiYTlkN2VjYTZhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZW4gV2lsbGlhbXMgPEtlbi5XaWxsaWFtc0BXaW5kTG9naWNz LmNvbT4KRGF0ZTogVGh1LCAxNiBBdWcgMjAxMiAxMzoyNjo0NCAtMDUwMApTdWJqZWN0OiBbUEFU Q0hdIENoYW5nZSB0aGUgZWRpdC1zcmMtc2F2ZSBjb2RlIHNvIHRoYXQgaXQgZWl0aGVyIHByZXNl cnZlcwogb3JpZ2luYWwgZm9ybWF0dGluZywgb3IgaW1wb3NlcyBpdHMgbmV3IGluZGVudGF0aW9u LCBidXQKIG5vdCBib3RoLgoKLS0tCiBsaXNwL29yZy1zcmMuZWwgfCAgIDIyICsrKysrKysrKysr LS0tLS0tLS0tLS0KIDEgZmlsZXMgY2hhbmdlZCwgMTEgaW5zZXJ0aW9ucygrKSwgMTEgZGVsZXRp b25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9vcmctc3JjLmVsIGIvbGlzcC9vcmctc3JjLmVsCmlu ZGV4IGMxMTBmMzIuLjYxYjgwMGYgMTAwNjQ0Ci0tLSBhL2xpc3Avb3JnLXNyYy5lbAorKysgYi9s aXNwL29yZy1zcmMuZWwKQEAgLTYwMSwxMSArNjAxLDkgQEAgdGhlIGxhbmd1YWdlLCBhIHN3aXRj aCB0ZWxsaW5nIGlmIHRoZSBjb250ZW50IHNob3VsZCBiZSBpbiBhIHNpbmdsZSBsaW5lLiIKIAkg KGJ1ZmZlciAoY3VycmVudC1idWZmZXIpKQogCSAoc2luZ2xlIChvcmctYm91bmQtYW5kLXRydWUt cCBv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iIgcykKKyAgICAoZ290by1jaGFyIChwb2ludC1taW4pKQorICAgICh3aGlsZSAocmUtc2VhcmNo LWZvcndhcmQgIl4iIG5pbCB0KQorICAgICAgKHJlcGxhY2UtbWF0Y2ggcykpKSkKKwogKGRlZnVu IG9yZy1lZGl0LXNyYy1zYXZlICgpCiAgICJTYXZlIHBhcmVudCBidWZmZXIgd2l0aCBjdXJyZW50 IHN0YXRlIHNvdXJjZS1jb2RlIGJ1ZmZlci4iCiAgIChpbnRlcmFjdGl2ZSkKLS0gCjEuNy45Cgo= --_004_21A5E1E970CD46459ECBE86D6CC4B28C674153FCspexch01WindLog_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: [patch] change indentation logic for edit-src Date: Fri, 17 Aug 2012 10:27:37 -0500 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C67415546@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2OSx-0004A1-46 for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 11:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2OSv-0002nY-Ux for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 11:28:03 -0400 Received: from shrimp.windlogics.com ([216.245.170.164]:7797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2OSv-0002nF-Qf for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 11:28:01 -0400 Content-Language: en-US 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" Hi, I know Bastien's out of touch for a few days, but could someone say whether= a patch to the mailing list is the right place to put it, or should I put = it on GitHub or somewhere else? Thanks. -Ken > From: Ken Williams > Sent: Thursday, August 16, 2012 2:30 PM > To: emacs-orgmode@gnu.org > Subject: [patch] change indentation logic for edit-src > > Following on a message from a few days ago, I've prepared a patch (attach= ed) that alters the behavior of 'org-edit-src-exit' ... CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [patch] change indentation logic for edit-src Date: Fri, 17 Aug 2012 11:47:25 -0400 Message-ID: <3130.1345218445@alphaville> References: <21A5E1E970CD46459ECBE86D6CC4B28C67415546@spexch01.WindLogics.local> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2Olk-000889-QQ for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 11:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2Olj-0001HR-HN for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 11:47:28 -0400 Received: from g4t0014.houston.hp.com ([15.201.24.17]:43463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2Olj-0001H8-CG for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 11:47:27 -0400 In-Reply-To: Message from Ken Williams of "Fri, 17 Aug 2012 10:27:37 CDT." <21A5E1E970CD46459ECBE86D6CC4B28C67415546@spexch01.WindLogics.local> 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" Ken Williams wrote: > Hi, > > I know Bastien's out of touch for a few days, but could someone say whether a patch to the mailing list is the right place to put it, or should I put it on GitHub or somewhere else? Thanks. > > -Ken > > > From: Ken Williams > > Sent: Thursday, August 16, 2012 2:30 PM > > To: emacs-orgmode@gnu.org > > Subject: [patch] change indentation logic for edit-src > > > > Following on a message from a few days ago, I've prepared a patch (attached) that alters the behavior of 'org-edit-src-exit' ... > The mailing list: see the guidelines at http://orgmode.org/worg/org-contribute.html#sec-4 Nick 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: [patch] change indentation logic for edit-src Date: Wed, 22 Aug 2012 08:58:21 -0500 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C67415AFD@spexch01.WindLogics.local> References: <21A5E1E970CD46459ECBE86D6CC4B28C674153FC@spexch01.WindLogics.local> <87fw7fyh25.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4BRz-0007ne-Kv for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 09:58:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4BRv-0004mv-Np for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 09:58:27 -0400 Received: from shrimp.windlogics.com ([216.245.170.164]:30667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4BRv-0004mY-Jk for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 09:58:23 -0400 In-Reply-To: <87fw7fyh25.fsf@altern.org> Content-Language: en-US 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: Bastien Cc: "emacs-orgmode@gnu.org" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmFzdGllbiBHdWVycnkg W21haWx0bzpiYXN0aWVuZ3VlcnJ5QGdtYWlsLmNvbV0NCj4gU2VudDogVHVlc2RheSwgQXVndXN0 IDIxLCAyMDEyIDY6MTQgUE0NCj4NCj4gTWguLi4gZm9yIG1lIHRoZXJlIGlzIG5vIGNoYW5nZS4g IFRoZXJlIGFyZSBhbHdheXMgMiBzcGFjZXMgYWRkZWQgYmVmb3JlDQo+IHRhYmxlLmVsIHRhYmxl cy4NCg0KVGhlIHByaW9yIGJlaGF2aW9yIEkndmUgYmVlbiBzZWVpbmcgaXMgdGhhdCB0aGVyZSBh cmUgMiBzcGFjZXMgYWRkZWQgKmV2ZXJ5IHRpbWUgdGhlIHRhYmxlLmVsIHRhYmxlIGlzIGVkaXRl ZCouICBObyBtYXR0ZXIgd2hhdCBzZXR0aW5ncyB0aGUgdXNlciBoYXMsIHRoYXQgc2VlbXMgbGlr ZSB1bmhlbHBmdWwgYmVoYXZpb3IuDQoNCiAtS2VuDQoNCg0KQ09ORklERU5USUFMSVRZIE5PVElD RTogVGhpcyBlLW1haWwgbWVzc2FnZSBpcyBmb3IgdGhlIHNvbGUgdXNlIG9mIHRoZSBpbnRlbmRl ZCByZWNpcGllbnQocykgYW5kIG1heSBjb250YWluIGNvbmZpZGVudGlhbCBhbmQgcHJpdmlsZWdl ZCBpbmZvcm1hdGlvbi4gQW55IHVuYXV0aG9yaXplZCByZXZpZXcsIHVzZSwgZGlzY2xvc3VyZSBv ciBkaXN0cmlidXRpb24gb2YgYW55IGtpbmQgaXMgc3RyaWN0bHkgcHJvaGliaXRlZC4gSWYgeW91 IGFyZSBub3QgdGhlIGludGVuZGVkIHJlY2lwaWVudCwgcGxlYXNlIGNvbnRhY3QgdGhlIHNlbmRl ciB2aWEgcmVwbHkgZS1tYWlsIGFuZCBkZXN0cm95IGFsbCBjb3BpZXMgb2YgdGhlIG9yaWdpbmFs IG1lc3NhZ2UuIFRoYW5rIHlvdS4NCg== 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 16:32:26 +0200 Message-ID: <87d32j9ev9.fsf@altern.org> References: <21A5E1E970CD46459ECBE86D6CC4B28C674153FC@spexch01.WindLogics.local> <87fw7fyh25.fsf@altern.org> <21A5E1E970CD46459ECBE86D6CC4B28C67415AFD@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Bym-00022Q-7C for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 10:32:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4Byc-0002na-N5 for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 10:32:20 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:45053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Byc-0002n0-H0 for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 10:32:10 -0400 Received: by weys10 with SMTP id s10so721931wey.0 for ; Wed, 22 Aug 2012 07:32:08 -0700 (PDT) In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C67415AFD@spexch01.WindLogics.local> (Ken Williams's message of "Wed, 22 Aug 2012 08:58:21 -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, In Emacs, I have the same behavior when editing a table.el table before and after I apply your patch, with both org-src-preserve-indentation set to nil or to t. I must be missing something here. Do you have an idea? -- Bastien