unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Evil defvars in org.el
@ 2012-04-27  3:17 Chong Yidong
  2012-04-27  6:07 ` Bastien
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Chong Yidong @ 2012-04-27  3:17 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-devel

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?



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2012-05-09 17:37 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27  3:17 Evil defvars in org.el Chong Yidong
2012-04-27  6:07 ` Bastien
2012-04-27 14:48   ` Bastien
2012-04-27 14:57     ` Edward Reingold
2012-04-27 16:14       ` Bastien
2012-04-27 17:09       ` SAKURAI Masashi
2012-04-27 16:05     ` Glenn Morris
2012-04-27 16:33       ` Drew Adams
2012-04-28  0:15         ` Miles Bader
2012-04-28  0:17           ` Drew Adams
2012-04-28  0:48             ` Miles Bader
2012-04-28  2:25       ` Chong Yidong
2012-05-04  6:56         ` Glenn Morris
2012-05-04 15:29           ` Stefan Monnier
2012-05-04 20:53             ` Johan Bockgård
2012-05-05  0:37               ` Stefan Monnier
2012-05-05 20:00             ` Glenn Morris
2012-05-07 14:57               ` Stefan Monnier
2012-04-28  2:14 ` Stefan Monnier
2012-04-28  5:57   ` Achim Gratz
2012-04-28 15:10     ` Stefan Monnier
2012-04-28 16:31       ` Achim Gratz
2012-04-28 19:33         ` Stefan Monnier
2012-04-28  6:00   ` Drew Adams
2012-05-08 22:48 ` Martyn Jago
2012-05-09 17:37   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).