bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39099: 26.3; display-time delay after PC sleep


From: ynyaaa
Subject: bug#39099: 26.3; display-time delay after PC sleep
Date: Thu, 23 Jan 2020 18:47:50 +0900

Stefan Kangas <stefan@marxist.se> writes:

> ynyaaa@gmail.com writes:
>
>> Enabling display-time, the time string is updated every 0 second.
>> If PC is awaked after sleep, the update timing is changed.
>>
>> In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
>>  of 2019-08-29 built on CIRROCUMULUS
>> Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
>> Windowing system distributor 'Microsoft Corp.', version 6.3.9600
>
> Do you see this when running under "emacs -Q"?
>
> What is the value of the `display-time-format' variable?
>
> Do you mean that it updates every second before sleep?
>
> How often does it update after you awaken after sleep?
>
> Best regards,
> Stefan Kangas

I tested following operations and got log.

Start emacs -Q
Setup logging
  (setq display-time-hook
        (lambda ()
          (with-current-buffer (get-buffer-create "display time log")
            (goto-char (point-max))
            (insert (current-time-string now) ?\n))))
M-x display-time (16:01)
Wait for a while.
Sleep PC. (16:10)
Wait for a while.
Wake up PC. (16:29)
Wait for a while.
M-x display-time (16:36)

Explicitly calling display-time restarts display-time-timer.
Following lines are the contents of "display time log" buffer.

Thu Jan 23 16:01:03 2020
Thu Jan 23 16:02:00 2020
Thu Jan 23 16:03:00 2020
Thu Jan 23 16:04:00 2020
Thu Jan 23 16:05:00 2020
Thu Jan 23 16:06:00 2020
Thu Jan 23 16:07:00 2020
Thu Jan 23 16:08:00 2020
Thu Jan 23 16:09:00 2020
Thu Jan 23 16:10:00 2020
Thu Jan 23 16:29:43 2020
Thu Jan 23 16:29:43 2020
Thu Jan 23 16:30:43 2020
Thu Jan 23 16:31:43 2020
Thu Jan 23 16:32:43 2020
Thu Jan 23 16:33:43 2020
Thu Jan 23 16:34:43 2020
Thu Jan 23 16:35:43 2020
Thu Jan 23 16:36:43 2020
Thu Jan 23 16:36:59 2020
Thu Jan 23 16:37:00 2020
Thu Jan 23 16:38:00 2020
Thu Jan 23 16:39:00 2020
Thu Jan 23 16:40:00 2020





reply via email to

[Prev in Thread] Current Thread [Next in Thread]