From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: hap.el Date: Thu, 2 Mar 2017 22:07:12 +0900 (JST) Message-ID: References: <8760jtgymr.fsf@calancha-pc> <87varskq3j.fsf@petton.fr> <87bmtjlupu.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1488460074 16818 195.159.176.226 (2 Mar 2017 13:07:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2017 13:07:54 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers , Stefan Monnier , Tino Calancha To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 02 14:07:50 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjQSS-00040o-As for ged-emacs-devel@m.gmane.org; Thu, 02 Mar 2017 14:07:48 +0100 Original-Received: from localhost ([::1]:52302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjQSY-0008Dg-6A for ged-emacs-devel@m.gmane.org; Thu, 02 Mar 2017 08:07:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjQS0-0008DP-CT for emacs-devel@gnu.org; Thu, 02 Mar 2017 08:07:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjQRw-0004PE-Dj for emacs-devel@gnu.org; Thu, 02 Mar 2017 08:07:20 -0500 Original-Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:33982) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjQRw-0004OX-8B for emacs-devel@gnu.org; Thu, 02 Mar 2017 08:07:16 -0500 Original-Received: by mail-pg0-x243.google.com with SMTP id s67so9310109pgb.1 for ; Thu, 02 Mar 2017 05:07:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=kZUPAMYcmdxTBR89e7SlpZsYderXn6+7I5dDfJ5Uvj8=; b=M8LP6+pmBTmKZyfc3qPooO3Z5uFnKKJRbg25jNVjcM/rDE4vC2KwI99KlagFoHuc5A hbvXgT884KzKd8DOqMJ7E8+yA9VUqL8uMgPR7zrv0VjCnhdRFOoM5uLh7bQZNMUSeJT9 4QYriZkRdY1ZtLfiBz+k7RGy3lv+p7A7xeuNJhU8qq7786J5L9jhgL/EnXg9ln4RquoC Uj3JJdk5XS1yb7DgMnt509p7eurQPVrh5XEO4TUDuSvmGJvzRJZYetIOpK/qAhRks2f/ paY7uo0E0HQKa7PGDaBLx2yoSypSVrqGbQvreoWI9vxAS0XYQc49gaGLYW+eD9PILNsI ObaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=kZUPAMYcmdxTBR89e7SlpZsYderXn6+7I5dDfJ5Uvj8=; b=Kh681pWsZvV8u2Dzx9uCusQhiEk18HzGtWqHjb2id+LCI17DmsqsUIYjh17baiSpaa lxR0yxCMAbVSNuai13WqnuNLVJkotOnJ+oHRuu67OrR+K2wytWA4DUJrZI9Yy26M+WsT JwvS3okQsoa82k72B8QXc9jCGF9ohoSWuznZirXmZI1vT7Qq+RYHPZ+FC1obtNfvzREL SWorsSkq/rAVPLbqz+NgTge872SBkZZimXN+tCn5evGNekyjceYm5VoFD4sBqwcjW7u3 fi3x4MDkevtNyoJTExdipKF8p2YajZCNTfoYtGzvS1E2teY6CXlFtyzbdhFZjdrtoZ7E z/WQ== X-Gm-Message-State: AMke39m+ZhdxC310mwywA0zrXJvjcVjsC24aSGooP6/fR3dbm9kbFkOZKii21yhSCwNb2Q== X-Received: by 10.98.113.9 with SMTP id m9mr15269958pfc.121.1488460035432; Thu, 02 Mar 2017 05:07:15 -0800 (PST) Original-Received: from calancha-pc (104.81.147.124.dy.bbexcite.jp. [124.147.81.104]) by smtp.gmail.com with ESMTPSA id p17sm17169235pfi.97.2017.03.02.05.07.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Mar 2017 05:07:14 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87bmtjlupu.fsf@petton.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:212706 Archived-At: On Thu, 2 Mar 2017, Nicolas Petton wrote: > Tino Calancha writes: > >> Probably would be safer default to `assoc' in `map-elt'. That is >> consistent with the default test in `map-contains-key' and with >> the hash table test in `map--into-hash-table'. > > I just realized that then it wouldn't be consistent with `alist-get' > though. Yeah, that's my suggestion. To use (cdr (assoc key alist)) instead of `alist-get' in `map-elt'. Just an idea anyway.