From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Possible defvar bug Date: Mon, 18 Feb 2013 15:58:50 +0100 Message-ID: <878v6lr7md.fsf@thinkpad.tsdh.de> References: <87d2vxr8h6.fsf@thinkpad.tsdh.de> <87obfhy8zc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361199551 26724 80.91.229.3 (18 Feb 2013 14:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 14:59:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jambunathan K Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 15:59:30 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 1U7SBi-0000G1-Bu for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2013 15:59:26 +0100 Original-Received: from localhost ([::1]:41759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7SBO-0001hR-FB for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2013 09:59:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7SBF-0001eR-Cr for emacs-devel@gnu.org; Mon, 18 Feb 2013 09:59:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7SBA-0006xR-Fg for emacs-devel@gnu.org; Mon, 18 Feb 2013 09:58:57 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:48137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7SBA-0006wK-9v for emacs-devel@gnu.org; Mon, 18 Feb 2013 09:58:52 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3E9301A8419; Mon, 18 Feb 2013 15:58:51 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wn6Yo8BkWZwj; Mon, 18 Feb 2013 15:58:50 +0100 (CET) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id E75751A8407; Mon, 18 Feb 2013 15:58:50 +0100 (CET) Mail-Followup-To: Jambunathan K , emacs-devel@gnu.org In-Reply-To: <87obfhy8zc.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 18 Feb 2013 20:17:35 +0530") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 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:157129 Archived-At: Jambunathan K writes: Hi Jambunathan, > ,---- C-h f > | The optional argument INITVALUE is evaluated, and used to set SYMBOL, > | only if SYMBOL's value is void. If SYMBOL is buffer-local, its > | default value is what is set; buffer-local values are not affected. > | If INITVALUE is missing, SYMBOL's value is not set. > | > | If SYMBOL has a local binding, then this form affects the local > | binding. This is usually not what you want. Thus, if you need to > | load a file defining variables, with this form or with `defconst' or > | `defcustom', you should always load that file _outside_ any bindings > | for these variables. (`defconst' and `defcustom' behave similarly in > | this respect.) > `---- Oh, I'd say the "Thus, ..." sentence makes it pretty clear that I shouldn't be doing what I've done. Thanks for the hint. I've fixed the problem now in AUCTeX. Bye, Tassilo