[Top][All Lists]

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

Re: propagating a coding setting across source files

From: Andy Wingo
Subject: Re: propagating a coding setting across source files
Date: Mon, 16 Jan 2012 10:07:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Sun 15 Jan 2012 22:51, address@hidden (Ludovic Courtès) writes:

> Mike Gran <address@hidden> skribis:
>> I tried to dig through the logic of this the other day, and I'm not
>> sure that your suggestion can work.  If "load" ends up calling
>> "primitive-load", then any file without a "coding:" line is UTF-8.
>> %default-port-encoding doesn't enter in to it.
> Right.  So what Sven is asking for, propagating source file encoding
> programmatically, is not possible AFAIK.  Sven: you really need to add
> the “coding:” cookie to each and every file.

Is possible to provide such an interface?

I agree that coding: is the right thing, but there's a lot of legacy
code out there.  If it's possible to support without much effort, we
probably should do so.


reply via email to

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