unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Narendra Joshi <narendraj9@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Eli Zaretskii <eliz@gnu.org>, "T.V Raman" <raman@google.com>,
	Emacs Devel <emacs-devel@gnu.org>
Subject: Re: run-with-idle-timer Doc string Question
Date: Sat, 22 Aug 2020 13:05:49 +0200	[thread overview]
Message-ID: <CAHCj4z7_osRM9bbd+PkjzpcZNu+w=2c=3QQ_5Tpn2Z1ePZi7JA@mail.gmail.com> (raw)
In-Reply-To: <8b818ae6-3db1-470c-b60d-a4ccd8a33f41@default>

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

It took me a long time to arrive at the fact that it is only possible to
know that Emacs has already been idle for SECS seconds when we are
executing a callback for a run-with-idle-timer call with a delay arg of
SECS seconds. The docstring could state this in more detail.

On Fri, 21 Aug 2020, 23:25 Drew Adams, <drew.adams@oracle.com> wrote:

> > I think the part that makes it a bit confusing is
> > that we are talking about calling run-with-idle-timer
> > with a lower value of SECS from an already executing
> > callback for another run-with-idle-timer.
>
> Gee, what could possibly be confusing about that? ;-)
>
> (Especially if we don't say that explicitly.)
>
>
>

[-- Attachment #2: Type: text/html, Size: 987 bytes --]

      reply	other threads:[~2020-08-22 11:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21 17:06 run-with-idle-timer Doc string Question T.V Raman
2020-08-21 19:06 ` Eli Zaretskii
2020-08-21 19:46   ` T.V Raman
2020-08-21 19:49     ` Eli Zaretskii
2020-08-21 20:49       ` Narendra Joshi
2020-08-21 21:23         ` Drew Adams
2020-08-22 11:05           ` Narendra Joshi [this message]

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='CAHCj4z7_osRM9bbd+PkjzpcZNu+w=2c=3QQ_5Tpn2Z1ePZi7JA@mail.gmail.com' \
    --to=narendraj9@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.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).