[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: master f51f963: Fix some side-effecting uses of make-text-button
From: |
Drew Adams |
Subject: |
RE: master f51f963: Fix some side-effecting uses of make-text-button |
Date: |
Sat, 6 Jun 2020 13:19:35 -0700 (PDT) |
> > So, IIUC `make-text-button` should ideally work functionally, but for
> > historical reasons it works by side-effect. What's the long term plan?
> > Do we plan to live with the current side-effecting behavior, or do we
> > plan to move to the "pure" functional behavior?
>
> Given the comments in this thread it seems that there's consensus that it
> should move to the "pure" functional behavior, as the side-effecting behavior
> is
> confusing (and this is independent of whether string literals are constant).
Please don't count me among the consenting, in
your consensus count.
> I installed the attached patch, which is along the lines that I proposed a
> couple of days ago; it has the doc fix that Pip Cet suggested.
What was the reason not to go the other direction,
and _always allow_ modification of that string arg?
- Re: master f51f963: Fix some side-effecting uses of make-text-button, (continued)
- Re: master f51f963: Fix some side-effecting uses of make-text-button, Pip Cet, 2020/06/07
- Re: master f51f963: Fix some side-effecting uses of make-text-button, Stefan Monnier, 2020/06/06
- Re: master f51f963: Fix some side-effecting uses of make-text-button, Paul Eggert, 2020/06/06
- Re: master f51f963: Fix some side-effecting uses of make-text-button, Stefan Monnier, 2020/06/07
- Re: master f51f963: Fix some side-effecting uses of make-text-button, Paul Eggert, 2020/06/07
- Re: master f51f963: Fix some side-effecting uses of make-text-button, Pip Cet, 2020/06/07
- RE: master f51f963: Fix some side-effecting uses of make-text-button, Drew Adams, 2020/06/06
Re: master f51f963: Fix some side-effecting uses of make-text-button, Stefan Monnier, 2020/06/05