From: Ignacio Casso <ignaciocasso@hotmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 54371@debbugs.gnu.org
Subject: bug#54371: 29.0.50; read-char does not reset idle timer in some cases
Date: Sun, 13 Mar 2022 11:48:37 +0100 [thread overview]
Message-ID: <PAXPR06MB7760F714BE4335A2A9BBC429C60E9@PAXPR06MB7760.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <83sfrmkvuy.fsf@gnu.org>
> However, it sounds like we do this on purpose, to avoid problems with
> idle timers that call sit-for. See the discussion that started here:
>
> https://lists.gnu.org/archive/html/emacs-devel/2006-08/msg00395.html
>
> The change installed at that time made read_char avoid restarting idle
> timers when it is called with a non-nil END_TIME argument.
I see. I'll try to get this fixed on the code invoking read-char then,
replacing
(read-char PROMPT nil N)
with
(let ((char (read-char PROMPT nil N)))
(when char
<<reset-idle-timer-function>>
)
char)
However I can't find the proper function to use in place of
<<reset-idle-timer-function>>. Do you know of a way to reset the idle
timer programmatically, without actual user input?
Regards,
Ignacio
next prev parent reply other threads:[~2022-03-13 10:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-12 23:27 bug#54371: 29.0.50; read-char does not reset idle timer in some cases Ignacio Casso
2022-03-13 10:08 ` Eli Zaretskii
2022-03-13 10:48 ` Ignacio Casso [this message]
2022-03-13 15:02 ` Lars Ingebrigtsen
2022-03-13 16:43 ` Eli Zaretskii
2022-03-13 17:45 ` Ignacio Casso
2022-03-13 19:34 ` Eli Zaretskii
2022-03-13 21:58 ` Ignacio Casso
2022-04-01 18:22 ` Ignacio Casso
2022-04-01 19:36 ` Eli Zaretskii
2022-04-07 11:42 ` Ignacio Casso
2022-04-08 6:50 ` Eli Zaretskii
2022-04-11 6:42 ` Ignacio Casso
2022-04-11 11:17 ` Eli Zaretskii
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=PAXPR06MB7760F714BE4335A2A9BBC429C60E9@PAXPR06MB7760.eurprd06.prod.outlook.com \
--to=ignaciocasso@hotmail.com \
--cc=54371@debbugs.gnu.org \
--cc=eliz@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 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).