From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Buffer names are sometimes read-only objects in daemonized emacs Date: Sat, 31 Jul 2010 00:07:22 +0200 Message-ID: References: <201007292230.58883.tassilo@member.fsf.org> <201007302041.18983.tassilo@member.fsf.org> <87mxt89254.fsf@gmail.com> <201007302208.27352.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280527679 16932 80.91.229.12 (30 Jul 2010 22:07:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 22:07:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 31 00:07:56 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OexkB-0000RD-DT for ged-emacs-devel@m.gmane.org; Sat, 31 Jul 2010 00:07:55 +0200 Original-Received: from localhost ([127.0.0.1]:53673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OexkA-0003qB-Le for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 18:07:54 -0400 Original-Received: from [140.186.70.92] (port=37321 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oexk3-0003q2-Sn for emacs-devel@gnu.org; Fri, 30 Jul 2010 18:07:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oexk0-00065S-5U for emacs-devel@gnu.org; Fri, 30 Jul 2010 18:07:45 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:39892) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oexk0-00065B-0J for emacs-devel@gnu.org; Fri, 30 Jul 2010 18:07:44 -0400 Original-Received: by pwi8 with SMTP id 8so1351731pwi.0 for ; Fri, 30 Jul 2010 15:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=OdZHpO8aIdRWtAtvY6j+FndXkM2qflV0cQ4c3i9/Fp4=; b=hXoywmQpKbFzBS4pPurn6HMSXd90s69FmNLz6KFUg/+nx8OhsuQ56UNdvynqam3rYT mByGMbm/VekVSn4nFHELlsSiGDA7k7RnoGpMIOfOOwgzlq7Ws2EKYYJZEJCeXDULVxZy rMVubL9kUjbPUsOwZ+7BIpHBV9pO9W0hgD49Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=f5OydTO6R31A2xIwK8JyL6fZH30+I1z/wYzHU/iwfQZCAUGnge9tHd6SX8e0aQr4Xx 6ZGId+J0KqWRfWMwmI2J6l/eHl91wixo0Q5N3DMAGZha8fDEWpUtAe3H/ViCRbnVskdB Awa0jh17cFkGaPXd+3mLSc5o1LUulV87prPq8= Original-Received: by 10.114.75.17 with SMTP id x17mr3133688waa.86.1280527662438; Fri, 30 Jul 2010 15:07:42 -0700 (PDT) Original-Received: by 10.114.58.2 with HTTP; Fri, 30 Jul 2010 15:07:22 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128034 Archived-At: On Fri, Jul 30, 2010 at 11:48 PM, Stefan Monnier wrote: >> No no, you got me wrong. =C2=A0I just meant the docstring of `buffer-nam= e' >> (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. > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Stefan "whose aset refuses to do it" When will this aset be grown up enough to play outside of home?