From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 8IHNKYFi72O6yQAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 12:18:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AA/DKIFi72MGCAEAG6o9tA (envelope-from ) for ; Fri, 17 Feb 2023 12:18:25 +0100 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 5D26D27836 for ; Fri, 17 Feb 2023 12:18:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSykS-00034O-Vo; Fri, 17 Feb 2023 06:17:53 -0500 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 1pSykR-00034B-2i for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 06:17:51 -0500 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 1pSykP-0002zA-0S for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 06:17:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 10EF9240399 for ; Fri, 17 Feb 2023 12:17:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676632667; bh=j6rr6sbiN0+Immm5sT3wYleCsdCHkkMfUF47QtWT8Q8=; h=From:To:Cc:Subject:Date:From; b=Swdtk1ZvsOqC64pCdfFjcoaey2lwzM+iQr+mvEn1A7zul994tRUh+acCiosdR/key LrBK7X8lW9dWk5rYTzsq62Rrky6WtVhNTep1dcJk71FNZNoV31U1wq3o5WgSxxXX8i MdogGy6SssYaJ4Aj+7RFsw4Tg1L7xgkPNCyzznrakAHHmjkVffvj0XllzTW7exJqRF 9g/BMuH752hb9GZ8jch2AYtbu4QXiBpN1ckGgPo1jrPgO+MwLHLHqkqDK2xj1h2oIQ qBCjQmPCTQNXKNKYajMU3oiDE1Cybr1DTB5JH3n9Xv7dmbNn1smzbk4Ehxa2D3nUUS K2IqbDHZCWQvQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PJ8Rt2r45z9rxG; Fri, 17 Feb 2023 12:17:46 +0100 (CET) From: Ihor Radchenko To: Darius Foo Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-indent and display text property not preserving column when moving In-Reply-To: References: Date: Fri, 17 Feb 2023 11:18:24 +0000 Message-ID: <871qmoczgf.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, 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." 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676632705; a=rsa-sha256; cv=none; b=IZJRrMuhnTakTXYtLyY6LS8WFHoEds4Nz7FGk9H7RRqKTK26XMMCFSGg4ovxnJ0D1QC8AC befbB7jUKBmVN6tv6Q1mE3tRkgsMwXdXUww5GpokWBgO4vdb1NAlq/O9B90r/OpjYGFIkW xi5JqA98zo/Kitg/gXe/BazRT3DtEx0QZ2gJkoa2rNbbIWAHDBWIgbVt4oAyTtx+mncYNd bDE8pgxfXa6/MTy0oB7xall+wInh9hOA/Wb+c+xRWgIczCGIcyj51F16Dk6PxciObuxgM7 ztIEKS/qPr5KNaEY/xfDp+i78FFcpyqdate7fxXHKgQnTMt9NpSGF3dO3+hJMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Swdtk1Zv; 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=1676632705; 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=hYgc6Hdy3fC8bYM8ii1bfFu1QwerFhMHBPk6YiGd4ks=; b=dgAKFb+apqLtXtKkLfG2HNJKJxb1UcoSALfEN2DrEeCd4J/r1+naYGDdIGTncgE4sMNvXY 9XbluclB0OUTMKBLhZKYQl5p5nmwIbjX0KLKxHNoGGKwOBPNczNw08NjQ9dpSwfKCFBL3I pRVLFLJ4pRBnijjTGyTZB7f8sMiIdoUxj9AR2yaBvqadhdtwFyUZ9O1NLng91BULLHPf4I /n5JMWDsmbV/hF+oprFMF8Bo4pEEpmY3o/JBJS2VVMQUCcfondgyCuobnIf2v+pIIAiV3t a1hcFZV092HiXP9nsEAXRNsQOJW84kH4/pkGNwRrw7RvcGLainngrRafcTeuCg== X-Migadu-Queue-Id: 5D26D27836 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Swdtk1Zv; 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" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.11 X-Spam-Score: -6.11 X-TUID: 1KE8jr/ylwei Darius Foo writes: > Here is an org file to try it on. With the cursor on x, pressing up moves > it to y instead of a, and pressing down moves it back to x. It seems like > the amount moved depends on the indentation added by org-indent: with point > on z, pressing up moves it to w. > > * h1 > ** h2 > - a...y....... > - x........... > *** h3 > **** h4 > - ........w... > - z........... Thanks for reporting! It is unlikely an Org bug. Rather Emacs bug. May you report it to Emacs devs via M-x report-emacs-bug? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at