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 package
system was one) in the Lisp Machine operating system, which included
lots of programs to do lots of things.  (An Emacs-like editor was one
of them.)

In practice, the goal of using names without prefixes via importing
namespace did not work out.

I make the conjecture that name space importing is convenient when you
have lots of small modules, each with its own name space and not many
names, and each referring to just a few other modules.  That‘s not how
the Lisp Machine system was written, and it‘s also mostly not how
Emacs was written.

--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That‘s nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.

RMS on why Emacs lisp doesn't have namespace

时间: 2024-08-05 07:07:55

RMS on why Emacs lisp doesn't have namespace的相关文章

Gnu.Emacs.Lisp编程入门一书示例代码

最近两天看了Gnu.Emacs.Lisp编程入门一书,把书中的代码示例都写了出来,以及书中的练习题,供有需要的同志使用. 注意:分号后面内容是对应函数及表达式的结果. :-) ;; Chapter 1: 列表处理 ; 在Lisp中,数据和程序都以同样的方式表示:也就是说,它们都是由空格分割. ; 由括号括起来的单词.数字或者其他列表的列表. ; 在一个列表中,列表的元素被称为"原子",不可再被分割为更小的部分.列表 ; 中的原子是由空格一一分割的. ; 双引号中的文本,不论是句子还是段

关于Emacs lisp的学习

在使用Emacs两年之后,突然很想深入的看看这个日常生活中离不开的神器.要做到这一点,必然绕不开emacs lisp这一关. 官方推荐的教程:http://gnu.april.org/software/emacs/manual/eintr.html 或从百度盘中下载链接: http://pan.baidu.com/s/1B6qvk 密码: boa7

emacs lisp

;; This gives an introduction to Emacs Lisp in 15 minutes (v0.2d) ;; ;; 英文原作者: Bastien / @bzg2 / http://bzg.fr ;; 中文翻译: iamxuxiao ;; ;; ;; 如何安装 Emacs ;; ;; Debian: apt-get install emacs (or see your distro instructions) ;; MacOSX: http://emacsformaco

emacs lisp调试

emacs调试 注意事项 emacs调试有个坑,首先el文件会被编译为elc文件,导致我修改源码死活不生效,我也是设置断点后,中断在elc文件才发现问题所在. error调试 error我觉得是最容易调试的,因为这类明显的错误很容易追踪,以下是几种思路:- –debug-init启动参数- debug-on-error 反映慢 先执行代码,在emacs没反应的时候按C-g (toggle-debug-on-quit) message断点 (setq debug-on-message "messa

Gnu Emacs Lisp入门笔记

1.在Lisp中,数据和程序都是以同样的方式表示:它们都是由空格分隔 的.由括号括起来的单词.数字或者其他列表的列表.2.列表前面的单引号:表示不要对这个列表做任何操作,而仅仅是按其 原样.如果一个列表前没有引号,则第一个符号表示计算机要执行的命 令,用来对列表的其余部分进行操作. 3.对一个符号表达式求值几乎总是使Lisp解释器返回一个值,同时可能 产生一个附带效果,不然就产生一个错误消息.

我的emacs设置文件.emacs

;;; emacs配置文件 ;;设置行高(setq-default line-spacing 5) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there

emacs org-mode 常用命令

Table of Contents 1. orgguide 1.1. introduction 1.2. Document Structure   实用 1.3. Tables 1.4. Hyperlinks 1.5. Todo itesm 1.6. Tags 1.7. Properties 1.8. Dates and Times 1.9. Markup for rich exprot 1.10. Working with source code 2. emacs基本操作 2.1. emacs

Emacs 中的coding system

.title { text-align: center; margin-bottom: .2em } .subtitle { text-align: center; font-size: medium; font-weight: bold; margin-top: 0 } .todo { font-family: monospace; color: red } .done { font-family: monospace; color: green } .priority { font-fami

AUCTeX+Emacs 是目前我见过的能最大限度提高 LaTeX 编辑效率的编辑器 (转)

AUCTeX+Emacs 是目前我见过的能最大限度提高 LaTeX 编辑效率的编辑器 效率的提高程度取决于你对 Emacs/lisp 的熟悉程度,但可以说基本上能提高到你所能想象的最大程度了.下面我会就效率方面介绍它的几个特性,不仅与 WinEdt 做对比,同时也和其他 OSX上的某些编辑器做一下对比, 安装和配置网上很多,比如这篇小文档[1],这里就不介绍了. 强大的快捷键系统 (CDLaTeX) 就提高编辑效率而言,快捷键是最重要的,同样的内容别的编辑要按10下键盘才能实现你就按5下就实现了