From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master 24746ff 1/8: Drop Names dependency Date: Tue, 13 Oct 2015 22:33:13 +0100 Message-ID: References: <20151013163724.20147.92642@vcs.savannah.gnu.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1444772059 1429 80.91.229.3 (13 Oct 2015 21:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 21:34:19 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 13 23:34:18 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 1Zm7D6-0000EU-9w for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 23:34:16 +0200 Original-Received: from localhost ([::1]:39438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm7D5-00034X-2Q for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 17:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm7C7-00027f-Ti for emacs-devel@gnu.org; Tue, 13 Oct 2015 17:33:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm7C7-0006r8-2J for emacs-devel@gnu.org; Tue, 13 Oct 2015 17:33:15 -0400 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:35360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm7C6-0006q5-Ri for emacs-devel@gnu.org; Tue, 13 Oct 2015 17:33:15 -0400 Original-Received: by lbwr8 with SMTP id r8so33201850lbw.2 for ; Tue, 13 Oct 2015 14:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=y0e6YjK5udKYrC4pwA4cbzVTzSMiw5OpmxE2PVI/NWQ=; b=R1oRZkwcBBvwS60mILeakm09glLEaGPNVaGEurj9M92fEJF8TFsfFENLQ6lZknw0JW 9Nr3ByA1toI913OoKL17/rPhb1KWqQ5U7wNCXosgzJOiQhZO/QPueWTVKd99jEbImniD ozjNg9/poHgpkVwhV5ADUaeFa2Tge+VnRriSnRxXeNX3F4Y2o7gv4B9UN5lRgDeuT6Hl qscp76MiUgihqy43d7Vchlf/gtuBg7UFZzPRjqhpbEfYkR1e0SZpmlbehICROVA8CBmT CYJEGkihGVg6ukgJx1Fx9HYGNzqyfxzkVZlufqLE7V1+kq4EWW6NSeoNoCDu9gdxzXOP Lqgw== X-Received: by 10.112.168.228 with SMTP id zz4mr16348134lbb.73.1444771993737; Tue, 13 Oct 2015 14:33:13 -0700 (PDT) Original-Received: by 10.25.27.78 with HTTP; Tue, 13 Oct 2015 14:33:13 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: zuAUrkMhEXE-U5ZoZ6n7LHszxro X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 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:191514 Archived-At: On 13 Oct 2015 8:22 pm, "Stefan Monnier" wrote: > > > Drop Names dependency > > Curious: why? > > PS: I'd guess that you ended up preferring nameless.el, but I'm > interested in the actual details of why/how. Yes I'm currently preferring nameless, though it's just a first assessment. Comparing the two, they perform very similarly. Names is slightly nicer when typing [1] and Nameless is slightly nicer when reading [2]. The difference that tips the scale is that Names comes with some luggage. - It imposes dependencies at autoload time. - It makes completion a little less helpful (company-dabbrev completion still works, but company-capf doesn't). - It makes code-navigation a little more difficult (it does some hacking so that things like `find-function/variable' still work, which is all I ever use, but there are other methods and they will fail) - It is a proper package dependency that gets installed on the user's computer. This isn't really a failure. It's just slightly less convenient than Nameless which is not a dependency. Since Nameless is just completely clean, I'm leaning more towards it right now. Not that I'm any less proud of Names. :-) Sometimes you gotta climb a mountain to see that there's another way. Artur [1]: Not having to type the namespace is better than having a key that inserts the namespace. [2]: Both hide the namespace, but Nameless adds a colored ":" to the symbol, which differentiates locals from globals and makes the code slightly easier to understand.