emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36915: closed (make-thread-local-fluid ignores the default value)


From: GNU bug Tracking System
Subject: bug#36915: closed (make-thread-local-fluid ignores the default value)
Date: Sun, 12 Jan 2020 21:28:02 +0000

Your message dated Sun, 12 Jan 2020 22:27:39 +0100
with message-id <address@hidden>
and subject line Re: bug#36915: make-thread-local-fluid ignores the default 
value
has caused the debbugs.gnu.org bug report #36915,
regarding make-thread-local-fluid ignores the default value
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36915: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36915
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: make-thread-local-fluid ignores the default value Date: Sat, 03 Aug 2019 17:46:19 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
In Guile 2.2.6 as packaged on Guix System (x86-64), the following
happens:

--------------------------------------
(define some-fluid (make-thread-local-fluid 42))

(display (fluid-ref some-fluid))

=> #f
--------------------------------------

The same problem doesn't happen with non-thread-local fluids. The manual
says pretty clearly "whose initial value is DFLT", so this should be a
bug.

This is especially significant because, if I understand correctly, that
"default" value is the initial value of that fluid in a new thread. So
just using fluid-set! immediately after creating it isn't sufficient to
work around it entirely.

- reepca



--- End Message ---
--- Begin Message --- Subject: Re: bug#36915: make-thread-local-fluid ignores the default value Date: Sun, 12 Jan 2020 22:27:39 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
On Sun 04 Aug 2019 00:46, Caleb Ristvedt <address@hidden> writes:

> In Guile 2.2.6 as packaged on Guix System (x86-64), the following
> happens:
>
> --------------------------------------
> (define some-fluid (make-thread-local-fluid 42))
>
> (display (fluid-ref some-fluid))
>
> => #f
> --------------------------------------

This is fixed in git, thanks to Rob Browning.

Thanks for the report,

Andy


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]