unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 30103@debbugs.gnu.org
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	[thread overview]
Message-ID: <874lk9h83s.fsf@mouse.gnus.org> (raw)
In-Reply-To: <8760852qmb.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sun, 14 Jan 2018 09:09:16 +0800")

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> The following docstring
> -------------
> read-only-mode is an interactive compiled Lisp function in
> ‘simple.el’.
>
> 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."  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2018-04-17 20:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-14  1:09 bug#30103: docstring of read-only-mode doesn't seem to address most simplest case 積丹尼 Dan Jacobson
2018-04-17 20:48 ` Lars Ingebrigtsen [this message]
2018-04-18  0:09   ` 積丹尼 Dan Jacobson

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=874lk9h83s.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=30103@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /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).