unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Rolf Ade <rolf@pointsman.de>
Cc: 22349@debbugs.gnu.org
Subject: bug#22349: 24.5; Documentation of variable major-mode does not seem to tell the exactly true
Date: Mon, 11 Jan 2016 19:44:47 -0500	[thread overview]
Message-ID: <4poacr7hj4.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87lh7w2ksh.fsf@linux-qg7d.fritz.box> (Rolf Ade's message of "Mon, 11 Jan 2016 16:33:18 +0100")

Rolf Ade wrote:

> The documentation of the variable `major-mode' reads as:
[...]
>     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.

This part of the doc was added in Sep 2004 in 557ca2c1b40.
But then changes to files.el in Aug 2005 in e8f30180f4 mean that it is
no longer applicable, since Emacs 22.1. So I'll simply remove it.
Thanks for the report.





      reply	other threads:[~2016-01-12  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 15:33 bug#22349: 24.5; Documentation of variable major-mode does not seem to tell the exactly true Rolf Ade
2016-01-12  0:44 ` Glenn Morris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4poacr7hj4.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=22349@debbugs.gnu.org \
    --cc=rolf@pointsman.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).