all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Read-only warning message
Date: Tue, 17 May 2011 18:30:08 +0000 (UTC)	[thread overview]
Message-ID: <877h9pqji6.fsf@mean.albasani.net> (raw)
In-Reply-To: 20110517173413.B874851031E@outside.256.com

sdn.gnuem@mailnull.com writes:

> Hello emacs folks, 
>
> This is not a desperate call for urgent help or
> anything -- this is just something that has bugged me for some time.
>
>     When you make a buffer read-only (via C-x C-q toggle-read-only),
> and the file in the buffer is under version control, you get a
> warning message: "File is under version-control; use C-x v v to
> check in/out".
>
>     Anyone have any idea why? What earthly relevance could the file's
> being under version-control have to my toggling the buffer's
> read-only state?

,----
| commit c97bded566032831e282666899ff847ba58c69a2
| Author: André Spiegel <spiegel@gnu.org>
| Date:   Tue Jul 16 17:40:37 2002 +0000
| 
|     Bind toggle-read-only to C-x C-q.
|     (toggle-read-only): Display a warning message if the file is under
|     version control.
`----

This message has been there for 9 years; pitty there is no hint in
there.

But I just checked: Using view mode displays no warning. 
If the warning bothers you, you may want to consider using it instead.

Memnon




  reply	other threads:[~2011-05-17 18:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 17:34 Read-only warning message sdn.gnuem
2011-05-17 18:30 ` Memnon Anon [this message]
2011-05-17 19:06   ` Perry Smith
  -- strict thread matches above, loose matches on Subject: below --
2011-05-28 11:04 Ben Key

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

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

  git send-email \
    --in-reply-to=877h9pqji6.fsf@mean.albasani.net \
    --to=gegendosenfleisch@googlemail.com \
    --cc=help-gnu-emacs@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.