From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Preserve point when calling org-capture in gnus virtual group Date: Wed, 29 Nov 2017 19:03:44 +0100 Message-ID: <874lpdotbz.fsf@nicolasgoaziou.fr> References: <87zi75f6rq.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eK6i7-0007Lf-GN for emacs-orgmode@gnu.org; Wed, 29 Nov 2017 13:03:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eK6i4-00060Z-DC for emacs-orgmode@gnu.org; Wed, 29 Nov 2017 13:03:51 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:56035) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eK6i4-000604-6x for emacs-orgmode@gnu.org; Wed, 29 Nov 2017 13:03:48 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E560BA80E4 for ; Wed, 29 Nov 2017 19:03:44 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eK6i0-0006vD-7J for emacs-orgmode@gnu.org; Wed, 29 Nov 2017 19:03:44 +0100 In-Reply-To: <87zi75f6rq.fsf@fastmail.fm> (Matt Lundin's message of "Wed, 29 Nov 2017 09:23:37 -0600") 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" To: Org Mode Hello, Matt Lundin writes: > When calling org-capture in gnus virtual groups (for instance, groups > created through searches), I found that the region captured was > different than the region I had selected. This is because one of the > functions called in org-gnus-store-link moves the point to the end of > the buffer. The attached patch fixes the issue. Applied. Thank you. Regards, -- Nicolas Goaziou