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: Autoloaded defcustoms Date: Mon, 05 Jan 2009 17:15:06 -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 1231194078 30097 80.91.229.12 (5 Jan 2009 22:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2009 22:21:18 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 05 23:22:28 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 1LJxq3-0002Jj-15 for ged-emacs-devel@m.gmane.org; Mon, 05 Jan 2009 23:22:25 +0100 Original-Received: from localhost ([127.0.0.1]:59123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJxom-0005Y1-4J for ged-emacs-devel@m.gmane.org; Mon, 05 Jan 2009 17:21:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJxj3-0003BX-9x for emacs-devel@gnu.org; Mon, 05 Jan 2009 17:15:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJxj1-0003Aa-J7 for emacs-devel@gnu.org; Mon, 05 Jan 2009 17:15:08 -0500 Original-Received: from [199.232.76.173] (port=41261 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJxj1-0003AQ-BK for emacs-devel@gnu.org; Mon, 05 Jan 2009 17:15:07 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:23676 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LJxj1-0001py-3H for emacs-devel@gnu.org; Mon, 05 Jan 2009 17:15:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMEAP0UYknO+JnM/2dsb2JhbACBbMwbhXKBaQ X-IronPort-AV: E=Sophos;i="4.36,334,1228107600"; d="scan'208";a="31825517" Original-Received: from 206-248-153-204.dsl.teksavvy.com (HELO pastel.home) ([206.248.153.204]) by ironport2-out.teksavvy.com with ESMTP; 05 Jan 2009 17:15:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 62AEB84D0; Mon, 5 Jan 2009 17:15:06 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Mon, 5 Jan 2009 19:21:45 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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:107617 Archived-At: > If you add an autoload cookie to a defcustom > ;;;###autoload > (defcustom ourcomments-ido-ctrl-tab nil > and use get-file-autoloads on this then you get a load def > (defvar ourcomments-ido-ctrl-tab nil "\ > bla bla doc") > (custom-autoload 'ourcomments-ido-ctrl-tab "ourcomments-util" nil) > This does not take care of :set etc in the defcustom AFAICS. Shouldn't > it do that? It should and AFAIK it does. But your notion of "take care of" might be different from mine. So please be more specific. > (Is this the reason that minor modes defined in libraries > external to Emacs are not turned on properly?) I don't know what you're referring to. Stefan