From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: string> missing? Date: Fri, 05 Jun 2015 23:53:31 +0200 Message-ID: <87sia5bz50.fsf@gnu.org> References: <87oakxkvqw.fsf@petton.fr> <83zj4grgkc.fsf@gnu.org> <87sia8n8b5.fsf@petton.fr> <87zj4gu821.fsf@gnu.org> <83sia8rdkm.fsf@gnu.org> <83pp5crbfd.fsf@gnu.org> <837frjqzpk.fsf@gnu.org> <83wpzinfhy.fsf@gnu.org> <87wpzhc2i7.fsf@gnu.org> <87pp59et3w.fsf@violet.siamics.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433541495 4302 80.91.229.3 (5 Jun 2015 21:58:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2015 21:58:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 05 23:58:05 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z0zcd-0007v6-Sg for ged-emacs-devel@m.gmane.org; Fri, 05 Jun 2015 23:57:52 +0200 Original-Received: from localhost ([::1]:49800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0zcd-00033r-GP for ged-emacs-devel@m.gmane.org; Fri, 05 Jun 2015 17:57:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0zYZ-0003Vb-JD for emacs-devel@gnu.org; Fri, 05 Jun 2015 17:53:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0zYV-0006sy-QA for emacs-devel@gnu.org; Fri, 05 Jun 2015 17:53:39 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0zYV-0006sg-JV for emacs-devel@gnu.org; Fri, 05 Jun 2015 17:53:35 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2DE1520C5F for ; Fri, 5 Jun 2015 17:53:35 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 05 Jun 2015 17:53:35 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=WAHj9oWJJQuPta7DkA90KjViukk=; b=cJcUV KjRh3k7zjwYI94e2LlJ6Unqcnr7L6tlwPkXjbYRrmnw0I/4/F5BMijiju2AylHG8 3itcDNnBxTDFz1COihCZLwXc8wBt7mmYIX8z4HA0r4b8SMv/FTSyYK8UU4netseP 14ADbSxM2WB1g96aSok8oq7FkrbJp2tJAFhRhs= X-Sasl-enc: /DqGz31B8b31JoOfboOhZ4cLGUm3wd41Kizb4ntDqWk7 1433541214 Original-Received: from thinkpad-t440p (unknown [2.161.152.223]) by mail.messagingengine.com (Postfix) with ESMTPA id 85195C0001C for ; Fri, 5 Jun 2015 17:53:34 -0400 (EDT) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87pp59et3w.fsf@violet.siamics.net> (Ivan Shmakov's message of "Fri, 05 Jun 2015 21:35:31 +0000") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187055 Archived-At: Ivan Shmakov writes: > > Adding string> to Emacs proper is maybe additional 200 bytes but may > > save a multiple of its size when packages start using it instead of > > defining their own version each. For example, there are already > > gnus-string>, org-string>, and also org-string>=. And there are also > > quite many lambdas implementing string>, e.g., in emacs/lisp/help.el, > > so the addition of string> can in fact reduce the Emacs footprint if > > it gets used there. > > Then again, introducing string> in version X of Emacs means that > all these packages are still bound to carry their own versions > until their respective maintainers decide to drop support for > pre-X Emacs versions. Yes, of course. But the lambda in emacs/lisp/help.el can be replaced just now, and then the addition of string> is at least a zero sum game. Bye, Tassilo