From: Carsten Dominik <dominik@uva.nl>
To: Michael Welle <mwe012008@gmx.net>
Cc: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Creating consecutive time stamps
Date: Tue, 4 Apr 2017 12:49:15 +0200 [thread overview]
Message-ID: <CADn3Z2KHTiixRs=mB9AefydtNwTTr73n7RwhJ5xqC-za4uCH_g@mail.gmail.com> (raw)
In-Reply-To: <87inmk4pyr.fsf@luisa.c0t0d0s0.de>
[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]
Hi MIchael,
the automatic reset of the starting date for a second time stamp on works
if the command `org-time-stamp' is invoked twice in direct succession. So
if you press `C-c .' to insert a time stamp, and then you press it
immediately again, the magic will take its course. This is probably the
situation that you remember.
However, if you use %T in a template, then `last-command' is `org-capture',
and the time stamp command does not know that you are making a range. I
could, by looking back and finding <...>-- , but that is not implemented.
You might be better off Using an empty template and then inserting both
time stamps with `C-c .' - which will make it easy to also directly choose
the starting date.
Carsten
On Tue, Apr 4, 2017 at 9:00 AM, Michael Welle <mwe012008@gmx.net> wrote:
> Hello,
>
> the subject is a bit fuzzy, so let me depict an example use case:
> creating an appointment for a multi-day conference. I use a capture
> template with the placeholder %T for that (I use the same template for
> single day appts, which occur more often.). Then I adjust the inserted
> time stamp, add --, press C-. and add the second time stamp.
>
> So far, good. The itching point is that the calendar view for the second
> time stamp starts today, again, not at the date of the first time stamp.
> I can dimly remember -or I think I do ;)- that that was different in the
> past, maybe with a different template. Any ideas for a 'grey ointment'
> that stops the itching?
>
> Regards
> hmw
>
>
[-- Attachment #2: Type: text/html, Size: 1981 bytes --]
next prev parent reply other threads:[~2017-04-04 10:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-04 7:00 Creating consecutive time stamps Michael Welle
2017-04-04 10:49 ` Carsten Dominik [this message]
2017-04-04 16:40 ` Michael Welle
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='CADn3Z2KHTiixRs=mB9AefydtNwTTr73n7RwhJ5xqC-za4uCH_g@mail.gmail.com' \
--to=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mwe012008@gmx.net \
/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).