unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Live System User <nyc4bos@aol.com>
Cc: 32443@debbugs.gnu.org
Subject: bug#32443: 27.0.50; encode-time bug
Date: Thu, 30 Aug 2018 10:24:02 +0200	[thread overview]
Message-ID: <87lg8o5kkd.fsf@gmail.com> (raw)
In-Reply-To: <87mut5yz2s.fsf@aol.com> (Live System User's message of "Wed, 29 Aug 2018 11:25:31 -0400")

Live System User <nyc4bos@aol.com> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
>> Glenn Morris <rgm@gnu.org> writes:
>>
>>> Live System User wrote:
>>>
>>>>         When the date/time is being parsed, you erroneously get:
>>>>
>>>>            M-: (parse-time-string "Tue, 06 Mar 2018 11:17:02 -0500")
>>>>            (nil nil nil 6 3 2018 2 nil nil)
>>>>
>>>>         With Emacs 26.1, you get:
>>>>
>>>>            (2 17 11 6 3 2018 2 nil -18000)
>>>
>>> I can't reproduce this.
>>
>> Iʼve seen this, but only once with a time string of "Tue, 28 Aug 2018 13:16:54
>> +0200". Iʼve not been able to reproduce in 'emacs -Q'.
>
>   I get the same erroreous output with "emacs -Q" with your date
>   as well:
>
>
> (parse-time-string "Tue, 14 Aug 2018 09:14:11 +0400")
> (nil nil nil 14 8 2018 2 nil nil)
>
>
> (parse-time-string "Tue, 28 Aug 2018 13:16:54 +0200")
> (nil nil nil 28 8 2018 2 nil nil)
>
> (parse-time-string "Wed, 29 Aug 2018 11:15:22 -0400")
> (nil nil nil 29 8 2018 3 nil nil)

None of those fail for me. Could you tell us which revision youʼre
currently using? Perhaps this got fixed as a side effect of some other
change, in which case I can bisect it.

Otherwise, since youʼre the only one who can reproduce it, could you
do 'edebug-defun' on 'parse-time-string' and step through it? That
might give us a better idea of what's going wrong.

Thanks

Robert





  reply	other threads:[~2018-08-30  8:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-14 23:09 bug#32443: 27.0.50; encode-time bug Live System User
2018-08-15  0:00 ` Live System User
2019-09-27 16:34   ` Lars Ingebrigtsen
2019-10-14  7:34     ` Lars Ingebrigtsen
2018-08-21 19:52 ` Live System User
2018-08-24 17:25   ` Glenn Morris
2018-08-29  9:19     ` Robert Pluim
2018-08-29 15:25       ` Live System User
2018-08-30  8:24         ` Robert Pluim [this message]
2018-08-30 17:45           ` Live System User
2018-08-31  7:34             ` Robert Pluim
2018-09-22  4:37               ` Live System User

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87lg8o5kkd.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=32443@debbugs.gnu.org \
    --cc=nyc4bos@aol.com \
    /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.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).