From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: re-loading an elisp file Date: Sat, 5 Mar 2011 18:08:41 -0800 Message-ID: References: <4D7253C7.2020502@mousecar.com> <3954AA73E899435D9BC94337E64B9C78@us.oracle.com> <4D726F50.3060808@mousecar.com> <95E4E1EE722B4C2CBA1441CF03F2C2C4@us.oracle.com> <4D72C90E.7090709@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1299377362 8866 80.91.229.12 (6 Mar 2011 02:09:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 02:09:22 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 06 03:09:16 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw3PF-00006H-4w for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Mar 2011 03:09:16 +0100 Original-Received: from localhost ([127.0.0.1]:40976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw3P9-0005iC-VH for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 21:09:08 -0500 Original-Received: from [140.186.70.92] (port=33642 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw3On-0005i7-WC for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 21:08:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw3Om-0006QA-Ru for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 21:08:46 -0500 Original-Received: from p3plsmtpa07-05.prod.phx3.secureserver.net ([173.201.192.234]:59779) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Pw3Om-0006Q6-K0 for help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 21:08:44 -0500 Original-Received: (qmail 11273 invoked from network); 6 Mar 2011 02:08:43 -0000 Original-Received: from unknown (209.85.161.41) by p3plsmtpa07-05.prod.phx3.secureserver.net (173.201.192.234) with ESMTP; 06 Mar 2011 02:08:42 -0000 Original-Received: by fxm5 with SMTP id 5so3832239fxm.0 for ; Sat, 05 Mar 2011 18:08:41 -0800 (PST) Original-Received: by 10.223.151.8 with SMTP id a8mr565344faw.75.1299377321209; Sat, 05 Mar 2011 18:08:41 -0800 (PST) Original-Received: by 10.223.97.71 with HTTP; Sat, 5 Mar 2011 18:08:41 -0800 (PST) In-Reply-To: <4D72C90E.7090709@mousecar.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 173.201.192.234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79810 Archived-At: On Sat, Mar 5, 2011 at 3:36 PM, ken wrote: > > On 03/05/2011 01:11 PM Drew Adams wrote: >> But it seems that we've been down this road before... >> http://lists.gnu.org/archive/html/help-gnu-emacs/2009-06/msg00394.html >> > > The counterintuitive is harder to remember over the years. Think of defvar as defining a variable. If the variable is already defined, there's nothing for defvar to do. Setting the variable's default value likewise only affects it's current value if there *is* no current value. (That's why defvar *does* set the global "default" if that's unset, even if there's a buffer-local variable with the same name.) -PJ