From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal Date: Fri, 23 Jan 2015 13:18:38 +0000 Message-ID: <871tmlvdn5.fsf@newcastle.ac.uk> References: <54C15ECA.5050008@dancol.org> <87egqlvl86.fsf@newcastle.ac.uk> <54C2359C.3000600@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422019145 1852 80.91.229.3 (23 Jan 2015 13:19:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 13:19:05 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Oleh To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 23 14:19:00 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 1YEe8Z-0007RU-9j for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 14:18:59 +0100 Original-Received: from localhost ([::1]:58875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEe8T-0002n2-K1 for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2015 08:18:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEe8M-0002ml-5P for emacs-devel@gnu.org; Fri, 23 Jan 2015 08:18:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEe8H-0006Td-Dq for emacs-devel@gnu.org; Fri, 23 Jan 2015 08:18:46 -0500 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:40631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEe8H-0006TA-62 for emacs-devel@gnu.org; Fri, 23 Jan 2015 08:18:41 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1YEe8F-00081q-An; Fri, 23 Jan 2015 13:18:39 +0000 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YEe8E-0002Wx-U9; Fri, 23 Jan 2015 13:18:38 +0000 In-Reply-To: <54C2359C.3000600@dancol.org> (Daniel Colascione's message of "Fri, 23 Jan 2015 03:50:52 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.12 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:181670 Archived-At: Daniel Colascione writes: >> My main concern with this as a proposal is that is a fairly >> small namespace. There is a lot of possibility for pretty disasterous >> clashes if this gets used in the wild. > > Of course. That's why we'd make each file register an association > between letters and the macros to which they'd expand. Think of how XML > namespaces map short local names to long global names. We'd make this > mapping buffer-local, like lexical-binding. That could work so long as there is a standard convention for adding to this. The normal (require 'my-special-reader-macros) wouldn't be enough. Still, think I have said enough. Something of this sort seems to be a good idea to me. Phil