Tak Ota wrote:

   Why the hook is executed before the buffer content is ready is beyond
   my knowledge but I believe the clue is outside of table.el code.

It certainly is documented in the default-major-mode docstring:

    When a mode is used by default, `find-file' switches to it
    before it reads the contents into the buffer and before
    it finishes setting up the buffer.  Thus, the mode and
    its hooks should not expect certain variables such as
    `buffer-read-only' and `buffer-file-coding-system' to be set up.

Sincerely,

Luc.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to