all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [GNU ELPA] Map version 3.2
@ 2021-09-21 21:03 ELPA update
  2021-09-23 19:17 ` John Cummings
  0 siblings, 1 reply; 7+ messages in thread
From: ELPA update @ 2021-09-21 21:03 UTC (permalink / raw)
  To: gnu-emacs-sources; +Cc: nil

Version 3.2 of package Map has just been released in GNU ELPA.
You can now find it in M-x package-list RET.

Map describes itself as:
  Map manipulation functions

More at https://elpa.gnu.org/packages/map.html



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

* Re: [GNU ELPA] Map version 3.2
  2021-09-21 21:03 [GNU ELPA] Map version 3.2 ELPA update
@ 2021-09-23 19:17 ` John Cummings
  2021-09-27  1:39   ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: John Cummings @ 2021-09-23 19:17 UTC (permalink / raw)
  To: help-gnu-emacs, gnu-emacs-sources


On Tuesday, September 21st, 2021 at 5:03 PM, ELPA update <do.not.reply@elpa.gnu.org> wrote:

> Version 3.2 of package Map has just been released in GNU ELPA.

Thanks for the update! I haven't knowingly used this package before,
so I downloaded it. It looks like map 3.1 and 3.2 might not be fully
compatible with Emacs 26 or 27. Has anyone else experienced this?

I first noticed it here, on my 26.3 Ubuntu build of Emacs, when I
visited a place with dir locals, and got this error:

Error reading dir-locals: (cl-no-applicable-method map-into
#s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold
0.8125 data (nil ((tab-width . 8) (sentence-end-double-space . t)
(fill-column . 70) (bug-reference-url-format
. "https://debbugs.gnu.org/%s")))) list)

It looks like commit 6535fd1fa9ac21238a168916249ac59677a6118e allowed
generic specializers like "(eql 'list)", but since map.el updated in
the same commit, that method was no longer backwards compatible in the
subsequent releases (3.1 and 3.2)

I confirmed that calling the same map-into method from map.el got the
same cl-no-applicable-method error in a fresh repo build of Emacs 27.2
as well.

I might have gotten something really wrong here, but if not, does this
qualify as something to open a bug for? Do you think that the package
will just have its required Emacs version bumped and republished, if
that's possible? As I mentioned, I'm not too familiar with using
map.el, let alone developing it, but it seems like unquoted
specializers are still allowed in master, so would updating it to be
backwards-compatible be on the table?

Thank you!





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

* Re: [GNU ELPA] Map version 3.2
  2021-09-23 19:17 ` John Cummings
@ 2021-09-27  1:39   ` Michael Heerdegen
  2021-09-27  4:01     ` John Cummings
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2021-09-27  1:39 UTC (permalink / raw)
  To: John Cummings; +Cc: help-gnu-emacs

John Cummings <john@rootabega.net> writes:

> On Tuesday, September 21st, 2021 at 5:03 PM, ELPA update
> <do.not.reply@elpa.gnu.org> wrote:
>
> > Version 3.2 of package Map has just been released in GNU ELPA.
>
> Thanks for the update! I haven't knowingly used this package before,
> so I downloaded it.

Just be sure: map.el was also already part of your Emacs, correct?

> I first noticed it here, on my 26.3 Ubuntu build of Emacs, when I
> visited a place with dir locals, and got this error:
>
> Error reading dir-locals: (cl-no-applicable-method map-into
> #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold
> 0.8125 data (nil ((tab-width . 8) (sentence-end-double-space . t)
> (fill-column . 70) (bug-reference-url-format
> . "https://debbugs.gnu.org/%s")))) list)

Does that still happen after restarting Emacs?


TIA,

Michael.



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

* Re: [GNU ELPA] Map version 3.2
  2021-09-27  1:39   ` Michael Heerdegen
@ 2021-09-27  4:01     ` John Cummings
  2021-09-27 23:29       ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: John Cummings @ 2021-09-27  4:01 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: help-gnu-emacs

Michael Heerdegen <michael_heerdegen@web.de> wrote:
> John Cummings john@rootabega.net writes:
> > On Tuesday, September 21st, 2021 at 5:03 PM, ELPA update
> > do.not.reply@elpa.gnu.org wrote:
> > > Version 3.2 of package Map has just been released in GNU ELPA.
> >
> > Thanks for the update! I haven't knowingly used this package before,
> > so I downloaded it.
>
> Just be sure: map.el was also already part of your Emacs, correct?

Yes, my 26.3 distribution came with map 1.2 built in, I had just never
used it directly.

> > I first noticed it here, on my 26.3 Ubuntu build of Emacs, when I
> > visited a place with dir locals, and got this error:
> > Error reading dir-locals: (cl-no-applicable-method map-into
> > #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold
> > 0.8125 data (nil ((tab-width . 8) (sentence-end-double-space . t)
> > (fill-column . 70) (bug-reference-url-format
> > . "https://debbugs.gnu.org/%s")))) list)
>
> Does that still happen after restarting Emacs?

Yes, it happens whenever I start Emacs with these versions of map
loaded.

If you have comparable versions, are you seeing something similar?
I think that would have to be the case, unless there's a way to
update cl-generic. I don't see any updated versions on GNU ELPA
though.

Thank you for replying!



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

* Re: [GNU ELPA] Map version 3.2
  2021-09-27  4:01     ` John Cummings
@ 2021-09-27 23:29       ` Michael Heerdegen
  2021-09-28 23:59         ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2021-09-27 23:29 UTC (permalink / raw)
  To: help-gnu-emacs

John Cummings <john@rootabega.net> writes:

> > Does that still happen after restarting Emacs?
>
> Yes, it happens whenever I start Emacs with these versions of map
> loaded.
>
> If you have comparable versions, are you seeing something similar?
> I think that would have to be the case, unless there's a way to
> update cl-generic. I don't see any updated versions on GNU ELPA
> though.

I have no old versions available - but this thing should not happen
anyway.

I suggest to make a bug report.  The information provided in your
question here was good enough.  Would be good if you CC

  akater <nuclearspace@gmail.com>

that made the original (eql specializer) change and also

  Stefan Monnier <monnier@iro.umontreal.ca>

(maintainer of Gnu Elpa) in your report so that the report gets noticed
by the people who know best what to do.


TIA,

Michael.




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

* Re: [GNU ELPA] Map version 3.2
  2021-09-27 23:29       ` Michael Heerdegen
@ 2021-09-28 23:59         ` Michael Heerdegen
  2021-09-29 16:44           ` John Cummings
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2021-09-28 23:59 UTC (permalink / raw)
  To: help-gnu-emacs

Michael Heerdegen <michael_heerdegen@web.de> writes:

>   Stefan Monnier <monnier@iro.umontreal.ca>

And he has already fixed it.

Thanks!

Michael.





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

* Re: [GNU ELPA] Map version 3.2
  2021-09-28 23:59         ` Michael Heerdegen
@ 2021-09-29 16:44           ` John Cummings
  0 siblings, 0 replies; 7+ messages in thread
From: John Cummings @ 2021-09-29 16:44 UTC (permalink / raw)
  Cc: help-gnu-emacs

> > Stefan Monnier monnier@iro.umontreal.ca
> And he has already fixed it.
> Thanks!
> Michael.

Confirming that 3.2.1 works on Emacs 26.3 now. Thanks, indeed!



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

end of thread, other threads:[~2021-09-29 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-21 21:03 [GNU ELPA] Map version 3.2 ELPA update
2021-09-23 19:17 ` John Cummings
2021-09-27  1:39   ` Michael Heerdegen
2021-09-27  4:01     ` John Cummings
2021-09-27 23:29       ` Michael Heerdegen
2021-09-28 23:59         ` Michael Heerdegen
2021-09-29 16:44           ` John Cummings

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.