unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Appropriate way for package to require seq for Emacs 24.5?
@ 2020-03-25 15:26 William Rankin
  2020-03-25 16:55 ` William Rankin
  2020-04-08 18:23 ` Bruno Félix Rezende Ribeiro
  0 siblings, 2 replies; 7+ messages in thread
From: William Rankin @ 2020-03-25 15:26 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel

[-- Attachment #1: Type: multipart/alternative, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Appropriate way for package to require seq for Emacs 24.5?
  2020-03-25 15:26 Appropriate way for package to require seq for Emacs 24.5? William Rankin
@ 2020-03-25 16:55 ` William Rankin
  2020-03-25 18:46   ` Stefan Monnier
  2020-03-25 22:42   ` Phillip Lord
  2020-04-08 18:23 ` Bruno Félix Rezende Ribeiro
  1 sibling, 2 replies; 7+ messages in thread
From: William Rankin @ 2020-03-25 16:55 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: emacs-devel

I apologise for the previous garbled message.

May I ask the appropriate way for a package to require seq for Emacs 24.5?

Currently I have:

> Package-Requires: ((emacs "24.5") (seq "2.20"))

However, I see in the seq commentary:

> While seq.el version 1.8 is in GNU ELPA for convenience, seq.el
> version 2.0 requires Emacs>=25.1.

Am I correct in interpreting that the above package header would not
work with 24.5?

If so, would this work?

> Package-Requires: ((emacs "24.5") (seq "1.11"))

Thank you, and again, sorry for the previous MIME noise.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Appropriate way for package to require seq for Emacs 24.5?
  2020-03-25 16:55 ` William Rankin
@ 2020-03-25 18:46   ` Stefan Monnier
  2020-03-26  0:39     ` William Rankin
  2020-03-25 22:42   ` Phillip Lord
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2020-03-25 18:46 UTC (permalink / raw)
  To: William Rankin; +Cc: Nicolas Petton, emacs-devel

>> Package-Requires: ((emacs "24.5") (seq "2.20"))
>
> However, I see in the seq commentary:
>
>> While seq.el version 1.8 is in GNU ELPA for convenience, seq.el
>> version 2.0 requires Emacs>=25.1.
>
> Am I correct in interpreting that the above package header would not
> work with 24.5?

AFAICT it would work fine in 24.5: package seq-2.20 does not require
Emacs-25, instead it comes with both the "old" API for Emacs-24 and the
new API for Emacs≥25 (concretely these are divided into two files
(seq-24.el and seq-25.el) which are the two alternative implementations:
the API is slightly different because seq-25.el uses cl-generic so it
can be used with sequences other than lists, vectors, and strings).


        Stefan




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Appropriate way for package to require seq for Emacs 24.5?
  2020-03-25 16:55 ` William Rankin
  2020-03-25 18:46   ` Stefan Monnier
@ 2020-03-25 22:42   ` Phillip Lord
  2020-03-26  0:44     ` William Rankin
  1 sibling, 1 reply; 7+ messages in thread
From: Phillip Lord @ 2020-03-25 22:42 UTC (permalink / raw)
  To: William Rankin; +Cc: Nicolas Petton, emacs-devel


William Rankin <william@bydasein.com> writes:

> I apologise for the previous garbled message.
>
> May I ask the appropriate way for a package to require seq for Emacs 24.5?
>

Why though? We are on two major versions on and about to be three?

Phil




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Appropriate way for package to require seq for Emacs 24.5?
  2020-03-25 18:46   ` Stefan Monnier
@ 2020-03-26  0:39     ` William Rankin
  0 siblings, 0 replies; 7+ messages in thread
From: William Rankin @ 2020-03-26  0:39 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Nicolas Petton, emacs-devel


On Thu, Mar 26 2020, Stefan Monnier wrote:

>>> Package-Requires: ((emacs "24.5") (seq "2.20"))
>>
>> However, I see in the seq commentary:
>>
>>> While seq.el version 1.8 is in GNU ELPA for convenience, seq.el
>>> version 2.0 requires Emacs>=25.1.
>>
>> Am I correct in interpreting that the above package header would not
>> work with 24.5?
>
> AFAICT it would work fine in 24.5: package seq-2.20 does not require
> Emacs-25, instead it comes with both the "old" API for Emacs-24 and the
> new API for Emacs≥25 (concretely these are divided into two files
> (seq-24.el and seq-25.el) which are the two alternative implementations:
> the API is slightly different because seq-25.el uses cl-generic so it
> can be used with sequences other than lists, vectors, and strings).

Cool, thank you.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Appropriate way for package to require seq for Emacs 24.5?
  2020-03-25 22:42   ` Phillip Lord
@ 2020-03-26  0:44     ` William Rankin
  0 siblings, 0 replies; 7+ messages in thread
From: William Rankin @ 2020-03-26  0:44 UTC (permalink / raw)
  To: Phillip Lord; +Cc: Nicolas Petton, emacs-devel


On Thu, Mar 26 2020, Phillip Lord wrote:

> William Rankin <william@bydasein.com> writes:
>
>> May I ask the appropriate way for a package to require seq for Emacs
>> 24.5?
>
> Why though? We are on two major versions on and about to be three?

I would like to drop 24 but even after recently bumping the requirement
to 25 someone complained that their Linux Mint distro only had 24.

I’ll drop it as soon as it causes me the slightest annoyance, but for
now it seems okay.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Appropriate way for package to require seq for Emacs 24.5?
  2020-03-25 15:26 Appropriate way for package to require seq for Emacs 24.5? William Rankin
  2020-03-25 16:55 ` William Rankin
@ 2020-04-08 18:23 ` Bruno Félix Rezende Ribeiro
  1 sibling, 0 replies; 7+ messages in thread
From: Bruno Félix Rezende Ribeiro @ 2020-04-08 18:23 UTC (permalink / raw)
  To: William Rankin; +Cc: Nicolas Petton, emacs-devel

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

Hello William,

JFTR, to inform anyone (who might not know) reading this and using Gnus:

  W 6 (gnus-article-de-base64-unreadable)

come in handy.

William Rankin <william@bydasein.com> writes:

> SGVsbG8sCgpJIGhhdmUgYSBwYWNrYWdlIHRoYXQgYWltcyB0byBtYWludGFpbiBjb21wYXRpYmls
> aXR5IHdpdGggRW1hY3MgMjQuNSBidXQKcmVxdWlyZXMgc2VxLCBzbyBJIGhhdmUgdGhpcyBpbiB0
> aGUgaGVhZGVyOgoKPiBQYWNrYWdlLVJlcXVpcmVzOiAoKGVtYWNzICIyNC41IikgKHNlcSAiMi4y
> MCIpKQoKSSBvbmx5IGp1c3Qgc2F3IGluIHRoZSBzZXEgY29tbWVudGFyeToKCj4gV2hpbGUgc2Vx
> LmVsIHZlcnNpb24gMS44IGlzIGluIEdOVSBFTFBBIGZvciBjb252ZW5pZW5jZSwgc2VxLmVsCj4g
> dmVyc2lvbiAyLjAgcmVxdWlyZXMgRW1hY3M+PTI1LjEuCgpBbSBJIGNvcnJlY3QgaW4gaW50ZXJw
> cmV0aW5nIHRoaXMgdG8gbWVhbiB0aGUgcGFja2FnZSByZXF1aXJlbWVudHMgYWJvdmUKd291bGQg
> bm90IHdvcmsgb24gRW1hY3MgMjQuNT8KCklmIHNvLCB3b3VsZCB0aGlzIHdvcms/Cgo+IFBhY2th
> Z2UtUmVxdWlyZXM6ICgoZW1hY3MgIjI0LjUiKSAoc2VxICIxLjExIikpCgpUaGFuayB5b3UuCg==

-- 
Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
<http://oitofelix.freeshell.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-08 18:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-25 15:26 Appropriate way for package to require seq for Emacs 24.5? William Rankin
2020-03-25 16:55 ` William Rankin
2020-03-25 18:46   ` Stefan Monnier
2020-03-26  0:39     ` William Rankin
2020-03-25 22:42   ` Phillip Lord
2020-03-26  0:44     ` William Rankin
2020-04-08 18:23 ` Bruno Félix Rezende Ribeiro

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