> We have encountered a small problem with the ada-mode and emacs 22. > When an Ada file is visited in emacs (in this case, I find this file > with M-x find-tag) and this Ada file is a read-only file, > we see an error message appearing in the mini-buffer/*Messages*: > File mode specification error: (buffer-read-only #) > > After investigation, we see that this error message is produced > by ada-initialize-properties. I've been looking into this and noted that handling syntax-table properties seems completely broken unless done by font-lock. Could you please try the attached patch and tell me whether it gives good results with font-lock-mode enabled _and_ disabled. Thanks.