emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Felipe Barros <felipebarros@protonmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug: org-clone-subtree-with-time-shift invalid interval when using hours [9.3 (release_9.3 @ /usr/local/share/emacs/27.1/lisp/org/)]
Date: Wed, 24 Feb 2021 04:27:01 +0000	[thread overview]
Message-ID: <urqRSSSRsE8In5xtAPBR8AZalNGUCBkwwVV8ujNSN8_AOyh0reiE8XMrY6eviTBYUsV5fCF5GyJAtw7FB8xo-XBPPpYHOnP0zQuce4odhI8=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

Running org-clone-subtree-with-time-shift and entering an hourly
interval returns an error that the shift specification is invalid.

For example, entering +8h returns:

user-error: Invalid shift specification +8h

I have also tested with just 8 and with .+8h.

The documentation for org-clone-subtree-with-time-shift states that:

> If the entry has a timestamp, the user will also be prompted for a
> time shift, which may be a repeater as used in time stamps, for
> example ‘+3d’.

And the Info page for Repeated Tasks states that:

> You can use yearly, monthly, weekly, daily and hourly repeat cookies
> by using the ‘y’, ‘w’, ‘m’, ‘d’ and ‘h’ letters.

So, as I couldn’t find a reference to this limitation anywhere, I
believe this is a valid bug.

Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23)
of 2020-10-28
Package: Org mode version 9.3 (release_9.3 @ /usr/local/share/emacs/27.1/lisp/org/)

--
Felipe Barros

[-- Attachment #2: Type: text/html, Size: 1512 bytes --]

             reply	other threads:[~2021-02-24  4:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24  4:27 Felipe Barros [this message]
2021-02-24  4:51 ` Bug: org-clone-subtree-with-time-shift invalid interval when using hours [9.3 (release_9.3 @ /usr/local/share/emacs/27.1/lisp/org/)] Kyle Meyer
2021-02-25  5:23   ` Kyle Meyer

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='urqRSSSRsE8In5xtAPBR8AZalNGUCBkwwVV8ujNSN8_AOyh0reiE8XMrY6eviTBYUsV5fCF5GyJAtw7FB8xo-XBPPpYHOnP0zQuce4odhI8=@protonmail.com' \
    --to=felipebarros@protonmail.com \
    --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).