From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: set-text-properties, remove-set-properties, add-text-properties: 1) doc string 2) return value Date: Thu, 29 Dec 2005 23:41:37 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135896209 9961 80.91.229.2 (29 Dec 2005 22:43:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2005 22:43:29 +0000 (UTC) Cc: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 29 23:43:21 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Es6UR-0002tq-VI for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2005 23:43:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Es6Vp-0008BH-82 for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2005 17:44:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Es6Vh-0008BB-6F for emacs-devel@gnu.org; Thu, 29 Dec 2005 17:44:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Es6Vf-0008Ay-IE for emacs-devel@gnu.org; Thu, 29 Dec 2005 17:44:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Es6Vf-0008Av-E9 for emacs-devel@gnu.org; Thu, 29 Dec 2005 17:44:35 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Es6W5-0003hI-5k for emacs-devel@gnu.org; Thu, 29 Dec 2005 17:45:01 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 8F4E85EE0B2; Thu, 29 Dec 2005 23:43:05 +0100 (CET) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Thu, 29 Dec 2005 08:03:39 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:48512 Archived-At: "Drew Adams" writes: > I guess, in the case of a buffer, a new string would need to be created. Exactly -- and a string with all properties duplicated. Very wasteful, since the value would be discarded in most (all) cases. > Is > that what you meant, or is there also a problem when the OBJECT (string) > argument is explicitly supplied? Not performancewise, but IMO it is not worth the efforts to change this just for the string case. -- Kim F. Storm http://www.cua.dk