From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: adding namespaces to emacs-lisp (better elisp?) Date: Sat, 27 Jul 2013 10:12:25 -0400 Message-ID: References: <874nbh2z3y.fsf@ferrier.me.uk> <871u6l2ral.fsf@ferrier.me.uk> <87siz116zo.fsf@ferrier.me.uk> <87mwp90zgi.fsf@ferrier.me.uk> <87d2q50x58.fsf@ferrier.me.uk> <877ggc1k6s.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374939321 5625 80.91.229.3 (27 Jul 2013 15:35:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jul 2013 15:35:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nic Ferrier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 27 17:35:23 2013 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 1V36Wb-0004Hf-Td for ged-emacs-devel@m.gmane.org; Sat, 27 Jul 2013 17:35:18 +0200 Original-Received: from localhost ([::1]:33854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V36Wb-0003Wj-IM for ged-emacs-devel@m.gmane.org; Sat, 27 Jul 2013 11:35:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V36WY-0001Rt-BO for emacs-devel@gnu.org; Sat, 27 Jul 2013 11:35:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V35pb-00020d-ON for emacs-devel@gnu.org; Sat, 27 Jul 2013 10:50:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:25983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V35ES-0000vS-1F for emacs-devel@gnu.org; Sat, 27 Jul 2013 10:12:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZPn/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFpZPn/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="19970932" Original-Received: from 69-165-147-231.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.231]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Jul 2013 10:12:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 29AA362E93; Sat, 27 Jul 2013 10:12:25 -0400 (EDT) In-Reply-To: <877ggc1k6s.fsf@ferrier.me.uk> (Nic Ferrier's message of "Sat, 27 Jul 2013 09:27:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:162206 Archived-At: > I don't understand what would be different for my implementation > strategy. When intern is called directly as a function the evaluator > still knows about file local variables and so can detect whether it is > in a package or not. > What am I missing? When intern is called directly, the buffer/file from which the code was read probably doesn't even exist any more. Stefan