From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11106: 24.0.94; enhancement request: have autoload treat faces like it does options Date: Wed, 28 Mar 2012 11:50:48 -0400 Message-ID: References: <7134C9FED9064A64BCE682995B981BB6@us.oracle.com> <54253A206B4248F99B4AD830266E374C@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332949921 23115 80.91.229.3 (28 Mar 2012 15:52:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 15:52:01 +0000 (UTC) Cc: 11106@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 17:51:57 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SCvAA-0006q1-Fc for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 17:51:54 +0200 Original-Received: from localhost ([::1]:51766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCvA9-0002Tb-R7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 11:51:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCvA2-00028v-UC for bug-gnu-emacs@gnu.org; Wed, 28 Mar 2012 11:51:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCv9w-0004Qk-MM for bug-gnu-emacs@gnu.org; Wed, 28 Mar 2012 11:51:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCv9w-0004QR-KF for bug-gnu-emacs@gnu.org; Wed, 28 Mar 2012 11:51:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SCveH-0003x2-KK for bug-gnu-emacs@gnu.org; Wed, 28 Mar 2012 12:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Mar 2012 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11106 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11106-submit@debbugs.gnu.org id=B11106.133295176615163 (code B ref 11106); Wed, 28 Mar 2012 16:23:01 +0000 Original-Received: (at 11106) by debbugs.gnu.org; 28 Mar 2012 16:22:46 +0000 Original-Received: from localhost ([127.0.0.1]:43479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCve2-0003wU-2a for submit@debbugs.gnu.org; Wed, 28 Mar 2012 12:22:46 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:10591) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCvdT-0003vm-O2 for 11106@debbugs.gnu.org; Wed, 28 Mar 2012 12:22:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9MCqRV/2dsb2JhbACBX5x7eYhwnhmGGQSbGYQJ X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="170451950" Original-Received: from 76-10-164-85.dsl.teksavvy.com (HELO pastel.home) ([76.10.164.85]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Mar 2012 11:50:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id F264A59437; Wed, 28 Mar 2012 11:50:48 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Wed, 28 Mar 2012 06:39:39 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58246 Archived-At: > For #1: Make an autoload cookie before a defface do something > analogous to what it does before a defcustom. I'm no expert on the > latter, so yes, this is vague. IIUC, an autoload cookie handles an > option definition by setting the option value at autoload time, but it > does not simply copy the defcustom to the autoloads file. ;;;###autoload on a defcustom pretty much copies the defcustom, tho it addmittedly tries to strip away things that won't be needed until the file is actually loaded. But I don't know what that would mean for defface. IOW what is the concrete problem you see with ;;;###autoload on a defface that you'd like to see fixed? > Assume you want to provide autoloading for the faces, I can't assume it, since you're trying to explain to me why that would be useful. > to let users get to their doc. That's it? So you only want it for describe-face's purpose? Then autoloading is not the right answer. We're back at the issue of finding documentation for vars, functions, and now faces in not-yet loaded code. We don't need to autoload the whole world for that. [ Sorry, didn't read the rest, assuming that it is not relevant since I rejected the main assumption. ] Stefan