[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?
From: |
Arthur Miller |
Subject: |
Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup? |
Date: |
Sun, 30 May 2021 04:30:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>> (setq-local obarray (obarray-copy obarray))
> [...]
>> (setq-local obarray (copy-sequence obarray))
>
> obarray-copy != copy-sequence
My Emacs 27.1 says void function obarray-copy, but copy-sequence
worked. Aren't obarray just vectors?
For your previous mail; yes I am quite aware this is very use-case
specific solution. Anything done elsewhere, outside that particular
buffer after the copy is performed will not be visible in that buffer,
as well as no definition will escape to rest of the Emacs, so this
buffer can only be used to change state of this particular buffer and
nothing else, and that can be quite brittle. For the bad and good. I
haven't experimented enough yet, just a bit, I am not sure how it will
work with Emacs state internally, gc? etc.
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, (continued)
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Stefan Monnier, 2021/05/22
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Arthur Miller, 2021/05/22
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Stefan Monnier, 2021/05/22
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Arthur Miller, 2021/05/23
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Stefan Monnier, 2021/05/23
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Arthur Miller, 2021/05/23
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Arthur Miller, 2021/05/29
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Michael Heerdegen, 2021/05/29
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Arthur Miller, 2021/05/29
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Stefan Monnier, 2021/05/29
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?,
Arthur Miller <=
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Stefan Monnier, 2021/05/29
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Arthur Miller, 2021/05/30
- Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Stefan Monnier, 2021/05/29
Re: Q: BLV for function slots + BL obarray/hmap for symbol lookup?, Clément Pit-Claudel, 2021/05/23