unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74809: [PATCH] Bump version number of stream.el to use bug fix
@ 2024-12-12  2:42 Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-12-12  2:42 UTC (permalink / raw)
  To: 74809; +Cc: Nicolas Petton

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

Hello,

In the current version of Stream.el (2.3.0), some of the generic 
functions from Seq.el do not work with streams because the streams are 
treated as lists. In the current stable version of Stream.el, streams 
are implemented as lists. Since commit 
f48552c0668c36036ebeb6a3c87269049a2e61d9, they are implemented as 
structures.

The attached patch increases the version number from 2.3.0 to 2.4.0 so 
that the bug fix is used in the stable version.

Thank you.

[-- Attachment #2: 0001-Bump-version-number-to-avoid-streams-being-treated-a.patch --]
[-- Type: text/x-patch, Size: 1191 bytes --]

From c67a6649832be7a06ea27ebc350d9cd03168b44d Mon Sep 17 00:00:00 2001
From: Earl Hyatt <okamsn@protonmail.com>
Date: Wed, 11 Dec 2024 21:15:40 -0500
Subject: [PATCH] Bump version number to avoid streams being treated as lists
 (as in bug#73431)

When streams were implemented as lists, a generic function in Seq.el would use
the method defined for lists unless there was a specific version defined for
streams in Stream.el.  Unless Stream.el was kept up to date, any specializations
or improvements for lists in Seq.el could break the implementation of the Seq.el
features for streams.

This changed in commit f48552c0668c36036ebeb6a3c87269049a2e61d9, in which
streams were changed to use cl-defstruct instead of lists.

* stream.el: Increase version number from 2.3.0 to 2.4.0 so that the bug fix is
used.
---
 stream.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stream.el b/stream.el
index dcd45a7..b90ccbf 100644
--- a/stream.el
+++ b/stream.el
@@ -4,7 +4,7 @@
 
 ;; Author: Nicolas Petton <nicolas@petton.fr>
 ;; Keywords: stream, laziness, sequences
-;; Version: 2.3.0
+;; Version: 2.4.0
 ;; Package-Requires: ((emacs "25"))
 ;; Package: stream
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-12  2:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12  2:42 bug#74809: [PATCH] Bump version number of stream.el to use bug fix Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors

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