From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)] Date: Mon, 10 Feb 2020 07:25:25 +0100 Message-ID: <87d0andkmi.fsf@gnu.org> References: <603f9c4e-c621-7592-5b20-a7354c11d5d2@posteo.eu> <87zhdz1par.fsf@gnu.org> <878slijpzg.fsf@gnu.org> <4545c239-c8bf-fa16-2591-b0ee541ea732@posteo.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56006) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j12Vh-0006qG-NM for emacs-orgmode@gnu.org; Mon, 10 Feb 2020 01:25:35 -0500 In-Reply-To: <4545c239-c8bf-fa16-2591-b0ee541ea732@posteo.eu> (=?utf-8?Q?=22S=C3=A9bastien?= Miquel"'s message of "Sun, 9 Feb 2020 16:26:34 +0100") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?Q?S=C3=A9bastien?= Miquel Cc: emacs-orgmode@gnu.org Hi S=C3=A9bastien, S=C3=A9bastien Miquel writes: > As far as I can tell, this is still broken in 9.3.3, which has your > fix included. yes, the initial fix was wrong. The current behavior when the region is active in a src block is to indent the whole source block, which is not what the user expect. The problem with the cursor going back to the beginning of the block comes on top of this (bigger?) problem. I could not find a proper fix yet, I will try later this week. Thanks, --=20 Bastien