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: Fri, 02 Aug 2002 14:37:28 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Marius Vollmer <address@hidden> writes:

> address@hidden (Kai Großjohann) writes:
>
>> What would be another way to achieve the same effect that's now
>> achieved by these variables?  Take the example of
>> coding-system-for-write: how would you do it in Scheme?
>
> When coding-system-for-write would have been designed for Scheme, I
> would expect it to hidden behind an abstraction; it would not be a
> variable that you can set.  It could be offered as
>
>     (with-coding-system-for-write 'foo
>       (lambda () ...))

I see.  What would with-coding-system-for-write look like?  What
would functions look like that want to find out which coding system
to use for writing?

Maybe something can be abstracted so that

(with-variable 'coding-system-for-write 'foo
  ...statements...)

works for all variables.  Of course, you might as well call it `let',
then :-)

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]