From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GLcdMfHRv2OzKgEAbAwnHQ (envelope-from ) for ; Thu, 12 Jan 2023 10:25:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eNYwMPHRv2MY5wAAG6o9tA (envelope-from ) for ; Thu, 12 Jan 2023 10:25:05 +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 5DB792B02B for ; Thu, 12 Jan 2023 10:25:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFtoj-0007Uk-1m; Thu, 12 Jan 2023 04:24:13 -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 1pFtoA-0007S0-Jo for emacs-orgmode@gnu.org; Thu, 12 Jan 2023 04:23:40 -0500 Received: from mail-yw1-x112c.google.com ([2607:f8b0:4864:20::112c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFto8-0005H2-PD for emacs-orgmode@gnu.org; Thu, 12 Jan 2023 04:23:38 -0500 Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-4b718cab0e4so230978467b3.9 for ; Thu, 12 Jan 2023 01:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=QlmWZcm64Yh9ZfWaQHGqt0MiAhVx/kO+DAOoktYUfKU=; b=U+n1pOYqlY9R38zdb5orUlZsdBfGeWkPnGRygKhOxt6AF5+z/VqIEOekwkTdcgXde2 7ZK3GaCmQeYGfDWuEI+4npABag8bhE2cjcjHc60WTrbnprsXGmj4xQQBD1uOv3bKZZAs iFt3xYWnIZopXeAfZfOqyO3UNGMCYunVl2VK5OldTlPOTfFRlTb1jANk+7IE+O0yYXjC x+BdJxdiiZTzIzDE90bvvUCwju6giu15rZsYlDYg83U7KMZ9h1zlHWLrJyYlqyjBPmpP 0Kuf2iGT35rJWwdGLo5MgpjkVtJ4yoO/MQvlYeol4ky2GcqUc06m4TiTU+1sd1qkpxYE 5cuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QlmWZcm64Yh9ZfWaQHGqt0MiAhVx/kO+DAOoktYUfKU=; b=N68QI/uWIvE57L1d34eq8E62W7ZYVIMF3bA6x3FLPpTqSDsh6YvYbyX4MMpYCLfRxi y/Y5lWvSxWVqNbO/kCXYY2SgvGzkv/vQBT/5To2dOMBBUpjxTBmD0nKRHR303XaMRlOp 9fQLV32YBgX/Dz3Dv3F/Q8FR+oON7yvnWinhkPUx3myz3URyOPj06S3u4Fo/RfBbTr7w Pc7sgUymXnVAKu8uh4HqtdE8Ti77nuTrR7HJyMWlpNcttSS0YTM8DRQZqgMVE74DED6f iV4J0vXB0n8Ll7XOBe65ujM3fDp7jqkl6v8vuWJ9/anUKg9X1lI9U8moWsBgpAYWXIX7 R8Bg== X-Gm-Message-State: AFqh2kq3X4PTZMmcy9XM97MVGrYAlW5jD1uPHeb47X2bMuOFLU1L5G9D yENGxLs6jKcBop0+LJKeBjbT2v6xId/aMUzN0xdkaG9Efu4= X-Google-Smtp-Source: AMrXdXsU26yMay7/GqKc8Y9YO/qqjhGoo0KRZC1ghJY2T13Wc1cWs2cn2n7/jU2CiNL2SIVlCtVuN7D4IAgReiY9kl8= X-Received: by 2002:a81:445:0:b0:3cd:63f6:6af with SMTP id 66-20020a810445000000b003cd63f606afmr1697464ywe.260.1673515412705; Thu, 12 Jan 2023 01:23:32 -0800 (PST) MIME-Version: 1.0 References: <87zgbzh4d7.fsf@localhost> In-Reply-To: <87zgbzh4d7.fsf@localhost> From: Johannes Dahl Date: Thu, 12 Jan 2023 11:23:21 +0200 Message-ID: Subject: Re: [BUG] Shift-up/down move the cursor to end of timestamp To: Org-mode Org-Mode Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::112c; envelope-from=muusik@gmail.com; helo=mail-yw1-x112c.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 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673515505; a=rsa-sha256; cv=none; b=LLmzFt9kxzsFIyWRuyy5gMoRX3794u47EcwT1WC9PLy/VhVPLza90L3Y/U+Akd6FVxpZkr S8uNT5Amxctk8A5Dv7PQQ/S9NYWv1zDDGuxUNe19taDGD3PNCmQ0NbqVo5xwZ6DZNI+VKq R6gSDleAtHsNY1JjzBuvGksB1QMcmOfEllDbpMasetwhVMO6HNpUwWKu2Ppaz8Ozj3TJUL ssij/MCqsggeC4OzHtABVToky4MhAaO9dli7Z1r1WQoznDnQYKOdPU4UWWvzsfl12h5Bdp OGvUMSpFOq6gJ7MGtyQqw0BhLPsb5UE1hwIxTQkdLABOmIM0ToZ+n/FsjMgL/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=U+n1pOYq; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673515505; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QlmWZcm64Yh9ZfWaQHGqt0MiAhVx/kO+DAOoktYUfKU=; b=HqQlXwzuiPMa1wBu2xaYj/SN/5PczwWCJFKAZIbRMoqzNnJ+AjaaGY3d34OUItHFoUURfH CfIdXL43zdO1SeacRJPkHkepy/wyM4hVlIYPzxeA5rraH+06vLnG0xMbIItrXzdUpiDq90 h02b/UCdqrLY+breF8QcvTbIO3rlUnaj60vbG3k0g9rABzZn8ZHnQ4izkm94RVenxbmNnp 2iLzkw+567y6YaNTVPfQ6Z4aQxPvcvBOfrxfcrJD9gEN69N6NF/qKzsH2IWAkqmTLxIQWT oUBVHt9TMo5ancvJBkemrjX8XBIY9MAceh+6gk15huRpcQAA1JEcdkbbUUs4Dw== X-Migadu-Spam-Score: -6.24 X-Spam-Score: -6.24 X-Migadu-Queue-Id: 5DB792B02B X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=U+n1pOYq; 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=gmail.com X-TUID: 5DtjrPnqvu8p On Wed, 7 Dec 2022 at 12:54, Ihor Radchenko wrote: > > Daniel Clemente writes: > > > Using a file with just one header: > > > > * something > > :CLOCK: > > CLOCK: [2022-12-01 Thu 17:15]--[2022-12-01 Thu 17:30] => 0:15 > > :END: > > > > If I put the cursor on the end timestamp (on the 3 of 17:30) and press > > shift+up or shift-down, the timestamp is correctly adjusted by 5 minutes, > > but the cursor jumps some characters to the right and stays at the right of > > ] > > It should stay on the same character (the 3), so that I can keep adjusting > > the minutes with shift-up/down > > Thanks for reporting! > Fixed on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4dddbc143 I, too, was affected by this bug, and, with the release of org-mode 9.6.1, can confirm that it has been fixed. 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.) Johannes