From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#30685: end-of-file mode should respect read-only mode Date: Wed, 07 Mar 2018 17:58:02 -0500 Message-ID: References: <87371injbh.fsf@jidanni.org> <83sh9hv9v9.fsf@gnu.org> <87po4h0wos.fsf@jidanni.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1520463517 19169 195.159.176.226 (7 Mar 2018 22:58:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2018 22:58:37 +0000 (UTC) Cc: 30685@debbugs.gnu.org To: =?UTF-8?Q?=C3=A7=C2=A9=C2=8D=C3=A4=C2=B8=C2=B9=C3=A5=C2=B0=C2=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 07 23:58:33 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eti0y-0003cf-QL for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Mar 2018 23:58:28 +0100 Original-Received: from localhost ([::1]:35961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eti31-0002j6-Mg for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Mar 2018 18:00:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eti1Y-0001ex-81 for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 17:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eti1X-0000w1-96 for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 17:59:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eti1X-0000vp-6L for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 17:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eti1W-0006G4-RE for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 17:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Mar 2018 22:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30685-submit@debbugs.gnu.org id=B30685.152046349323991 (code B ref 30685); Wed, 07 Mar 2018 22:59:01 +0000 Original-Received: (at 30685) by debbugs.gnu.org; 7 Mar 2018 22:58:13 +0000 Original-Received: from localhost ([127.0.0.1]:49977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eti0j-0006Es-1f for submit@debbugs.gnu.org; Wed, 07 Mar 2018 17:58:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eti0h-0006Ee-Gy for 30685@debbugs.gnu.org; Wed, 07 Mar 2018 17:58:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eti0b-0000De-1l for 30685@debbugs.gnu.org; Wed, 07 Mar 2018 17:58:06 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eti0Y-0000C8-PX; Wed, 07 Mar 2018 17:58:02 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eti0Y-00054a-22; Wed, 07 Mar 2018 17:58:02 -0500 In-reply-to: <87po4h0wos.fsf@jidanni.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144032 [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] In general, modes and settings of a buffer are not part of its contents. The contents of a buffer are the characters and their text properties. I see the manual doesn't state this basic point anywhere, so would someone please install this patch? I think it belongs in the Emacs 26 manual as well as the current manual. diff -u /home/rms/emacs-git/build-nov-15/doc/emacs/buffers.texi.\~1\~ /home/rms/emacs-git/build-nov-15/doc/emacs/buffers.texi --- /home/rms/emacs-git/build-nov-15/doc/emacs/buffers.texi.~1~ 2017-11-09 12:20:47.729828394 -0500 +++ /home/rms/emacs-git/build-nov-15/doc/emacs/buffers.texi 2018-03-07 04:43:40.211708142 -0500 @@ -32,6 +32,12 @@ that window is current. When there are multiple windows, the buffer displayed in the @dfn{selected window} is current. @xref{Windows}. +@cindex buffer contents +@cindex contents of a buffer + A buffer's @dfn{contents} consist of a series of characters, each of +which optionally carries a set of text properties (@pxref{Enriched Text}) +which can specify more information about that character. + Aside from its textual contents, each buffer records several pieces of information, such as what file it is visiting (if any), whether it is modified, and what major mode and minor modes are in effect Diff finished. Wed Mar 7 04:43:48 2018 -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.