From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kosorukoff Subject: Re: [PATCH] Fix capture to make it save the point location Date: Thu, 1 May 2014 19:03:28 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e0149cc30403b0d04f8613160 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wg2pK-0001ya-9d for emacs-orgmode@gnu.org; Thu, 01 May 2014 22:03:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wg2pJ-0007hJ-AU for emacs-orgmode@gnu.org; Thu, 01 May 2014 22:03:50 -0400 Received: from mail-oa0-x230.google.com ([2607:f8b0:4003:c02::230]:36113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wg2pJ-0007hD-4f for emacs-orgmode@gnu.org; Thu, 01 May 2014 22:03:49 -0400 Received: by mail-oa0-f48.google.com with SMTP id i4so3776265oah.35 for ; Thu, 01 May 2014 19:03:48 -0700 (PDT) In-Reply-To: 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 --089e0149cc30403b0d04f8613160 Content-Type: multipart/alternative; boundary=089e0149cc30403b0804f861315e --089e0149cc30403b0804f861315e Content-Type: text/plain; charset=UTF-8 sorry, I accidentally sent my previous patch. This is the one that belongs here. On Thu, May 1, 2014 at 7:00 PM, Alex Kosorukoff wrote: > Hello: > > this is another small patch to org-capture.el to make sure that after > completion it returns to the same place from where it was invoked. This way > users won't loose track of where they were before capturing something. The > minimal setup to reproduce the case where capture fails to return to the > place of its invocation is attached. > > Best, > Alex > --089e0149cc30403b0804f861315e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
sorry, I accidentally sent my previous patch. This is the = one that belongs here.


On Thu, May 1, 2014 at 7:00 PM, Alex Kosorukoff <alex@3form= .com> wrote:
Hello:

<= /div>this is another small patch to org-capture.el to make sure that after = completion it returns to the same place from where it was invoked. This way= users won't loose track of where they were before capturing something.= The minimal setup to reproduce the case where capture fails to return to t= he place of its invocation is attached.

Best,
Alex

--089e0149cc30403b0804f861315e-- --089e0149cc30403b0d04f8613160 Content-Type: text/x-patch; charset=US-ASCII; name="0001-org-capture-fix-org-capture-to-make-it-save-the-poin.patch" Content-Disposition: attachment; filename="0001-org-capture-fix-org-capture-to-make-it-save-the-poin.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_huou6qf62 RnJvbSBjZjk3ZGQ4MWFhOTQ1MTBlNWRjZDViZTQ3OGI1MTVjNzMyY2Q5M2Q0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IEtvc29ydWtvZmYgPGFsZXhAM2Zvcm0uY29tPgpEYXRl OiBUaHUsIDEgTWF5IDIwMTQgMTg6NTA6NDMgLTA3MDAKU3ViamVjdDogW1BBVENIXSBvcmctY2Fw dHVyZTogZml4IG9yZy1jYXB0dXJlIHRvIG1ha2UgaXQgc2F2ZSB0aGUgcG9pbnQgcG9zaXRpb24K CiogbGlzcC9vcmctY2FwdHVyZS5lbCAob3JnLWNhcHR1cmUtZmlsbCB0ZW1wbGF0ZSkgY2FuIGNo YW5nZSB0aGUgcG9pbnQKICBwb3NpdGlvbiBpbiB0aGUgYnVmZmVyIHdoZXJlIGNhcHR1cmUgd2Fz IGludm9rZWQsIHNvIHVzZXIgbWF5IG5vdCByZXR1cm4KICB0byB0aGUgc2FtZSBwbGFjZSBhZnRl ciBjYXB0dXJlIGNvbXBsZXRpb24KLS0tCiBsaXNwL29yZy1jYXB0dXJlLmVsIHwgICAgNCArKyst CiAxIGZpbGVzIGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlv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