[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using gv in map and seq?
From: |
Nicolas Petton |
Subject: |
Re: Using gv in map and seq? |
Date: |
Tue, 16 Jun 2015 09:13:03 +0200 |
User-agent: |
Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-redhat-linux-gnu) |
Stefan Monnier <address@hidden> writes:
>> Something like the patch below seems to work (and it generalizes
>> map-put to accept for MAP not only symbols but any "lvalue"). It also
>> tightens the code generated by map--dispatch.
>
> BTW, just like `map-put', it suffers from the major problem that it
> hardcodes in the macroexpanded code (i.e. in the .elc files of Elisp
> packages that use map-put) the current definition of map--dispatch and
> the current 3 supported map types.
Indeed, I never though about this issue!
> So we should introduce a helper function (call it map--put) and move
> most of the setter's code there (including the dispatch).
Yes, I can do that.
--
Nicolas Petton
http://nicolas-petton.fr
signature.asc
Description: PGP signature
- Using gv in map and seq?, Nicolas Petton, 2015/06/15
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/15
- Re: Using gv in map and seq?, Nicolas Petton, 2015/06/15
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/15
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/15
- Re: Using gv in map and seq?,
Nicolas Petton <=
- Re: Using gv in map and seq?, Nicolas Petton, 2015/06/16
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/16
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/17
- Re: Using gv in map and seq?, Nicolas Petton, 2015/06/17
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/17
- Re: Using gv in map and seq?, Nicolas Petton, 2015/06/18
- Re: Using gv in map and seq?, Stefan Monnier, 2015/06/18
- Re: Using gv in map and seq?, Nicolas Petton, 2015/06/16
- [OT] Working with patches inlined in emails (was: Using gv in map and seq?), Nicolas Petton, 2015/06/18
- Re: [OT] Working with patches inlined in emails (was: Using gv in map and seq?), Eli Zaretskii, 2015/06/18