From: Okamsn via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 74809@debbugs.gnu.org
Cc: Nicolas Petton <nicolas@petton.fr>
Subject: bug#74809: [PATCH] Bump version number of stream.el to use bug fix
Date: Thu, 12 Dec 2024 02:42:37 +0000 [thread overview]
Message-ID: <a0fe2408-f27d-4afd-89e2-96686eb0f1f5@protonmail.com> (raw)
[-- 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
reply other threads:[~2024-12-12 2:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0fe2408-f27d-4afd-89e2-96686eb0f1f5@protonmail.com \
--to=bug-gnu-emacs@gnu.org \
--cc=74809@debbugs.gnu.org \
--cc=nicolas@petton.fr \
--cc=okamsn@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).