* Bug: Incorrect/incomplete documentation for org-timestamp-change
@ 2019-05-05 20:52 Tim Landscheidt
2019-05-07 10:04 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Tim Landscheidt @ 2019-05-05 20:52 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: Incorrect/incomplete documentation for org-timestamp-change
2019-05-05 20:52 Bug: Incorrect/incomplete documentation for org-timestamp-change Tim Landscheidt
@ 2019-05-07 10:04 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-05-07 10:04 UTC (permalink / raw)
To: Tim Landscheidt; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-07 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-05 20:52 Bug: Incorrect/incomplete documentation for org-timestamp-change Tim Landscheidt
2019-05-07 10:04 ` Nicolas Goaziou
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).