GNU bug report logs -
#73431
Add `setf` support for `stream.el` in ELPA
Previous Next
Reported by: Okamsn <okamsn <at> protonmail.com>
Date: Mon, 23 Sep 2024 01:35:01 UTC
Severity: wishlist
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#73431: Add `setf` support for `stream.el` in ELPA
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 73431 <at> debbugs.gnu.org.
--
73431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73431
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Not sure who should do it, but since noone did it yet, I went ahead and
pushed it to `elpa.git`. Thanks.
Stefan
Okamsn [2024-11-08 01:45:47] wrote:
> Michael Heerdegen wrote:
>> Okamsn <okamsn <at> protonmail.com> writes:
>>
>>> For shortening the first line of the documentation of `seq-take-while`,
>>> do you think changing "Return a stream of the successive elements for
>>> which (PRED elt) is non-nil in STREAM" to "Return a stream of serial
>>> elements in STREAM for which PRED returns non-nil" works?
>>
>> Hmm. How about
>>
>> "Return the starting consecutive elements that fulfill PRED."
>>
>> Or "front elements"?
>>
>> I tried to emphasize that the function is not about the whole sequence
>> but starts at the front and aborts once PRED is not fulfilled. We can
>> later say explicitly that the predicate is called like (PRED ELT) - that
>> alone makes the sentence shorter.
>>
>> But I'm not that good when using English language - better versions
>> welcome.
>>
>>> Also, do you think that the documentation string for `seq-drop-while`
>>> should also be changed for consistency?
>>
>> Sure.
>>
>>
>> Michael.
>
> Hello,
>
> Attached are patch files which include the requested shorter doc strings
> for `seq-take-while` and `seq-drop-while`. The quoting in `seq-mapn`
> has been fixed. I did not delete any of the doc strings because there
> does not seem to be consensus on that.
>
> Is there anything else that you would like changed outside of the
> discussion about the doc strings?
>
> Thank you.
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Hello,
The attached patch adds `setf` support for `stream-first`,
`stream-rest`, and `seq-elt` for streams. The support for `setf` with
`seq-elt` for streams uses the added support for `stream-first`,
following the definition of `seq-elt` for streams.
Would you like anything changed?
Thank you.
[0001-Add-setf-support-to-stream.el.patch (text/x-patch, attachment)]
This bug report was last modified 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.