|
From: | Kevin Rodgers |
Subject: | Re: the -*-coding: -*- stuff doesn't check for invalid codings |
Date: | Mon, 11 Jul 2005 11:16:09 -0600 |
User-agent: | Mozilla Thunderbird 0.9 (X11/20041105) |
Dan Jacobson wrote:
No error is reported to the user if he uses ;-*-coding: utf8;-*- instead of ;-*-coding: utf-8;-*- I.e., the -*-coding: -*- stuff doesn't check for invalid codings.
Sure it does, it just doesn't report it (see set-auto-coding): (or (coding-system-p coding-system) (setq coding-system nil)) Is (error "Invalid coding system: %s" coding-system) really what we want? -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |