From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6I1gARn2m19VcQAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 11:16:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gCTSOBj2m1/LHAAA1q6Kng (envelope-from ) for ; Fri, 30 Oct 2020 11:16:40 +0000 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 3BFC39401BF for ; Fri, 30 Oct 2020 11:16:40 +0000 (UTC) Received: from localhost ([::1]:39532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYSOc-0000dN-WC for larch@yhetil.org; Fri, 30 Oct 2020 07:16:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYOeW-0005B3-Pw for emacs-orgmode@gnu.org; Fri, 30 Oct 2020 03:16:48 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:37295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYOeU-0007WF-RD for emacs-orgmode@gnu.org; Fri, 30 Oct 2020 03:16:48 -0400 Received: by mail-ej1-x62d.google.com with SMTP id p9so7226192eji.4 for ; Fri, 30 Oct 2020 00:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=W8n9VIUVXE0H8AbclYmA9mp4EWWQ9OVjM/fVPmCIIX4=; b=MULxw/FbxeWBC0uPg8uWKSe3kSkVim/IsjTVXIlX1UXp/ApPhEMtGiJMa5VhUQT4UW 0ExnEbqTetismj5ZTM1cwMBUrHCKFDd86l8ZP2rZ5aK6vUnif4OSoA467CtE+xtLZdrW gj/NCFNxZw8liRh9Oo1cQrRJOOW4Ruthq6hdLYf8Rqxy/XvGLj5y9TXwfrZvpcEY2GyR mOzwIEg/+3D8NiMiCJV87OI4x4tZJ150CU527KzZ77fvjf+svOGxj8SFVwtNiOl35YhC IdcykeQgqnTj0iiye/pED2Z8m+hS1qNngOaOKum5Tx+77WTyOf2jnsB2koGafMY46rir 49Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=W8n9VIUVXE0H8AbclYmA9mp4EWWQ9OVjM/fVPmCIIX4=; b=nptH2eeBUXOF/2pr4BLG2rVCPH9+FlI/TLV/7oe+mSM9A7DhnuRvjt83d/JR++OcHX wFfEi3PeGjxjWfKzC5KEWVJ4uyaDoeBiNEH6xzJkzRGdmeNnH25ZlpcbIeEvFVkHVYvF 1plqkiXiNqSanz3mAFbWal7woJrjj7HJYFIjWvzbEPHiFGH0Gk2bvmqAYSZGcew6RYXB omcxSyoic3rkgLEVYBXSn/jk9kqBHsZR+3wP+XkpFBNTAohH63GTRV8L9ZN+f1o82Dez 2oUzgBeMe5/zXrmf6XV+0cYYo2uxpaKJ8tBXVTGsyf6zSRCh+OWw3XGJrImoYD0HD49G 6wrg== X-Gm-Message-State: AOAM531Z8qyuNzWLcgeTa4HIA+Da/x9y+gK1HrIIyNs4n7daqtZ6LBPv TemTriPfD2CW2+fKtBlgjaD4zfOEXnZ1++O9+exFXQIeJH6sDQ== X-Google-Smtp-Source: ABdhPJwsx7ZzrJHg7xvLUnDOIzaUGATX2SS3c8sATQnNnURZ+sIZZ7T4xGhOEtLMcsKUF5EY6GoLHT/yTrOGYTV7N7k= X-Received: by 2002:a17:906:6453:: with SMTP id l19mr1127692ejn.366.1604042204528; Fri, 30 Oct 2020 00:16:44 -0700 (PDT) MIME-Version: 1.0 From: Martin Rottensteiner Date: Fri, 30 Oct 2020 08:16:33 +0100 Message-ID: Subject: S-left / S-right with (double) prefix C-u without scheduled time (only date) To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000ce42f305b2de2dff" Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=martin.rottensteiner.list@gmail.com; helo=mail-ej1-x62d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=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-Mailman-Approved-At: Fri, 30 Oct 2020 07:15:43 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=MULxw/Fb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: OcG/RSEwG3p8 --000000000000ce42f305b2de2dff Content-Type: text/plain; charset="UTF-8" Hi list, i often use shift with left or right arrow keys to change the date in org-(super-)agenda. These key combinations can be used with prefix C-u and double prefix C-u C-u. In my setup in org 9.4 the behaviour is like this for a scheduled date without scheduled time (for example SCHEDULED: <2020-10-27>: C-u S-left: Date changes to date before (26th) C-u S-right: Date does not change C-u C-u S-left: Date changes to date before (26th) C-u C-u: S-right: Date does not change I would prefer this behaviour instead (my proposal): C-u S-left: Add a default time (e.g. 6:00) C-u S-right: Add a default time (e.g. 6:00) C-u C-u S-left: Add a default time (e.g. 6:00) C-u C-u: S-right: Add a default time (e.g. 6:00) Scheduled date+time Timestamps can afterwards be changed as expected with C-u prefix(es). What I found out until now: ( org-schedule nil "12:00" ) adds a time 12:00 to a SCHEDULED date property. (if (< (length (org-entry-get nil "SCHEDULED")) 16) (print 'scheduled_time_missing) (print 'scheduled_time_existent)) org-timestamp-has-time-p: could maybe better be used instead for finding out if time is not present. I think this would be a better default behaviour or the current behaviour might even be a bug. Thanks, Martin :) --000000000000ce42f305b2de2dff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi list,

i often use shift w= ith left or right arrow keys to change the date in org-(super-)agenda. Thes= e key combinations can be used with prefix C-u and double prefix C-u C-u.

In my setup in org 9.4 the behaviour is like th= is for a scheduled date without scheduled time (for example SCHEDULED: <= 2020-10-27>:
C-u S-left: Date changes to date before (26th= )
C-u S-right: Date does not change
C-u C-u S-l= eft: Date changes to date before (26th)
C-u C-u: S-right: Dat= e does not change

I would prefer this behaviou= r instead (my proposal):
C-u S-left: Add a default time (e.g= . 6:00)
C-u S-right: Add a default time (e.g. 6:00)
C-u C-u S-left: Add a default time (e.g. 6:00)
C-u C-u: S-right:= Add a default time (e.g. 6:00)

Scheduled date+tim= e Timestamps can afterwards be changed as expected with C-u prefix(es).

What I found out until now:
( org-sched= ule nil "12:00" ) adds a time 12:00 to a SCHEDULED date property.=
(if (< (length (org-entry-get nil "SCHEDULED")) 16)= (print 'scheduled_time_missing) (print 'scheduled_time_existent)) =
org-timestamp-has-time-p: could maybe better be u= sed instead for finding out if time is not present.

I think this would be a better default behaviour or the current behav= iour might even be a bug.

=C2=A0=C2=A0 Thanks,= Martin :)

--000000000000ce42f305b2de2dff--