From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2MuSI87nuGYycwEAqHPOHw:P1 (envelope-from ) for ; Sun, 11 Aug 2024 16:33:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2MuSI87nuGYycwEAqHPOHw (envelope-from ) for ; Sun, 11 Aug 2024 18:33:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Xuw40KRv; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723393998; 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=RodX7wGKTtEIt2s4sbooE9KR7EFvHeg7bo21M8E4c08=; b=Gz4sRuc+wqtKMWaP3dLEaP5ROw+h0mRmNkfSkNRyEsCVcCJcuVl1KHLsz1K8owPF/4HCpb XRmv/iRYBLF5HIiXe9+c/frBsNBi+w6ulUuCWd0cDnFrYfcyMoU1n5k2ZlzoK3gMztZ6dn 5JKvgc3sywuAoSTezd+TLYOIin9SIvu+uECNbQw3qf7dPMteyDRZbZtib0UVN+MoaqZZAK j5wzqOfkDIkHNUbpZbWaDZbQyXqLTGa5HyF80E53j4BA7n0hjURy899WOcM1bpX5GM55n5 U52gMidORyMW3xzBEdUBSW1clVkLppqZc7G5rQD0+T8KVmUx4ApNtNhmi6a6/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Xuw40KRv; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723393998; a=rsa-sha256; cv=none; b=oa360DCeW3ySLPFTUwsjZuw+sAplqEd/QNQVKv07d7u6P1Bg8nWclzl5CRUq5SFRlCuG0i 79pdDgidm619gXMIksEL6Gx2icwt5+5YvpFT6fDBzoZt1zZ498k8Kb3bsgNtH+rD8QsJO9 mn48UZxCfOcjwdMPNfRrL+S9xeiPsKTqVeDD62ZAp1KR8CtYEMa6VnjpG3W4uOIoas7yCR 7GixqgFaVs/cQ4S2U6PT30uCVnC3RDMB9r6EHMkvC3oQQMlESPUIwgiI+pb55cKXzWVMTg TG7p5gfrQVQbGnKHtfUnNl8w6DuwZDNNThxOITUPPrrFSwta9D0nqXXtaJaXTw== 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 7D1476C477 for ; Sun, 11 Aug 2024 18:33:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdBUs-0002dG-66; Sun, 11 Aug 2024 12:32:46 -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 ) id 1sdBUq-0002Zl-7E for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 12:32:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdBUo-0007Gn-FV for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 12:32:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 88802240027 for ; Sun, 11 Aug 2024 18:32:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723393959; bh=0/6HVbBifMuDhs9PgWUCP+g9TeG5uz2rV7jPqFtyL04=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Xuw40KRvVMkPJG94BQTjHdGPA/Otqj54kbTOiQeRnnziYUwnULcNTzdOWZ89nqVNN oA1J301RvNAH8s5uP81TeG0enApmtK1vcOWEh1Yzc1NHQ5S0sYNrq7I4e9Jn3smVwx KJJ2zwvtzHM/rMQq2XI041V1vEfyn8WfBKgHwWInL1f1Cpktute9/C16Ym8iWHcK4B 9vHheo61ak/ty+iqgJAmJv+mxtIAdXINgoco8olHjslgSjNbUusNlfCgQuv0If2T6d ZUKyySqoArd0S0YwxkAlZ7KFLcwph2X4xm32XDtPGeVlct4YphoWzso+S0+7Xr7p5B Ylkyi3zTkua0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WhjqW15pnz9rxF; Sun, 11 Aug 2024 18:32:39 +0200 (CEST) From: Ihor Radchenko To: Seungki Kim Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-forward-element for plain list item [9.6.15] In-Reply-To: References: Date: Sun, 11 Aug 2024 16:33:49 +0000 Message-ID: <87cymfj9xu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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.01, RCVD_IN_MSPIKE_WL=-0.01, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.67 X-Migadu-Queue-Id: 7D1476C477 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.67 X-TUID: kdZwLfMRYSuH Seungki Kim writes: > When the content of an org file is as follows: > > * TestA > - test1 > - test2 > - test3 > - test4 > * TestB > > If the cursor is at the beginning of the line (at '-') of the items test2, > test3, or test4, org-forward-element works as expected, moving to the next > item. > However, when the cursor is at the beginning of the line of the test1 item, > executing org-forward-element moves the cursor to TestB instead of test2. > The command works correctly when the cursor is in the middle of the line > rather than at the beginning. > > Is there something I might be missing? There are two elements at the beginning of "- test1" line: 1. plain list :: all the "testX" entries 2. list item :: just "- test1" Org mode selects the outermost element in this scenario - the full plain list, - and moves to the element following the list, which is your "* TestB" heading. Not a bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at