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: Tue, 19 Feb 2013 12:28:32 -0500 Message-ID: References: <87d2vxr8h6.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361294946 22964 80.91.229.3 (19 Feb 2013 17:29:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2013 17:29:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 18:29:28 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 1U7r0Q-0006GX-Vw for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2013 18:29:27 +0100 Original-Received: from localhost ([::1]:57384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7r06-0000sl-TZ for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2013 12:29:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7qzz-0000sb-V9 for emacs-devel@gnu.org; Tue, 19 Feb 2013 12:29:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7qzr-0003MG-9c for emacs-devel@gnu.org; Tue, 19 Feb 2013 12:28:59 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:39524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7qza-0003GI-3b; Tue, 19 Feb 2013 12:28:34 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r1JHSWoK022150; Tue, 19 Feb 2013 12:28:32 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6AAD2B40CF; Tue, 19 Feb 2013 12:28:32 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Tue, 19 Feb 2013 10:25:50 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4497=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4497> : streams <909651> : uri <1349971> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:157161 Archived-At: >> (let ((crm-separator ",")) >> (require 'crm)) > This is a long-standing issue. The only solution at the moment is "don't > do that". > We could make it give an error. defvar is a primitive and could > check the specpdl to see if the variable has a local binding. defvar already gives a message for it (but defcustom doesn't). Stefan