From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#21782: 25.0.50; New functions nfront/front Date: Fri, 30 Oct 2015 19:10:00 +0900 (JST) Message-ID: References: <87wpu5jd1y.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1446199651 25365 80.91.229.3 (30 Oct 2015 10:07:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2015 10:07:31 +0000 (UTC) Cc: f92capac@gmail.com To: 21782@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 30 11:07:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Zs6aZ-00018b-0W for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Oct 2015 11:07:15 +0100 Original-Received: from localhost ([::1]:49476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zs6aY-00022g-Fw for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Oct 2015 06:07:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zs6aT-00022O-H5 for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 06:07:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zs6aN-0002TZ-TA for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 06:07:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zs6aN-0002TV-Pz for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 06:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zs6aN-0007f8-Br for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2015 06:07:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Oct 2015 10:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: Tino Calancha , 21782@debbugs.gnu.org Original-Received: via spool by 21782-submit@debbugs.gnu.org id=B21782.144619961529441 (code B ref 21782); Fri, 30 Oct 2015 10:07:03 +0000 Original-Received: (at 21782) by debbugs.gnu.org; 30 Oct 2015 10:06:55 +0000 Original-Received: from localhost ([127.0.0.1]:45321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zs6aE-0007em-JZ for submit@debbugs.gnu.org; Fri, 30 Oct 2015 06:06:55 -0400 Original-Received: from calancha-ilc.kek.jp ([130.87.234.234]:49067) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zs6aB-0007eb-S9 for 21782@debbugs.gnu.org; Fri, 30 Oct 2015 06:06:53 -0400 Original-Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id ADDCCB453; Fri, 30 Oct 2015 19:10:00 +0900 (JST) Original-Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 9FC63B449; Fri, 30 Oct 2015 19:10:00 +0900 (JST) X-X-Sender: calancha@calancha-ilc.kek.jp In-Reply-To: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108179 Archived-At: Thank you. I agree with your 3 points. 1) Clearly replicate functionality 2) Yes, the prefix prevent to pollute. 3) Agree. My main concern is why seq-take is not auloaded at the start of the session. Its natural to have loaded such function always. Anyway thank you very much. On Fri, 30 Oct 2015, Artur Malabarba wrote: > > On 30 Oct 2015 2:53 am, "Constantino Calancha" wrote: > > Why i need to pollute my global space with all seq.el just to use this > > fundamental operation on a list? > > I think, overall, sticking to seq-take has a smaller cost/benefit ratio than adding nfront. I state my logic below. > > These points are all a little subjective. So if you disagree and think that the slider falls closer to the other side, we can wait to hear more opinions (though at least Michael seems to > agree). > > 1. While nfront is not identical to seq-take, it's similar enough that this would just be replicating functionality, which is ultimately a maintenance burden. > 2. Seq is not a huge lib, so you're not polluting that much. Furthermore, all its functions are prefixed by "seq-", so you're polluting even less. Lastly, seq was added to core > specifically with the purpose of being the goto sequences lib (and it's been doing that fine), so it wouldn't make sense to circumvent it now. > 3. I'm of the opinion that we should be adding namespace prefixes as much as possible. Unprefixed names pollute much more and are harder to find. > > In any case, thanks for the suggestion. > > >