From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#30103: docstring of read-only-mode doesn't seem to address most simplest case Date: Tue, 17 Apr 2018 22:48:55 +0200 Message-ID: <874lk9h83s.fsf@mouse.gnus.org> References: <8760852qmb.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1523998423 26867 195.159.176.226 (17 Apr 2018 20:53:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2018 20:53:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30103@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 17 22:53:38 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 1f8Xbe-0006sj-GZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 22:53:38 +0200 Original-Received: from localhost ([::1]:33539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8Xdj-0008R4-It for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 16:55:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8XYF-0003mo-1u for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8XYA-0003lw-SA for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8XYA-0003k3-K5 for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8XYA-0005CN-Bf for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 20:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30103-submit@debbugs.gnu.org id=B30103.152399814819897 (code B ref 30103); Tue, 17 Apr 2018 20:50:02 +0000 Original-Received: (at 30103) by debbugs.gnu.org; 17 Apr 2018 20:49:08 +0000 Original-Received: from localhost ([127.0.0.1]:58009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8XXI-0005Ap-7j for submit@debbugs.gnu.org; Tue, 17 Apr 2018 16:49:08 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8XXG-0005Ab-4t for 30103@debbugs.gnu.org; Tue, 17 Apr 2018 16:49:06 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f8XXB-0004PW-Sd; Tue, 17 Apr 2018 22:49:04 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f8XX6-0002jK-4I; Tue, 17 Apr 2018 22:48:56 +0200 In-Reply-To: <8760852qmb.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Sun, 14 Jan 2018 09:09:16 +0800") 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:145524 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > The following docstring > ------------- > read-only-mode is an interactive compiled Lisp function in > =E2=80=98simple.el=E2=80=99. > > It is bound to C-x C-q. > > (read-only-mode &optional ARG) > > Change whether the current buffer is read-only. > With prefix argument ARG, make the buffer read-only if ARG is > positive, otherwise make it writable. > ------------- > doesn't seem to address the case > where one just does > M-x read-only-mode > which indeed makes the buffer read-only. The first line of the doc string says what it does? "Change whether the current buffer is read-only."=20=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no