[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings about keymaps
From: |
Stefan Monnier |
Subject: |
Re: Warnings about keymaps |
Date: |
Fri, 18 Sep 2009 20:43:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>>> (are you saying users should not add key bindings to
>>> log-edit-mode-map, for example?).
>> That's unrelated: defconst only says that the variable's binding won't
>> change, not that the object it is bound to is immutable.
> I don't understand that distinction.
It's the same distinction that makes it possible for a function to
modify an array passed as argument in C, even though arguments are
passed "by value" (i.e. it receives a copy of the pointer to the array,
so it can't change which array is pointed, but it can modify the
array's contents).
Stefan
- Re: Warnings about keymaps, (continued)
- Re: Warnings about keymaps, Glenn Morris, 2009/09/11
- Re: Warnings about keymaps, Stefan Monnier, 2009/09/11
- Re: Warnings about keymaps, Glenn Morris, 2009/09/14
- Re: Warnings about keymaps, Stefan Monnier, 2009/09/14
- Re: Warnings about keymaps, Glenn Morris, 2009/09/14
- Re: Warnings about keymaps, Stefan Monnier, 2009/09/15
- Re: Warnings about keymaps, Glenn Morris, 2009/09/17
- Re: Warnings about keymaps, Stefan Monnier, 2009/09/17
- Re: Warnings about keymaps, Glenn Morris, 2009/09/18
- Re: Warnings about keymaps, Stephen J. Turnbull, 2009/09/18
- Re: Warnings about keymaps,
Stefan Monnier <=
- Re: Warnings about keymaps, Richard Stallman, 2009/09/15