From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Buffer names are sometimes read-only objects in daemonized emacs Date: Fri, 30 Jul 2010 23:48:09 +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=us-ascii X-Trace: dough.gmane.org 1280526505 13775 80.91.229.12 (30 Jul 2010 21:48:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 21:48:25 +0000 (UTC) Cc: Johan, Wojciech Meyer , =?iso-8859-1?Q?Bockg=E5rd?= , emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 30 23:48:23 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 1OexRG-0000On-OY for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 23:48:23 +0200 Original-Received: from localhost ([127.0.0.1]:39120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OexRG-0005ku-6O for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 17:48:22 -0400 Original-Received: from [140.186.70.92] (port=46769 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OexR7-0005kj-ES for emacs-devel@gnu.org; Fri, 30 Jul 2010 17:48:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OexR5-0003t5-MV for emacs-devel@gnu.org; Fri, 30 Jul 2010 17:48:13 -0400 Original-Received: from impaqm5.telefonica.net ([213.4.138.5]:63594) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OexR5-0003sl-FM for emacs-devel@gnu.org; Fri, 30 Jul 2010 17:48:11 -0400 Original-Received: from IMPmailhost6.adm.correo ([10.20.102.127]) by IMPaqm5.telefonica.net with bizsmtp id oMWN1e00A2kvMAa3RMoAnN; Fri, 30 Jul 2010 23:48:10 +0200 Original-Received: from ceviche.home ([83.61.51.16]) by IMPmailhost6.adm.correo with BIZ IMP id oMo91e0050LyJBX1mMo9N9; Fri, 30 Jul 2010 23:48:09 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Original-Received: by ceviche.home (Postfix, from userid 20848) id 166D166140; Fri, 30 Jul 2010 23:48:09 +0200 (CEST) In-Reply-To: <201007302208.27352.tassilo@member.fsf.org> (Tassilo Horn's message of "Fri, 30 Jul 2010 22:08:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:128033 Archived-At: > 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. Stefan "whose aset refuses to do it"