Scanning for coding declarations in all files (not just source)

2013-01-13 Thread Mark H Weaver
I just discovered that Guile is scanning for coding declarations in *all* files opened with 'open-file', not just source files. For source files, we are scanning for coding declarations twice: once when when the file is opened, and a second time when 'compile-file' or 'primitive-load' explicitly s

Re: Scanning for coding declarations in all files (not just source)

2013-01-13 Thread Mike Gran
> From: Mark H Weaver > To: guile-devel@gnu.org > Cc: Michael Gran > Sent: Sunday, January 13, 2013 10:25 AM > Subject: Scanning for coding declarations in all files (not just source) > Hi Mark, > I just discovered that Guile is scanning for coding declarations in >

Re: Scanning for coding declarations in all files (not just source)

2013-01-15 Thread Ludovic Courtès
Hi, Mark H Weaver skribis: > I just discovered that Guile is scanning for coding declarations in > *all* files opened with 'open-file', not just source files. Yeah, I don’t really like it either. > For source files, we are scanning for coding declarations twice: once > when when the file is op

Re: Scanning for coding declarations in all files (not just source)

2013-01-22 Thread Andy Wingo
On Tue 15 Jan 2013 10:32, l...@gnu.org (Ludovic Courtès) writes: > Mike Gran skribis: > >> Opening a file that contains a coding declaration using an encoding other >> than binary or the coding declared in the file seems like it would be >> something of a corner case.  So, IMHO it makes sense tha