all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Cédric Chépied" <cedric.chepied@gmail.com>
To: emacs-devel@gnu.org
Subject: org-timestamp-change and timezone
Date: Tue, 19 Apr 2016 08:22:49 +0200	[thread overview]
Message-ID: <5715cebb.58811c0a.26051.3c6b@mx.google.com> (raw)

Hi,

Since a couple of days I can't use org-timestamp-change anymore, I got this
error:

setq: Invalid time zone specification: (nil nil nil)

I "fixed" it with this patch but I don't know what I'm doing cause my timezone
is always (nil nil nil) and the encode-time function only wants 'nil'. I hope
this will help people to fix the problem.

Regards,
--
Cédric Chépied
<cedric.chepied@gmail.com>



From 5ce4a6e5ed72bf5dd8ec6517119fc03c612e2cfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Ch=C3=A9pied?= <cedric.chepied@areva.com>
Date: Tue, 19 Apr 2016 08:12:40 +0200
Subject: [PATCH] Fix timezone in org-timestamp-change

---
 lisp/org/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org/org.el b/lisp/org/org.el
index 3abf627..0e312b2 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -17460,7 +17460,7 @@ When SUPPRESS-TMP-DELAY is non-nil, suppress delays like \"--2d\"."
 			 (+ (if (eq org-ts-what 'day) n 0)    (nth 3 time0))
 			 (+ (if (eq org-ts-what 'month) n 0)  (nth 4 time0))
 			 (+ (if (eq org-ts-what 'year) n 0)   (nth 5 time0))
-			 (nthcdr 6 time0)))
+			 (nth 6 time0)))
       (when (and (member org-ts-what '(hour minute))
 		 extra
 		 (string-match "-\\([012][0-9]\\):\\([0-5][0-9]\\)" extra))
-- 
2.8.0



             reply	other threads:[~2016-04-19  6:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19  6:22 Cédric Chépied [this message]
2016-04-19 14:29 ` org-timestamp-change and timezone Eli Zaretskii
2016-04-20  7:11 ` bug#23299: 25.1.50; org-timestamp-change: Invalid time zone specification: (nil nil nil) Paul Eggert
2016-05-01  7:04   ` Fwd: " Marcin Borkowski
2016-05-01  7:56     ` Nicolas Goaziou
2016-05-01  9:06       ` Marcin Borkowski

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5715cebb.58811c0a.26051.3c6b@mx.google.com \
    --to=cedric.chepied@gmail.com \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.