From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: Obsoleting hash-table-* functions in subr-x in favor of map-* functions Date: Mon, 22 Jun 2015 08:28:37 +0300 Message-ID: References: <87h9q0ga81.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3d55cb9ec330519148b20 X-Trace: ger.gmane.org 1434950939 3485 80.91.229.3 (22 Jun 2015 05:28:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2015 05:28:59 +0000 (UTC) Cc: emacs-devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 22 07:28:58 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 1Z6uHx-0000O9-H9 for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2015 07:28:57 +0200 Original-Received: from localhost ([::1]:38246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6uHw-0003mM-Bv for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2015 01:28:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6uHj-0003m6-IR for emacs-devel@gnu.org; Mon, 22 Jun 2015 01:28:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6uHf-0002zo-IU for emacs-devel@gnu.org; Mon, 22 Jun 2015 01:28:43 -0400 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:36008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6uHf-0002ze-AP for emacs-devel@gnu.org; Mon, 22 Jun 2015 01:28:39 -0400 Original-Received: by lbbpo10 with SMTP id po10so2173101lbb.3 for ; Sun, 21 Jun 2015 22:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=teXNW98ROlfy2V5J8uB35ShQbP19jhxKHW3mrMf5dIk=; b=z+z/EGNQ1isF0vgfQlUSwNdONygt40fncWHO2npkrqd10/8V5OYJ/r+MyxicncCA3x Kmz+Q/c5VNAPRgjbYcjSz8CRTGoAAQAUEz5DdVu1y6Jm0Nt8VUxOEnJnrAJOdwS+25Oq PpqFfJPCiZOHT7ZH77+ZL/bEULf8dYsYtSgPyivnJDfNHUMxfXUwz61QzsqC72gURIXr XWDYt2w6MIby5hdUvccoRjs9YN/AnoeWjKbGLUBTLm/AzDWgGU6W/4QQB2pdtIcanszp V9bhiiJf9TkO6s4aKkHaY3VjqFKU2i9oipOtafDJWE48rUJY11LDONcHMKHu2APXtQdQ 0jTA== X-Received: by 10.112.12.102 with SMTP id x6mr21609679lbb.80.1434950917809; Sun, 21 Jun 2015 22:28:37 -0700 (PDT) Original-Received: by 10.112.172.164 with HTTP; Sun, 21 Jun 2015 22:28:37 -0700 (PDT) In-Reply-To: <87h9q0ga81.fsf@petton.fr> X-Google-Sender-Auth: 4zFIsnWfEamLFVZNDS5VWbvJq2A X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::231 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:187364 Archived-At: --001a11c3d55cb9ec330519148b20 Content-Type: text/plain; charset=UTF-8 Sounds a bit strange to me. Those are somewhat basic hash-table-specific stuff. If you're going to obsolete them, why not obsolete everything except hash-table constructors? Somewhere a line has to be drawn. Btw, I'm still not sure about the "map" naming, as this is a term that's not used at all in Emacs Lisp terminology and will be the source of a lot of confusing I guess. On 21 June 2015 at 21:58, Nicolas Petton wrote: > Hi, > > I'm thinking about obsoleting `hash-table-empty-p', `hash-table-keys' > and `hash-table-values' defined in subr-x in favor of their map-* > equivalent. > > WDYT? > > Cheers, > Nico > -- > Nicolas Petton > http://nicolas-petton.fr > --001a11c3d55cb9ec330519148b20 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sounds a bit strange to me. Those are somewhat basic hash-= table-specific stuff. If you're going to obsolete them, why not obsolet= e everything except hash-table constructors? Somewhere a line has to be dra= wn.=C2=A0

Btw, I'm still not sure about the "ma= p" naming, as this is a term that's not used at all in Emacs Lisp = terminology and will be the source of a lot of confusing I guess.

On 21 June 2015= at 21:58, Nicolas Petton <nicolas@petton.fr> wrote:
Hi,

I'm thinking about obsoleting `hash-table-empty-p', `hash-table-key= s'
and `hash-table-values' defined in subr-x in favor of their map-*
equivalent.

WDYT?

Cheers,
Nico
--
Nicolas Petton
h= ttp://nicolas-petton.fr

--001a11c3d55cb9ec330519148b20--