From: Adam Spiers <orgmode@adamspiers.org>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] doc: Document C-. for jumping to today when choosing a timestamp
Date: Sat, 5 Sep 2020 17:18:04 +0100 [thread overview]
Message-ID: <20200905161804.3inpmz5o3nensyna@gmail.com> (raw)
In-Reply-To: <87o8mlmz6r.fsf@gnu.org>
On Fri, Sep 04, 2020 at 03:47:08PM +0200, Bastien wrote:
>Hi Adam,
>
>Adam Spiers <orgmode@adamspiers.org> 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.
next prev parent reply other threads:[~2020-09-05 16:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-29 22:47 [PATCH] doc: Document C-. for jumping to today when choosing a timestamp Adam Spiers
2020-09-04 13:47 ` Bastien
2020-09-05 16:18 ` Adam Spiers [this message]
2020-09-06 5:53 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200905161804.3inpmz5o3nensyna@gmail.com \
--to=orgmode@adamspiers.org \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).