[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer-read-only is always t at text-mode-hook time
From: |
Richard Stallman |
Subject: |
Re: buffer-read-only is always t at text-mode-hook time |
Date: |
Tue, 17 Aug 2004 21:34:00 -0400 |
I don't know how that could be fixed without moving the call to
set-buffer-major-mode into or after find-file-no-select-1 (which
inserts the file contents into the buffer). If that's not feasible,
should the interaction between default-major-mode and the mode's hook
functions be documented?
Moving the call into after-find-file would fix this, but that kind of
change could easily introduce various other bugs. I don't know of any
specific thing that could fail after this change, but there are many
things that need to be checked to verify they won't sometimes fail.
Does anyone want to study and check them?
Message not available