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: Defcustoms, how do users find them? Date: Wed, 18 Nov 2009 09:34:24 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258555499 6856 80.91.229.12 (18 Nov 2009 14:44:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 14:44:59 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 15:44:51 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAlm7-00006f-2R for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 15:44:51 +0100 Original-Received: from localhost ([127.0.0.1]:36987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAlm6-0003bZ-AX for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 09:44:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAlc9-0004ml-Jf for emacs-devel@gnu.org; Wed, 18 Nov 2009 09:34:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAlc2-0004kV-Eb for emacs-devel@gnu.org; Wed, 18 Nov 2009 09:34:30 -0500 Original-Received: from [199.232.76.173] (port=35764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAlc1-0004jr-IE for emacs-devel@gnu.org; Wed, 18 Nov 2009 09:34:25 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:33139 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAlc1-0002Ej-4s for emacs-devel@gnu.org; Wed, 18 Nov 2009 09:34:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As4EAC+UA0vO+II8/2dsb2JhbACBTdRzhDsEiVc X-IronPort-AV: E=Sophos;i="4.44,765,1249272000"; d="scan'208";a="49592876" Original-Received: from 206-248-130-60.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.60]) by ironport2-out.pppoe.ca with ESMTP; 18 Nov 2009 09:34:24 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 60BFE859F; Wed, 18 Nov 2009 09:34:24 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Wed, 18 Nov 2009 04:31:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117175 Archived-At: > Maybe, I just tried to build on what is there. It turns out that after > byte compiling the new cus-load.el loads in 0.1 sec on my quite > old pc. Great. > Are there other aspects that makes it worth investigating this more? Checking memory use of your scheme would be a good idea, yes, because the main problem I see now is that if you want it to be available for C-h v and apropos as well, then it'll end up being loaded into memory in many/most circumstances (e.g. in every one of my Emacs sessions, for example). For C-h v I can imagine we can circumvent the problem by not providing completion for unloaded vars, but for apropos, there's no shortcut tht I can think of. Stefan PS: BTW, whenever you send code here, if it's a modification of existing code, it helps tremendously if you send it as a patch.