From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: `purecopy' usage in ruby-mode.el and python.el Date: Wed, 26 Dec 2012 17:53:02 -0100 Message-ID: <871uecd4s1.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1356547992 30300 80.91.229.3 (26 Dec 2012 18:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2012 18:53:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 26 19:53:28 2012 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 1Tnw6a-0006LR-DX for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 19:53:28 +0100 Original-Received: from localhost ([::1]:57782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tnw6M-000730-4h for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2012 13:53:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tnw6J-000723-80 for emacs-devel@gnu.org; Wed, 26 Dec 2012 13:53:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tnw6I-0005Wr-Dy for emacs-devel@gnu.org; Wed, 26 Dec 2012 13:53:11 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:41508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tnw6I-0005Wn-74 for emacs-devel@gnu.org; Wed, 26 Dec 2012 13:53:10 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tnw6U-0006Gy-H0 for emacs-devel@gnu.org; Wed, 26 Dec 2012 19:53:22 +0100 Original-Received: from 178.252.98.87 ([178.252.98.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Dec 2012 19:53:22 +0100 Original-Received: from dgutov by 178.252.98.87 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Dec 2012 19:53:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 178.252.98.87 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) Cancel-Lock: sha1:S2ZbNlZHmeLc7OEYnftxgVg5zgU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:155913 Archived-At: Hi all, I see some places in the above files where purecopy is called. But: Pure storage is allocated only while temacs is loading the standard preloaded Lisp libraries. (...) — Function: purecopy object (...) This function is a no-op except while Emacs is being built and dumped; it is usually called only in preloaded Lisp files. I take this to mean that `purecopy' can only be useful in elisp files that Emacs preloads during compilation, but not in ruby-mode, python, or any third-party libraries. Is that true? Can we remove its uses from non-preloaded packages? --Dmitry