[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which Elisp types are mutable?
From: |
Eli Zaretskii |
Subject: |
Re: Which Elisp types are mutable? |
Date: |
Mon, 05 Jul 2021 21:48:51 +0300 |
> From: Philipp <p.stephani2@gmail.com>
> Date: Mon, 5 Jul 2021 20:41:58 +0200
> Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
>
> > Well, in my book, "you can't mutate them" is. You always /can/ mutate
> > a string, but of you do it in certain circumstances, you're asking for
> > trouble.
>
> You can mutate all objects, because all of them are stored in mutable memory.
Not if you put it in read-only memory: you'd get a segfault with any
modern OS.
> For a reference manual, "you're asking for trouble" isn't a terribly useful
> statement.
And "you must not mutate them" is? At least "you're asking for
trouble" explains why not, especially if it actually describes some of
the trouble.
- Re: Which Elisp types are mutable?, Philipp, 2021/07/05
- Re: Which Elisp types are mutable?,
Eli Zaretskii <=
- Re: Which Elisp types are mutable?, tomas, 2021/07/05
- RE: [External] : Re: Which Elisp types are mutable?, Drew Adams, 2021/07/05
- Re: [External] : Re: Which Elisp types are mutable?, address@hidden, 2021/07/05
- RE: [External] : Re: Which Elisp types are mutable?, Drew Adams, 2021/07/05
- Re: [External] : Re: Which Elisp types are mutable?, address@hidden, 2021/07/05
- RE: [External] : Re: Which Elisp types are mutable?, Drew Adams, 2021/07/05
- Re: [External] : Re: Which Elisp types are mutable?, Emanuel Berg, 2021/07/05