From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Namespace macros Date: Mon, 8 Dec 2014 08:36:47 +0000 Message-ID: References: <877fy77zhp.fsf@web.de> <87k326d4ww.fsf@gmail.com> <877fy6rp2o.fsf@web.de> <548230FB.40307@dancol.org> <5482C872.5010304@dancol.org> <5483C537.3010707@dancol.org> <54840719.5080209@dancol.org> <87a92zmnv4.fsf@lifelogs.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1133f92eb957200509b0537e X-Trace: ger.gmane.org 1418027831 32388 80.91.229.3 (8 Dec 2014 08:37:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 08:37:11 +0000 (UTC) Cc: emacs-devel To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 08 09:37:04 2014 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 1XxtoW-000168-JU for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2014 09:37:04 +0100 Original-Received: from localhost ([::1]:60690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxtoW-0000CO-4Q for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2014 03:37:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxtoH-0000CJ-AQ for emacs-devel@gnu.org; Mon, 08 Dec 2014 03:36:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxtoG-0006TW-4v for emacs-devel@gnu.org; Mon, 08 Dec 2014 03:36:49 -0500 Original-Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:49429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxtoF-0006T9-SW for emacs-devel@gnu.org; Mon, 08 Dec 2014 03:36:48 -0500 Original-Received: by mail-la0-f48.google.com with SMTP id gf13so3624964lab.35 for ; Mon, 08 Dec 2014 00:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=E0sJnX2RYov2/qWBWm/mla7HoE1wOuGMdSw252dKnws=; b=zbNSygWawYQCGEL1MHvpzDxFBM9TFvK021YPSoqGPNF+afknlP05cGIUXWCnLtWiPP 9OvVDqN4myU/5LeMIYRRMDrpgjDERCsTRnO9oQiFFVcPfYE1qwnaqEyOeNySno1P0DPf ObRY7lmjZVLn0ISaytb2AtjpuXLIbPc1bQ+YPehq07/Rxl2VsXOh6NhZyJ4UvLDJdYwm c/onBgg3m3dEQz5jNdX4IFGHlYaEx1uRn0c3k97IlCIxBkoNN+PZCsFmoDfrslrdXMu/ WB945DoHtOMz0sbTfrQ6i4GZq1go29aNeB41afIJpPpRqbYA4xHXeHXCUHk0YBgB8FjF 7FTg== X-Received: by 10.112.184.70 with SMTP id es6mr15222275lbc.85.1418027807101; Mon, 08 Dec 2014 00:36:47 -0800 (PST) Original-Received: by 10.112.53.137 with HTTP; Mon, 8 Dec 2014 00:36:47 -0800 (PST) Original-Received: by 10.112.53.137 with HTTP; Mon, 8 Dec 2014 00:36:47 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: qpeDgZAnj3iN0TbWMQiGVdCWA-Q X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::230 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:179363 Archived-At: --001a1133f92eb957200509b0537e Content-Type: text/plain; charset=UTF-8 > > But it turns out that my intuition was wrong and that (eq #'F 'F) => t > for all symbols F. So #' can be used to mark function names in more > cases than I thought. Which is good news for the namespace macro. > Indeed, now a days #' is really just a note to the compiler. See for instance http://endlessparentheses.com/get-in-the-habit-of-using-sharp-quote.html Below is a short example of a package using the macro, in case anyone's interested. I particularly find it a pleasure to write and read code like this. https://github.com/Bruce-Connor/camcorder.el --001a1133f92eb957200509b0537e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

>
> But it turns out that my intuition was wrong and that (eq #'F '= ;F) =3D> t
> for all symbols F.=C2=A0 So #' can be used to mark function names = in more
> cases than I thought.=C2=A0 Which is good news for the namespace macro= .
>

Indeed, now a days #' is really just a note to the compi= ler. See for instance http://endlessparentheses.com/get-in-the-ha= bit-of-using-sharp-quote.html

Below is a short example of a package using the macro, in ca= se anyone's interested. I particularly find it a pleasure to write and = read code like this.
https://github.com= /Bruce-Connor/camcorder.el

--001a1133f92eb957200509b0537e--