From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iKoSH/mNqGKxPwEAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 15:32:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WNwLH/mNqGJUrQAA9RJhRA (envelope-from ) for ; Tue, 14 Jun 2022 15:32:41 +0200 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 355A6F934 for ; Tue, 14 Jun 2022 15:32:41 +0200 (CEST) Received: from localhost ([::1]:43900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o16et-0005kJ-R5 for larch@yhetil.org; Tue, 14 Jun 2022 09:32:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o16bv-0005jc-Rr for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 09:29:35 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:50848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o16bu-0004Wo-BB for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 09:29:35 -0400 Received: by mail-pj1-x1030.google.com with SMTP id e24so8518906pjt.0 for ; Tue, 14 Jun 2022 06:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=0jUxoTdzcIKWo629boDMdIprmZB5FpVkZtj40+fKhDE=; b=a6/Pa2PotXIzsY7SR+yAl7uwC3l2Q2fwbj8/W/Z2vKdJApjs1TiO2HvNSXb6+WfLug W/HLfeeFnMGzAMuYM+ZO5zPHgYcyD94SBVvemMsGWLFXUorC2XAhQGZ+Gl+FOTedUIhW JMqVfdh3ILkmqp3lQT1XPv79GVvd4Olk1nQuP5tE1LYJPB0cDmjkWeqYif7SeAsmZtLA AV+3A//e+9JkSmzlu0vKDapDujrKNdP0p12LuvVDRRb0OgV2az9I/HLGgynVHAvo+wbW y+Lya0HTXpIHN6zcE82iC/vFK5goTEULpSF/9l9yKd895DVK9dr5a/Mrrxr91nDFAGrx k0xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=0jUxoTdzcIKWo629boDMdIprmZB5FpVkZtj40+fKhDE=; b=eXEUkBSu+d4IGi2fWijo4p4N+zyGsavIZ8bipExN0A/c4Rxikw0PtDjxEXRwns8H1v dWShsE8xD+d0ill+YgJHUlxQ4V6eWof02BI/CViw77vr6ZIPIOQQD941kpNWlsqQJ24R 7IEiE13sxA5AoXxjg8mIy14zqxlWS2zoP1n8IPoekJY/okF/ILtGXnj9A4mlkXGDR6SK 9ePeElyuIcfea55657pzKi4QR7DZfXOfj0LhQEH+B9OWYw9HnjF4M2ecNioEGAjKdjFm u5QAZIXYsOqNQM9hhaIr72uPqwlG+7oZJv1VFnbVZCGH6sLsz2ZKAtawc3dKhDacZpLf OMLA== X-Gm-Message-State: AJIora8WoGYt6kmTEj9pNL9x97c32Q8GXm3nE7ZLV2MR57D1rOBc2s/+ GlKkfi8U9MoF8wJpK+W5o4U= X-Google-Smtp-Source: AGRyM1sK8igZENOhURUajj8dWvmFepxbkMoqWfVf41S33/4kv8XpG76DjFa3HAzaIIBSpa/CMv3FPw== X-Received: by 2002:a17:90b:1192:b0:1e2:da25:4095 with SMTP id gk18-20020a17090b119200b001e2da254095mr4588228pjb.240.1655213371504; Tue, 14 Jun 2022 06:29:31 -0700 (PDT) Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id f6-20020a170902ab8600b0015e8d4eb2b4sm7207981plr.254.2022.06.14.06.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 06:29:30 -0700 (PDT) From: Ihor Radchenko To: Daniel Fleischer Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Cursor is moved after changing list bullets In-Reply-To: References: Date: Tue, 14 Jun 2022 21:30:40 +0800 Message-ID: <87pmjbwewv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655213561; 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=0jUxoTdzcIKWo629boDMdIprmZB5FpVkZtj40+fKhDE=; b=qZ0XE4kZu1rl7GI9THHwspnNUr4DK6Lv23tkDyjDR5C/AafeVmFFvOZH4jLTxW7xAZhbha MElMz2ssgqevj1+2bHw4UVlw9G+b0hKnlqvmpxxQT0p0axogjI/Es5XQuKx0TFxGET++Hd gVAS1i+RBdst0MrFzlOyUnhAHezKlQ51iWkb+ryg01qqEU95kIrUe3FgkwBSBtCsc9lAdN 3QR6EhVCm4i1a3kq/pfWPb4rZ47+g9gwFuMP/WUD/4XFLkQVWus4Qjs3CsrgNlPMGgttAr 5S6ZSxRXkGi3y+AOCuunYtnczU3FRF4sN+JiQGqDKZc9iRQlHcEB/PKib74TrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655213561; a=rsa-sha256; cv=none; b=oz07GbtL9SOAHy4SI3lRjbLQgLY2W8AGVNGaOthWnFgHIy3QykdPiDvXr2Uafxstq1JxZk fSMzNnLSsdYJamxiFWcfAhGvxLyZZI1UU0Uo8tB6COSC5w+70wgijIn5/NRZCv7iWItXF9 EFW8Kzdy+zmLt7osELiyvgugjxK8K0K9d1T2toVZ4OyPTHLsxwusLVPLytW6/7Va49CynG WKqzx5rsBM9pO0Q1EECnlicoZBgEKtLhS/uUlzx8us7BbEZIRTLRe136/3ASpd5PzUhdVS +JosCnIZ3PJ9ELZWAH/VQCyW/VkE1zNn1t8UcWtsWMnf10qEcdokh8YrLlSrFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="a6/Pa2Po"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="a6/Pa2Po"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 355A6F934 X-Spam-Score: -1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: K4ka9so/xunY Daniel Fleischer writes: > Hi, there is a regression introduced in: > > ed6f8dc67 org-list: Do not move point and change space when > promoting/demoting items > > When calling `org-cycle-list-bullet' (e.g. using S-right or S-left) the > cursor moves to the beginning of the text after changing the bullet > type. It used to not move which is useful to when trying different > bullet styles. This is due to the changes in > `org-list-struct-apply-struct'. I tried to debug it but I'm not sure > what was the issue the patch was meant to solve. I am unable to reproduce using any of the supported Emacs versions. Could you please provide more concrete steps? Or better a test. Best, Ihor