From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YE8EFWCKqGLcWQEAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 15:17:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4FTPFGCKqGLpcwAAauVa8A (envelope-from ) for ; Tue, 14 Jun 2022 15:17:20 +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 1B37318474 for ; Tue, 14 Jun 2022 15:17:19 +0200 (CEST) Received: from localhost ([::1]:33748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o16Q2-00068W-Nf for larch@yhetil.org; Tue, 14 Jun 2022 09:17:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o16PA-0005s1-SV for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 09:16:24 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:37684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o16P7-0002Ve-Vo for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 09:16:24 -0400 Received: by mail-ed1-x536.google.com with SMTP id v19so11610009edd.4 for ; Tue, 14 Jun 2022 06:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=9qOZ23BuZCzggnb6Lf699h2HKqhKq5wwKmWtUih3OfM=; b=FOkAYNoA+1uqgP2LissrDMk8W17crl2/Fn42ToyN4XXYBQttAVa3sCHqYF2/r4KoAU fCbLkHMskDwSE7hGrN4npBauYTlh4rgL7Xwxy3nJwQo0HTStLMe9zzbVAeD7qsWNM+U7 o4EGZuLTvn2VjwupdrGVwcmJjdM9d+DEkChMgGLq9e94DdoxVlj0UT+MLW8NZ+emY6wn LoAXleYyDp1f0IOY2UZCqNDIVUjd6rVBRzrnR2Ne/B685uteexIcFhFrXaxkI7N4EQmQ DsGejFG3n6f+JQpD9+eAnGoWfVKy2j8hBdSrH/4zMUSqzVGaqdB6XcilkKQRTlADngRH Em0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=9qOZ23BuZCzggnb6Lf699h2HKqhKq5wwKmWtUih3OfM=; b=nJx1L5u0mrvom/rMuXWnMepIbNiD5PqpSXnOn0a4QV9ZOuGM67uFRlRo97W95I2DhP 7dlI3wEqwo+IbTeyX3DEuVhyaQJGw+Vw3FsXQs62uyD9frQFcNez4/wnxbxkrz1G7Kd0 MFKrzeSYvxFvZ9EBM0gdixmKgUzWWf4gJANgrHCfh9b8HFu7RFW62DCpjR9FLrTs2Qwr 4jzh3cutRhF/j0RGsSz4Q/CNfKZha8tvtVWApCsgRjpuba/C1XXgqj8dw8TNRpekWHb9 16SWYl7Uc9kelvdWqaX/R0+9+ngW3Bs7A3jzEVV5/IxRnPZIg8K69SEcfAWT6UT5R4S9 eB3g== X-Gm-Message-State: AOAM533D810rccDU8biJmbHgc+DZKkIVXLemHhptyD/o8N42PRrTGBc8 Tq66XQxVJH69ml378ytEDzYMUkyK9RLXGA== X-Google-Smtp-Source: AGRyM1tWOA0BFP06M6l2Se6Pfa+do7NbklLljOC5rJjnqaGWfvJfefzpZdeeyWHkL1udLKs/hHqcHA== X-Received: by 2002:a05:6402:2948:b0:42a:ae0c:2f26 with SMTP id ed8-20020a056402294800b0042aae0c2f26mr5929367edb.425.1655212580632; Tue, 14 Jun 2022 06:16:20 -0700 (PDT) Received: from Home-Mac ([5.102.204.100]) by smtp.gmail.com with ESMTPSA id i19-20020a170906445300b006feba31171bsm5124035ejp.11.2022.06.14.06.16.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 06:16:20 -0700 (PDT) From: Daniel Fleischer To: emacs-orgmode@gnu.org Subject: [BUG] Cursor is moved after changing list bullets Date: Tue, 14 Jun 2022 16:16:17 +0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=danflscr@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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=1655212640; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9qOZ23BuZCzggnb6Lf699h2HKqhKq5wwKmWtUih3OfM=; b=eXu9eX6Tj6MI7KchExTkdE/YFdHV+XDGZuvjD/VSVPskDexcLZwP8sL/nqjl96+sdAoft1 n0sFF3x7YQ2CovvlQAPWGa20+hv19FLnCqL3kv4n3XVASvAqDFQmXfRiCDMnVIR+/Zqzrj PhkDkgJBlrAkh6fJfMsNuGtBwzffFyE9cvHqgrhPZ+sxyc9S3AOSSUpmjSe1X4yq1inWDF Au/r1agr+zPLQ3Fesw0OCs+Yw2DQeKBUrFiyDysgYfx8Ndu+DbTqe2R2AZilR/aiJXqE6b RgxAOVxve0eotgHTRVFwCw5rMu+1yhwEnqeBw/K04l+EF5qKe+nHq7zAvnloUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655212640; a=rsa-sha256; cv=none; b=tl+yBJ2uYNKdBuEGvy8MRMSA9uetZzGwhXC+gSyEhCXKn9qu2X5m48WNSMe01oEDNsf0vh 6lbrBhDBJszW80a/+bfyW3VbCxI11ZdwmQQ3eXbdy8YiCUHwm+QRQm2esBK6k34nyWFYDl 9X9ELJcU6owyu09pAo5pIVcQeYxDto3b+tB25zC7eTcUBLe4O5lD0/6BOJwktraHShCmNT TNR/J2CNvX3skAAFGojiS2pSTqjhbJfd/Yaqkz2+37e91hQf7NzvZiws8XbBNn62kqeBok 6FAwuxpohxGPGvUDkEfuA6zbsskWZ0fpYdcC/xkjBDZXrjwmPLwTbK0UEUGYJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FOkAYNoA; 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: -2.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FOkAYNoA; 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: 1B37318474 X-Spam-Score: -2.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: y+WhMsBJEKmu 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. Thanks, -- Daniel Fleischer