|
From: Matthieu C. <cho...@gm...> - 2007-01-31 16:20:15
|
2007/1/31, Slava Pestov <sl...@fa...>: > > > On 31-Jan-07, at 10:43 AM, Matthieu Casanova wrote: > > > Hi, it is not used to load the buffer, but if you put an > > :encoding=windows-1250: > > jEdit will read that and change the encoding of the buffer (it can be > > seen in the status bar). > > In fact why not reading that to choose the encoding like it is done > > for the xml encoding detection ? > > Because buffer-local properties are only processed after the file is > loaded. > > Slava > That's right, but I think the encoding property could be processing during the buffer loading don't you ? Of course unless the other properties it would only work if the property is set in the ten first line and not the ten last lines Matthieu |