GNU bug report logs - #48990
28.0.50; buffer-local and threads malarkey

Previous Next

Package: emacs;

Reported by: dick <dick.r.chiang <at> gmail.com>

Date: Sat, 12 Jun 2021 23:01:02 UTC

Severity: normal

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48990 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: dick <dick.r.chiang <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 48990 <at> debbugs.gnu.org
Subject: Re: bug#48990: 28.0.50; buffer-local and threads malarkey
Date: Sun, 13 Jun 2021 10:55:17 +0300
> From: dick <dick.r.chiang <at> gmail.com>
> Date: Sat, 12 Jun 2021 19:00:27 -0400
> 
> # all good
> src/emacs -Q --batch -l ./usurped.el
> 
> # buffer-local causes let-bound variable to freak out
> src/emacs -Q --batch --eval "(setq confuse-thread t)" -l ./usurped.el
> 
> # buffer-local causes basic setq to freak out
> src/emacs -Q --batch --eval "(setq confuse-main t)" -l ./usurped.el

Please show the results you see in the 2 problematic cases, and please
explain what did you expect instead and why.

FWIW, I don't necessarily see anything surprising in the results: you
basically let several threads step on each other's toes by modifying
the same variable with non-deterministic relative timings.  But maybe
I'm missing something, which is why I ask for details.

Or maybe Stefan could show me the light.




This bug report was last modified 3 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.