From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Evil defvars in org.el Date: Fri, 27 Apr 2012 11:17:37 +0800 Message-ID: <87k411g8xa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335496672 12373 80.91.229.3 (27 Apr 2012 03:17:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2012 03:17:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 27 05:17:52 2012 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 1SNbgt-00088E-GG for ged-emacs-devel@m.gmane.org; Fri, 27 Apr 2012 05:17:51 +0200 Original-Received: from localhost ([::1]:40891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNbgs-0007P7-RB for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2012 23:17:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNbgq-0007P2-0G for emacs-devel@gnu.org; Thu, 26 Apr 2012 23:17:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNbgo-0005nG-F7 for emacs-devel@gnu.org; Thu, 26 Apr 2012 23:17:47 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:53316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNbgo-0005nC-Bg for emacs-devel@gnu.org; Thu, 26 Apr 2012 23:17:46 -0400 Original-Received: from bb116-14-12-6.singnet.com.sg ([116.14.12.6]:50689 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SNbgn-0003zQ-0r; Thu, 26 Apr 2012 23:17:45 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 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:150075 Archived-At: org.el (and org-agenda.el, and maybe others) have defvars like this: (defvar entry) (defvar date) This is going to blow up in someone's face, because it makes `entry' and `date' unusable as lexical variables, even though those are very common variable names. That is to say, loading Org mode would change the behavior of packages using lexical binding in some unpredictable way. Why does org need to do this? Could you try to clean it up?