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: map.el and naming Date: Sat, 11 Apr 2015 23:32:01 -0400 Message-ID: References: <87lhji1aw8.fsf@petton.fr> <874monpju0.fsf@petton.fr> <871tjqlpqi.fsf@petton.fr> <55293097.7000709@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428810430 12983 80.91.229.3 (12 Apr 2015 03:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 03:47:10 +0000 (UTC) Cc: Nicolas Petton , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 05:47:01 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 1Yh8rJ-00055G-Mg for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 05:46:57 +0200 Original-Received: from localhost ([::1]:44347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh8rJ-0000ZW-0P for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 23:46:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh8qx-0007mB-Ct for emacs-devel@gnu.org; Sat, 11 Apr 2015 23:46:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh8cs-0004h2-W7 for emacs-devel@gnu.org; Sat, 11 Apr 2015 23:32:06 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh8cs-0004gy-RJ for emacs-devel@gnu.org; Sat, 11 Apr 2015 23:32:02 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t3C3W1MU006736; Sat, 11 Apr 2015 23:32:01 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 57006AE11C; Sat, 11 Apr 2015 23:32:01 -0400 (EDT) In-Reply-To: <55293097.7000709@yandex.ru> (Dmitry Gutov's message of "Sat, 11 Apr 2015 17:32:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5273=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5273> : inlines <2686> : streams <1421013> : uri <1904631> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:185315 Archived-At: >> `map-map-keys', `map-map-values' and `map-map' are the issue here. > Why not drop the first `map-' in the function names? Because map-keys would most naturally be the name of a function which returns the keys of a map. > Naming both the package and one of the functions in it simply `map' sounds > good to me. For map-map, we could live with just "map", indeed, in theory, but... > That would conflict with `map' alias in cl.el, though... Indeed, that would be a problem (while cl.el is being phased out, it's still in very common use, so the conflict would bite rather often). Stefan