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: defcustom problem with packages (user error?) Date: Wed, 12 Nov 2014 09:45:57 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415803585 13414 80.91.229.3 (12 Nov 2014 14:46:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2014 14:46:25 +0000 (UTC) Cc: Elias =?windows-1252?Q?M=E5rtenson?= , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 12 15:46:18 2014 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 1XoZBY-0000ox-Gs for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2014 15:46:16 +0100 Original-Received: from localhost ([::1]:55137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoZBY-00068L-49 for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2014 09:46:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoZBO-000684-32 for emacs-devel@gnu.org; Wed, 12 Nov 2014 09:46:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoZBG-0004vJ-GM for emacs-devel@gnu.org; Wed, 12 Nov 2014 09:46:06 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:56556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoZBG-0004vC-D6 for emacs-devel@gnu.org; Wed, 12 Nov 2014 09:45:58 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQcBAQEBHpEIB4RLBYtkky6QfYIRgW+EFh+CegEBAQ X-IPAS-Result: Au4MAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQcBAQEBHpEIB4RLBYtkky6QfYIRgW+EFh+CegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96750769" Original-Received: from 75-119-235-29.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Nov 2014 09:45:57 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 697B743C2; Wed, 12 Nov 2014 09:45:57 -0500 (EST) In-Reply-To: (Artur Malabarba's message of "Wed, 12 Nov 2014 13:20:54 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:176815 Archived-At: > I'm not sure if that's the cause of your problem, but you don't need to > autoload all those defcustom s. > Just autoload the entry functions. Oh, indeed, autoloading variables is generally a bad idea. And it could explain the behavior. I haven't seen such problem until now, but it's probably because such autoloads are rare. So maybe we should document it more prominently. Stefan