emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Tim Landscheidt <tim@tim-landscheidt.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Incorrect/incomplete documentation for org-timestamp-change
Date: Tue, 07 May 2019 12:04:40 +0200	[thread overview]
Message-ID: <87tve6eg1z.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87lfzkr5e4.fsf@passepartout.tim-landscheidt.de> (Tim Landscheidt's message of "Sun, 05 May 2019 20:52:03 +0000")

Hello,

Tim Landscheidt <tim@tim-landscheidt.de> writes:

> I wanted to (and did) change a number of timestamps by a
> constant.  So I found (and successfully used)
> org-timestamp-change which starts with (master):
>
> | […]
> | (defun org-timestamp-change (n &optional what updown suppress-tmp-delay)
> |   "Change the date in the time stamp at point.
> | The date will be changed by N times WHAT.  WHAT can be `day', `month',
> | `year', `minute', `second'.  If WHAT is not given, the cursor position
> | in the timestamp determines what will be changed.
> | When SUPPRESS-TMP-DELAY is non-nil, suppress delays like \"--2d\"."
> | […]
>
> Incorrect is the enumeration of valid values for WHAT: 'hour
> is missing and 'second is probably wrong (?).
>
> Incomplete is the documentation for UPDOWN: I had assumed it
> was the "direction" of change, but that is determined in-
> stead by the sign of N.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2019-05-07 10:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05 20:52 Bug: Incorrect/incomplete documentation for org-timestamp-change Tim Landscheidt
2019-05-07 10:04 ` Nicolas Goaziou [this message]

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=87tve6eg1z.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=tim@tim-landscheidt.de \
    /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).