On Tue 08 Jun 2010 16:16, Mike Gran <[email protected]> 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/
