From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Proper namespaces in Elisp Date: Thu, 7 May 2020 12:37:03 -0700 Message-ID: References: <87ftcee7td.fsf@tromey.com> <87pnbgzdmx.fsf@tromey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95063"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , emacs-devel To: Stefan Monnier , Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 07 21:39:44 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWmMy-000Od7-47 for ged-emacs-devel@m.gmane-mx.org; Thu, 07 May 2020 21:39:44 +0200 Original-Received: from localhost ([::1]:59272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWmMx-0003XO-29 for ged-emacs-devel@m.gmane-mx.org; Thu, 07 May 2020 15:39:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWmKR-000284-92 for emacs-devel@gnu.org; Thu, 07 May 2020 15:37:07 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:43968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWmKQ-0003Bj-HH for emacs-devel@gnu.org; Thu, 07 May 2020 15:37:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rBEvWvCUxXZWCcvTgb41T9ZjwuSfn3jDcw7KOuVAbd4=; b=BziF17fzy1Q1Sxo3Q9z9vNmJpd zpdM7N8lQmGMRdpRQOiRYOG53tCEAj3Bad4S3aPQcrr3TU8GkbjiHzCiwOPTYtJ8tp05Eu9xokyyl xd2GFliAkcFxl0iJ2ej0anKykoZ+XkB0Xy9P0y+S1mgKUTBHWurnQ+xZxjvQpgffr0YgiuDzE1s6H PZeZPnq3Pjbxa4UscrPUL8f+CjBgrrkX7JCOh/amzXViOG704ZA7y4aL1ojHw4HSFbgDMNG3Lacqa ikEgtJQnZ2vfIYx1GanloHFsX54JzLGgqfqUvSGFD0M6UnliIybRH69XnEdI/xfha2F2C+pmxflTg L5Tx/CKg==; Original-Received: from [2604:4080:1321:9a00:cc88:bc25:b50e:59a4] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jWmKO-0004JT-Lf; Thu, 07 May 2020 12:37:04 -0700 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2600:3c01::f03c:91ff:fedf:adf3; envelope-from=dancol@dancol.org; helo=dancol.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249209 Archived-At: On 5/6/20 8:12 PM, Stefan Monnier wrote: >> I like the idea of doing it in the reader (it has some nice advantages), >> but the downside is it is then harder to special-case defining forms. > > The upside is that you don't need to recognize defining forms ;-) I don't like reader magic. It complicates code logic. I know we talked about symbol-macrolet and macrolet as possible options and know why neither is quite the right thing, but I still think that a macro of the same general kind would work fine. Macros don't need to recognize defining forms if they macroexpand their bodies before walking them.