guile-user
[Top][All Lists]
Advanced

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

Re: [r6rs] no way to turn of coding: comment interpretation?


From: Andy Wingo
Subject: Re: [r6rs] no way to turn of coding: comment interpretation?
Date: Wed, 09 Jun 2010 08:36:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

On Tue 08 Jun 2010 16:16, Mike Gran <address@hidden> writes:

>> Andy sez
>>> Mike sez
>
>>> We talked about making a list of aliases between
>
>>> Emacs coding names and standard encoding names 
>>> at one point.
>
>> Ah, thanks for the links. What do you think is the best 
>> thing to do in this case?
>
> I'd say that we could keep it simple and hardcode a
> list in libguile/read.c.  Google Codesearch and
> koders.com show that there are only a handful of the 
> Emacs coding aliases being used in scheme code, or
> in code in general.
>
> Or, to be more elegant, initialize a global variable
> that contains an alist that maps Emacs coding aliases
> to their standard counterparts, and add a function
> to allow other pairs to be added, I guess.

Yeah, I reckon the alist would be the right solution.

A
-- 
http://wingolog.org/



reply via email to

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