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: Possible defvar bug Date: Wed, 20 Feb 2013 09:05:37 -0500 Message-ID: References: <87d2vxr8h6.fsf@thinkpad.tsdh.de> <87liajxv8h.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361384263 31897 80.91.229.3 (20 Feb 2013 18:17:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2013 18:17:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 20 19:18:04 2013 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 1U8EEz-0001dm-EN for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 19:18:01 +0100 Original-Received: from localhost ([::1]:55588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8EEf-0001yi-1L for ged-emacs-devel@m.gmane.org; Wed, 20 Feb 2013 13:17:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8AJ2-0001q1-Kp for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8AIk-0004nA-SW for emacs-devel@gnu.org; Wed, 20 Feb 2013 09:05:45 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8AIk-0004mw-Or; Wed, 20 Feb 2013 09:05:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXXp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: Av4EABK/CFFsoXXp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="1805789" Original-Received: from 108-161-117-233.dsl.teksavvy.com (HELO pastel.home) ([108.161.117.233]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Feb 2013 09:05:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DAC956CB99; Wed, 20 Feb 2013 09:05:37 -0500 (EST) In-Reply-To: <87liajxv8h.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 20 Feb 2013 09:09:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:157214 Archived-At: > That would be fine with me if it would apply not only to `defvar' but > also to `defcustom'. Agreed (or at least to those defcustom where it makes sense, since a defcustom might not even define a variable, depending on its :getter and :setter). > The reason for the problematic code in AUCTeX was that the loading of > crm should be deferred up to the point when it's actually used, e.g., > when just viewing some LaTeX file there's no need to have crm loaded. Agreed. That's a general problem with autoloading functions. Stefan