From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oDruJ5ogwWMBSgAAbAwnHQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Fri, 13 Jan 2023 10:12:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WOD+J5ogwWPWbwEA9RJhRA (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Fri, 13 Jan 2023 10:12:58 +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 638E4239E for <larch@yhetil.org>; Fri, 13 Jan 2023 10:12:58 +0100 (CET) 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 1pGG67-00040Y-Hp; Fri, 13 Jan 2023 04:11:39 -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 <yantar92@posteo.net>) id 1pGG5v-0003yZ-Nx for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 04:11:31 -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 <yantar92@posteo.net>) id 1pGG5t-0002E2-Fm for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 04:11:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9CBC22402C8 for <emacs-orgmode@gnu.org>; Fri, 13 Jan 2023 10:11:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673601082; bh=UxJXsoZ43ooOVtRmjMSjCrem64LHV/c03qAEF12ODFM=; h=From:To:Cc:Subject:Date:From; b=V+67UccA+J36saoezlbT3jhL5cNm8bQcZF2Bc0RDDqCxOawrno7GmwKQ9kipGEYEG XulMbmBJ/JLl73etmTXftaPzzZuvtDY+IQcxBCdu+FQaUvgkBe1QPIkVAbtoCUylHq C/vlf4M6D4r9I8H5k+tQ8O/9xequxR1g0PBJ9o7jejNtcCrxXLnqlnSvEJzxTYBCxO c8h2E9jYUxhqSIi54GXoRVcXyHU47rkKaUKL2HOGO7HbjI1E0Oj4KRKfdlnRFrU81e 062foYaobt1bJrxyIZIEHbDvBDnY0kxOzjbkXCTRr29ldwvMwZr+TZuoZG5C2dT1L9 fiZQd0Tqghi2w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NtbJ56q6hz6tmQ; Fri, 13 Jan 2023 10:11:17 +0100 (CET) From: Ihor Radchenko <yantar92@posteo.net> To: Johannes Dahl <muusik@gmail.com> Cc: Org-mode Org-Mode <emacs-orgmode@gnu.org> Subject: Re: [BUG] Shift-up/down move the cursor to end of timestamp In-Reply-To: <CAHuokSbJxM4kqjdT94aHmjnKqzOvpJpq3tJqOEqdswaBC=JnfA@mail.gmail.com> References: <CAJKAhPDVs5GRKR-cmyeNd5cQFHyKpw_=JptBzi1f0FYNTqqjzA@mail.gmail.com> <87zgbzh4d7.fsf@localhost> <CAHuokSbJxM4kqjdT94aHmjnKqzOvpJpq3tJqOEqdswaBC=JnfA@mail.gmail.com> Date: Fri, 13 Jan 2023 09:11:49 +0000 Message-ID: <87edry7q96.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." <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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673601178; a=rsa-sha256; cv=none; b=PO3csp/mtBWoSJLaJUIe4vrwMZ1iPwTp0ebQoa4UJXcSfVV1IP07xNISpL3/LnnMSYQmpo i5FKmVf5onH4ik4rWUqvyk6JTrPKZFWJIIsZI5lnpWlYVJBdCCwvwx0VSNwamQlxKdjKvl tkTl8SVd7ERvr+s34jv2gmhNXfYtsAxpmjQPhOmk/ZNc5qOSgZhx6QQRW8zSEQwksvY6eR ReAuiwdzSfR+CkLH3eLOQtcbF+J5mVDjr+7uYcJ8g29MhmYjA8mSsEkfoF57Cy5To0HhwY fwpFgxm7SWa+56DcYel/MxR7q0LQxko0aBdM9RBo+j3f7yuNLw3L+BM9R3Kdsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V+67UccA; 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=1673601178; 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=PsQSxQ4vy0p8my9a9rvmWg18F4Zb0UAYk0CoMnvN23c=; b=ZlePWp55syndskdjdOXnPd6mUkAeljOZmyKqgNlaqX5FkKFUZV2jEOXRIWM+RfmaEPACrN 8BSU9a4TFe1+uAuZhQ2A+qzt3wn+7Y8nBNNrURQKVFFMb3IzEqfGNnAFLbMk9mnplDPsvM dFCGsBae2fehhseC+GiL90pE0OzCW8O3/O6Slxiczs3wR1Wg8LCG7+4DbCSYs44SBYzlez ILhjhaY4AmDIN3wcKT+zc5a0NiNGI1V/8CeBptfd7EXIZFJ0zvNGkWeTotOuK9S2uFVUUQ 0CZACbU+WJgmm7oOMWrqGeyDd61/p5Oq5uI8YUV0EQP3vgpL3z+/gWUBpofW+w== X-Migadu-Spam-Score: -4.55 X-Spam-Score: -4.55 X-Migadu-Queue-Id: 638E4239E X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V+67UccA; 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 X-TUID: YCm3h97w7VEY Johannes Dahl <muusik@gmail.com> writes: > ... However, the same problem (cursor is positioned > after closing bracket) occurs with the related commands org-shiftcontrolup and > org-shiftcontroldown. (For completeness: in 9.6.0 they were even slightly more > broken in that they shifted the timestamps in different directions.) Thanks! This is a bit annoying, because the problem lies within `org-timestamp-change' logic. I now fixed the particular problem with `org-shiftcontrolup' on bugfix, but I am afraid that similar issues may pop up in future. Fix: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=97a235cf1 Ideally, we need to patch `org-timestamp-change' logic. See https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=76f9a3c2c -- 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>