[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer names are sometimes read-only objects in daemonized emacs
From: |
Stefan Monnier |
Subject: |
Re: Buffer names are sometimes read-only objects in daemonized emacs |
Date: |
Mon, 02 Aug 2010 01:10:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>> No no, you got me wrong. I just meant the docstring of `buffer-name'
>>> (and any other function that returns some thing whose modification would
>>> have undesired, non-obvious side-effects) should explicitly state that
>>> modifying that returned string will indeed modify the buffer name.
>> Rather, `aset' should warn that modifying strings is evil and dangerous.
> Should `put-text-property' do that too?
Probably, but that will break a lot more packages (removing the "aset on
strings" feature breaks fairly few packages, surprisingly enough).
Stefan
- Re: Buffer names are sometimes read-only objects in daemonized emacs,
Stefan Monnier <=