首页 > 代码库 > RMS on why Emacs lisp doesn't have namespace

RMS on why Emacs lisp doesn't have namespace

Re: Generators (iterators) for Gnu Emacs


From:Richard Stallman
Subject:Re: Generators (iterators) for Gnu Emacs
Date:Mon, 08 Dec 2014 15:59:22 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]][[[ whether defending the US Constitution against all enemies,     ]]][[[ foreign or domestic, requires you to follow Snowden‘s example. ]]]  > I wonder whether perhaps Richard ran into the need to use prefixes  > so much because he was implementing the CL package system, and not  > just making normal use of it.  Just a conjecture.I implemented all the Common Lisp features (of which the packagesystem was one) in the Lisp Machine operating system, which includedlots of programs to do lots of things.  (An Emacs-like editor was oneof them.)In practice, the goal of using names without prefixes via importingnamespace did not work out.I make the conjecture that name space importing is convenient when youhave lots of small modules, each with its own name space and not manynames, and each referring to just a few other modules.  That‘s not howthe Lisp Machine system was written, and it‘s also mostly not howEmacs was written.-- Dr Richard StallmanPresident, Free Software Foundation51 Franklin StBoston MA 02110USAwww.fsf.org  www.gnu.orgSkype: No way! That‘s nonfree (freedom-denying) software.  Use Ekiga or an ordinary phone call.

RMS on why Emacs lisp doesn't have namespace