unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6355: 24.0.50; sit-for 0.0 returns nil without user input
@ 2010-06-05 15:17 Drew Adams
  2014-02-01  9:07 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2010-06-05 15:17 UTC (permalink / raw)
  To: 6355

I see this problem systematically starting with Emacs 22 but never with
Emacs 20 or 21.
 
If the sit-for value is 0.0, then it can return nil even without user
input.  If the value is ever so slightly more than 0.0, e.g. 0.001, then
there is no problem.
 
This is using source code, not byte-compiled code, so it's not a
byte-compiler optimization that is causing the problem.
 
I do not have an emacs -Q recipe.  If you just eval (sit-for 0.0) it
returns t.  Executing some of the surrounding code I use also does not
reproduce the problem.  But in my setup (too much to reproduce) it
always returns nil for 0.0.
 
Dunno if maybe it's picking up some non-user event as if it were input.
I do know that without user input the return value is nil (in my
context).

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-05-23 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'
 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6355: 24.0.50; sit-for 0.0 returns nil without user input
  2010-06-05 15:17 bug#6355: 24.0.50; sit-for 0.0 returns nil without user input Drew Adams
@ 2014-02-01  9:07 ` Lars Ingebrigtsen
  2015-12-25 23:05   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-01  9:07 UTC (permalink / raw)
  To: Drew Adams; +Cc: 6355

"Drew Adams" <drew.adams@oracle.com> writes:

> I do not have an emacs -Q recipe.  If you just eval (sit-for 0.0) it
> returns t.  Executing some of the surrounding code I use also does not
> reproduce the problem.  But in my setup (too much to reproduce) it
> always returns nil for 0.0.
>
> Dunno if maybe it's picking up some non-user event as if it were input.
> I do know that without user input the return value is nil (in my
> context).

Is this still a problem?  I'm unable to reproduce it.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6355: 24.0.50; sit-for 0.0 returns nil without user input
  2014-02-01  9:07 ` Lars Ingebrigtsen
@ 2015-12-25 23:05   ` Lars Ingebrigtsen
  2015-12-25 23:12     ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 23:05 UTC (permalink / raw)
  To: Drew Adams; +Cc: 6355

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Drew Adams" <drew.adams@oracle.com> writes:
>
>> I do not have an emacs -Q recipe.  If you just eval (sit-for 0.0) it
>> returns t.  Executing some of the surrounding code I use also does not
>> reproduce the problem.  But in my setup (too much to reproduce) it
>> always returns nil for 0.0.
>>
>> Dunno if maybe it's picking up some non-user event as if it were input.
>> I do know that without user input the return value is nil (in my
>> context).
>
> Is this still a problem?  I'm unable to reproduce it.

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.
-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6355: 24.0.50; sit-for 0.0 returns nil without user input
  2015-12-25 23:05   ` Lars Ingebrigtsen
@ 2015-12-25 23:12     ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2015-12-25 23:12 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 6355

> More information was requested, but no response was given within a few
> months, so I'm closing this bug report.

Yes, it was requested _4 years_ after it was reported, in 2010.  (And
the bug report already made clear that no more info was available.)






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-25 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 15:17 bug#6355: 24.0.50; sit-for 0.0 returns nil without user input Drew Adams
2014-02-01  9:07 ` Lars Ingebrigtsen
2015-12-25 23:05   ` Lars Ingebrigtsen
2015-12-25 23:12     ` Drew Adams

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).