unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 2623@debbugs.gnu.org, Leo <sdl.web@gmail.com>
Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out
Date: Mon, 11 Jul 2011 10:33:35 -0400	[thread overview]
Message-ID: <yxqvcv8lwe8.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m31uxwzzqf.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 11 Jul 2011 15:57:44 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Leo <sdl.web@gmail.com> writes:
>
>> This situation can be improved by a one line change:
>>
>> --- /tmp/emacs/share/emacs/23.0.60/lisp/files.el.gz
>> +++ /tmp/buffer-content-32645B0g
>> @@ -4429,7 +4429,7 @@
>>        (view-mode-enter))
>>       (t (setq buffer-read-only (not buffer-read-only))
>>          (force-mode-line-update)))
>> -    (if (vc-backend buffer-file-name)
>> +    (if (memq (vc-backend buffer-file-name) '(RCS SCCS))
>
> I think this change makes lots of sense, so I've installed it in Emacs
> 24.

It might be a good idea to used a named variable there instead of '(RCS SCCS)
so that other VC backends could add to it.





  reply	other threads:[~2011-07-11 14:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <xbaiy6vdsmeg.fsf@cam.ac.uk>
2009-03-10 16:08 ` bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Stefan Monnier
2009-03-11 12:04   ` Leo
2009-03-11 14:55     ` Stefan Monnier
2009-03-11 16:06       ` Leo
2009-03-12  0:39         ` Stefan Monnier
2009-03-12 18:08           ` Leo
2011-07-11 13:57             ` Lars Magne Ingebrigtsen
2011-07-11 14:33               ` Dan Nicolaescu [this message]
2011-07-11 14:40                 ` Lars Magne Ingebrigtsen
2011-07-11 15:53                   ` Dan Nicolaescu

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=yxqvcv8lwe8.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=2623@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=sdl.web@gmail.com \
    /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).