From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp0.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id COAWKfWGjWb1PwEAqHPOHw:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 09 Jul 2024 18:52:37 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0.migadu.com with LMTPS
	id COAWKfWGjWb1PwEAqHPOHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 09 Jul 2024 20:52:37 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=No5XAH4R;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1720551157;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=Q62A+ee+z8uFyueEIepWlZrUnT+ekbh3dMas5+BR1Wc=;
	b=mQkCG0x+BGfo4x8UI1D/hB6brmcNmlJZCkL86qSdNvs4SDcfjyPc1I2lrqw+y09VJVupft
	mjDqcV3baXD8cqT0G5YiNfsHUU85rRMuSNL7jvGj+i6nLruytQrN1blVMz1trguI2YZJvz
	fO2A2GJ6wxaM0Z49Xo2Ov2Cz30BwO/1XsM1XOwdyDWRZOPFs6BB1P/SM8HdJm3GahiHfpw
	/xThrF6IGlkInYvXI/qjWBhJvYDBjrLBNkl0rfHJM938HZogIXJAkGOofHjfJim1EKNSpI
	0WwURb2J1j7cmn9UOk+QdVM7jj+OFFSIN2xb0ACkylwG6i4Mw0rKIQqK1tNN8w==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720551157; a=rsa-sha256; cv=none;
	b=ln82Km8AH88xEJu9r1aycGl9SAvtqU439z4EyPgK4CwzHdH0IZrHuwcbTs8nS2n3BXftao
	7pgpIBplUMEGzhSExca63NmdS4pQJIXylIDVTVWkhPmXx0V1m9q0JmSlO1NYa4ABhSEJP6
	1NxLDBAJk7NOiJL3Xgzad949MbDUtYOuVFbeWdFwYMDsUxVRGUYDMkY64t+XfyN/x5VJig
	6c8Xz1VZGb8kKxR5meZacMcbddMkF9D2y1/5KmS/wYeeZsRkfqP3CHnkuTHen/ljlZ4XrM
	g4f3gDRQCeBD0AAG4jKZHBYFYQ86Ws95A9NLEyhTOax8Az1WVK9y2dX3I4rleQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=No5XAH4R;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 46272136E9
	for <larch@yhetil.org>; Tue,  9 Jul 2024 20:52:37 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1sRFwF-0002IB-24; Tue, 09 Jul 2024 14:51:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1sRFwC-00029D-RX
 for emacs-orgmode@gnu.org; Tue, 09 Jul 2024 14:51:40 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1sRFwA-0001qe-Mb
 for emacs-orgmode@gnu.org; Tue, 09 Jul 2024 14:51:40 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 9B2A4240101
 for <emacs-orgmode@gnu.org>; Tue,  9 Jul 2024 20:51:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1720551096; bh=j+nvDwVdmWkYH65qExxdsM/jfUw/eTjmnuyekatAyUQ=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=No5XAH4R0RJHjgMk9maZkc8hx8wvFOImAM16xDxrC5qUNKUgsD+H/mAm1EjpMzOZL
 sa1dWBeCixP3OKa2oys5wTySmm2mASv2FENYiTn82zK2qm9oGhun3TlnBHqDZykvHy
 1H9EYRLAR85Y21oAasu7YKLBNUbBbEqlfAyakVxadk5MGaWzktZdJbmNQAzINmw/BG
 apRvTIGPzHp/a2Vg72EOGf77bKs2u+FkzluZYEVkBddhMAJk3u0mey5XUI6N9Bf5RD
 t0mrfQxYD1yBrdy2GO+sx04/3jGItefTBXArU12KM+xafAM5IL7BsFDFhNbl/deccV
 UIeCiRyHG9D1w==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4WJVT33qHDz9rxL;
 Tue,  9 Jul 2024 20:51:35 +0200 (CEST)
From: Ihor Radchenko <yantar92@posteo.net>
To: the_wurfkreuz <the_wurfkreuz@proton.me>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Incorrect cursor placement after using 'undo'
In-Reply-To: <XF_7mLNCUN8XKtnd7G-NUoAF5Vq0DDafaDdF0v53eFlhQ35N-H3bPA0VkYyDrbEWE-0PEQg8iiyB7NatUtvPEQe6SQyJaTE5vW0CwoUKzqs=@proton.me>
References: <XF_7mLNCUN8XKtnd7G-NUoAF5Vq0DDafaDdF0v53eFlhQ35N-H3bPA0VkYyDrbEWE-0PEQg8iiyB7NatUtvPEQe6SQyJaTE5vW0CwoUKzqs=@proton.me>
Date: Tue, 09 Jul 2024 18:53:09 +0000
Message-ID: <87msmq75yi.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Queue-Id: 46272136E9
X-Migadu-Scanner: mx12.migadu.com
X-Migadu-Spam-Score: -8.13
X-Spam-Score: -8.13
X-TUID: CGgN9XgAji8F

the_wurfkreuz <the_wurfkreuz@proton.me> writes:

> When i comment something inside a source block but then decide to undo
> the commenting, the cursor ends up on the very first line of the block.
>
> Steps to reproduce:
> ...

Thanks for reporting!
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2d9e70b80

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>