emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Lisp and Guile


From: Kai Großjohann
Subject: Re: Emacs Lisp and Guile
Date: Thu, 01 Aug 2002 22:52:26 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Marius Vollmer <address@hidden> writes:

> What is a typical part of the system specification that makes use of
> Elisp's dynamic scoping?

I don't know what you mean by "system specification", but I guess
that a lot of code assumes that variables declared with defvar (or
defcustom) can be bound fluidly.  For example, to write something to
a file with a specific coding system, one would say

    (let ((coding-system-for-write 'foo))
      (write-region ...))

where coding-system-for-write is defvar'd.  Constructs like this must
be ubiquitous in Emacs, I don't think you can "isolate" them somehow.
And since there are hundreds of variables in Emacs, what kind of usage
would be "typical"?

Does this help at all?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]