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 orgHCGK6U18RNQAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 16:18:42 +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 6KGkA2K6U18HcAAA1q6Kng (envelope-from ) for ; Sat, 05 Sep 2020 16:18:42 +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 DCF229400D3 for ; Sat, 5 Sep 2020 16:18:40 +0000 (UTC) Received: from localhost ([::1]:41150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEatj-00028n-3y for larch@yhetil.org; Sat, 05 Sep 2020 12:18:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEatF-00028a-Ks for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 12:18:09 -0400 Received: from coral.adamspiers.org ([85.119.82.20]:34730) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEatD-0001Sv-NG; Sat, 05 Sep 2020 12:18:09 -0400 Received: from localhost (243.103.2.81.in-addr.arpa [81.2.103.243]) by coral.adamspiers.org (Postfix) with ESMTPSA id 651BA2E777; Sat, 5 Sep 2020 17:18:04 +0100 (BST) Date: Sat, 5 Sep 2020 17:18:04 +0100 From: Adam Spiers To: Bastien Subject: Re: [PATCH] doc: Document C-. for jumping to today when choosing a timestamp Message-ID: <20200905161804.3inpmz5o3nensyna@gmail.com> X-OS: GNU/Linux References: <20200829224748.32186-1-orgmode@adamspiers.org> <87o8mlmz6r.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <87o8mlmz6r.fsf@gnu.org> Received-SPF: pass client-ip=85.119.82.20; envelope-from=orgmode@adamspiers.org; helo=coral.adamspiers.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 12:18:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=adamspiers.org (policy=none); 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: -0.91 X-TUID: 4PYz9bJUysB0 On Fri, Sep 04, 2020 at 03:47:08PM +0200, Bastien wrote: >Hi Adam, > >Adam Spiers writes: > >> This useful key binding was previously missing from the manual. > >Thanks for spotting this. I added it (as 2df7a8fa) together with >the `.' keybinding, which achieves the same. Thanks Bastien. There's actually a subtle but important difference between the two: when editing a timestamp with a time of day in, e.g. <2020-08-27 Thu 17:00> then the prompt in the minibuffer will be: SCHEDULED Date+time [2020-08-27]: 17:00 While the point is after the "17:00", pressing '.' does not cause a jump to today's date; instead it just appends the '.' character after the "17:00". In contrast, C-. successfully jumps to today without altering the prompt input. So in this context, C-. is far more useful than just '.'. Funnily enough I found that if I first jump to the beginning of "17:00" via C-a, then they do indeed behave identically.