From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Sun, 12 Mar 2017 13:06:14 -0400 Message-ID: References: <831swxzbw8.fsf@gnu.org> <83y3z2wphb.fsf@gnu.org> <83tw9bb42m.fsf@gnu.org> <349ED8B9-C34B-495B-9FB5-E72CE6EFCA38@raeburn.org> <87inpni6xa.fsf@linux-m68k.org> <8360lmesso.fsf@gnu.org> <3B044D64-7C94-42D7-BE1B-7A9CA76C5A67@raeburn.org> <83k29xc49v.fsf@gnu.org> <2C5C5C6E-9D73-4613-948B-C15B93968717@raeburn.org> <83poiy8cnv.fsf@gnu.org> <83r32mqq5f.fsf@gnu.org> <83zih1jf37.fsf@gnu.org> <8A8DA980-13A7-4F8B-9D07-391728C673C9@raeburn.org> <831su4dmn4.fsf@gnu.org> <87h9300x5n.fsf@linux-m68k.org> <734D2132-71FD-414D-B091-629189742DB4@raeburn.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1489338431 8252 195.159.176.226 (12 Mar 2017 17:07:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2017 17:07:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 12 18:07:08 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn6xW-0001ci-JD for ged-emacs-devel@m.gmane.org; Sun, 12 Mar 2017 18:07:06 +0100 Original-Received: from localhost ([::1]:47702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn6xc-0007VX-E1 for ged-emacs-devel@m.gmane.org; Sun, 12 Mar 2017 13:07:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn6x6-0007VE-ES for emacs-devel@gnu.org; Sun, 12 Mar 2017 13:06:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cn6x3-0001JP-AG for emacs-devel@gnu.org; Sun, 12 Mar 2017 13:06:40 -0400 Original-Received: from [195.159.176.226] (port=40879 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cn6x3-0001Is-4b for emacs-devel@gnu.org; Sun, 12 Mar 2017 13:06:37 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cn6wr-00067c-1x for emacs-devel@gnu.org; Sun, 12 Mar 2017 18:06:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:UkzL7zcR6U2ps+EJ5IQczDTAiVw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:212949 Archived-At: > And just yesterday I was thinking how convenient — and surprising — it was > that we didn’t have to dump out any obarray objects; oh well. Unless we’re > going to arrange for obarrays to be printable and readable in a useful form, > they’ll need special-casing. But abbrev variables should be easy enough to > recognize and process. I’ll take a look. My personal favorite choice is to deprecate obarrays (most uses would be better served by a hash-table), but getting rid of them completely is rather tricky. So we probably want to solve the obarray problem regardless of whether we deprecate them. It seems fairly, easy, tho: - add a `make-obarray` function, which basically does the same as `make-vector` but uses another tag. Use it in abbrev.el (and other applicable places). - change `intern` and friends to accept those other kinds of vectors. - change print.c to do something more clever with obarrays. - deprecate use of plain vectors as obarrays. I'm in the mood for procrastinating, so don't be surprised if a patch shows up, Stefan