From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: plists, alists, and hashtables Date: Wed, 05 Aug 2015 21:36:00 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87zj25tczj.fsf@lifelogs.com> References: <87k2t9bir3.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1438825222 17517 80.91.229.3 (6 Aug 2015 01:40:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 01:40:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 03:40:21 2015 Return-path: Envelope-to: geh-help-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 1ZNAAN-0000EG-6j for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2015 03:40:19 +0200 Original-Received: from localhost ([::1]:43012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNAAM-00071R-F2 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Aug 2015 21:40:18 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: news.albasani.net eoQfiBtuTbju+cSs26tjKrdcj/SZeKGzHT3nUg97lmwSTKswrreQ1P5ZPhxOAkuiZz8e/Ac7MAR7nZwBFhO/bQ== Original-NNTP-Posting-Date: Thu, 6 Aug 2015 01:36:00 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="SfURG/12la0J4tiKD3S1zXC6CDtWBLP+C55Swy7IjhEg4jUFo7hSyEoiH4ymst93fmEP30DAIMc+Mye/Qqx7UxsoTYqI/T9WnTxBS17+XKTb2RnEjwHcPg3vMeXGNJIZ"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:w6S6HbfyQr2AqBfRGmw0Xu8I4yg= sha1:6u72bwNHe/lAbxvCw9eAs4k801M= Original-Xref: usenet.stanford.edu gnu.emacs.help:213999 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106284 Archived-At: On Wed, 5 Aug 2015 14:36:50 -0700 (PDT) Drew Adams wrote: >> So as a first cut, maybe <(k1 . v1) (k2 . v2)> and >> <<(k1 . v1) (k2 . v2)>> would be a good syntax ... DA> Unfortunately, in Emacs Lisp we do not (yet) have reader macros. DA> But that is all the *more* (not less) reason not to hard-code DA> such syntax restrictions into the definition of Lisp itself. DA> Working on adding reader macros to Emacs Lisp would be (very!) DA> helpful. Hard-coding < and << syntax is not helpful (IMHO). OK, I agree, except that it should be globally enabled, so whatever the syntax, it can become a standard way to express a map. That's the point; I can already use hashtables just fine. It needs to be accessible. Can anyone explain to me what's missing in order to implement the reader macro that translates «xyz» to some version of #s(hash-table ...)? Ted