unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ynyaaa@gmail.com
To: Stefan Kangas <stefan@marxist.se>
Cc: 39099@debbugs.gnu.org
Subject: bug#39099: 26.3; display-time delay after PC sleep
Date: Thu, 23 Jan 2020 18:47:50 +0900	[thread overview]
Message-ID: <8636c6jygp.fsf@gmail.com> (raw)
In-Reply-To: <87eevqiwue.fsf@marxist.se> (Stefan Kangas's message of "Thu, 23 Jan 2020 06:08:09 +0100")

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	other threads:[~2020-01-23  9:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-12 13:42 bug#39099: 26.3; display-time delay after PC sleep ynyaaa
2020-01-23  5:08 ` Stefan Kangas
2020-01-23  9:47   ` ynyaaa [this message]
2020-01-23 14:39     ` Stefan Kangas
2020-01-23 18:11       ` Eli Zaretskii
2021-08-30  1:40     ` Lars Ingebrigtsen
2021-08-30  1:46       ` Lars Ingebrigtsen
2021-08-31  1:05         ` Lars Ingebrigtsen

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=8636c6jygp.fsf@gmail.com \
    --to=ynyaaa@gmail.com \
    --cc=39099@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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).